Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Documentation
Documentation [message #57979] Tue, 22 February 2005 17:14 Go to next message
Eclipse UserFriend
Originally posted by: Jie.N.caramail.com

Hi everybody,

I have read several documentations and UML Diagrams but everything is not
clear so I am looking for a piece of advice to help me working with the
XML Schema Infoset Model. A documentation explaining what's a particle, a
term, because I have some difficulties working with the Infoset Model when
things become touchy. Like definition of complex type with complex content
or getting the annotations of an element in a sequence...

Thanks by advance.
Re: Documentation [message #58005 is a reply to message #57979] Tue, 22 February 2005 18:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Jie,

There is no hidden documentation so what you see is all there is. The
model very closely mirrors what's describe in the spec, but that's not
exactly a source of readable documentation. It might still help to read
the section about particles so that you can ask more specific questions.


Jie Nao wrote:

> Hi everybody,
>
> I have read several documentations and UML Diagrams but everything is
> not clear so I am looking for a piece of advice to help me working
> with the XML Schema Infoset Model. A documentation explaining what's a
> particle, a term, because I have some difficulties working with the
> Infoset Model when things become touchy. Like definition of complex
> type with complex content or getting the annotations of an element in
> a sequence...
>
> Thanks by advance.
Re: Documentation [message #58029 is a reply to message #58005] Wed, 23 February 2005 09:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Jie.N.caramail.com

Ed,

Thanks for helping me. I think I understood what a
XSDComplexTypeDefinition is made of.

If the contentTypeCategory is mixed,
Get the particle and its term may be of three kinds
-XSDModelGroup
-XSDElementDeclaration
-XSDWildCard
With this, you can work with complexType defined with sequence, choice and
elements within.

I suppose for a complexType defined with a simpleContent, you do something
like this:

case XSDContentTypeCategory.SIMPLE:
{
XSDSimpleTypeDefinition xsdSimpleTypeDefinition =
(XSDSimpleTypeDefinition)type.getContentType();
and you play with the simpleType

But if the complexType is defined with a complexContent.
Is there something to handle this kind of declaration?

Could you tell me more about the XML Schema Infoset Model Development Team?
How many members? Full time working? How to participate?
Maybe that's not the good place for these questions...

Ed Merks wrote:

> Jie,

> There is no hidden documentation so what you see is all there is. The
> model very closely mirrors what's describe in the spec, but that's not
> exactly a source of readable documentation. It might still help to read
> the section about particles so that you can ask more specific questions.


> Jie Nao wrote:

>> Hi everybody,
>>
>> I have read several documentations and UML Diagrams but everything is
>> not clear so I am looking for a piece of advice to help me working
>> with the XML Schema Infoset Model. A documentation explaining what's a
>> particle, a term, because I have some difficulties working with the
>> Infoset Model when things become touchy. Like definition of complex
>> type with complex content or getting the annotations of an element in
>> a sequence...
>>
>> Thanks by advance.
Re: Documentation [message #58054 is a reply to message #58029] Wed, 23 February 2005 12:04 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------030303080406020602020203
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Jie,

For a complex type definition with complex content (mixed or not), the
content type will be a particle with a model group that in turn has more
particles with model groups, elements, and wildcards. (The point being
that the top level particle will always have a model group as the term.)

The committers for the XSD project are listed here:

http://www.eclipse.org/technology/commit.html

I'm effectively the only person maintaining XSD as one of my part time
jobs. The team's full time jobs are focused on EMF/SDO development.
Right now there is essentially no new development work on XSD; the code
base is very stable. Contribution of interesting utilities would be
most welcome. EMF corner is a good place to share your work with others...


Jie Nao wrote:

> Ed,
>
> Thanks for helping me. I think I understood what a
> XSDComplexTypeDefinition is made of.
>
> If the contentTypeCategory is mixed,
> Get the particle and its term may be of three kinds
> -XSDModelGroup
> -XSDElementDeclaration
> -XSDWildCard
> With this, you can work with complexType defined with sequence, choice
> and elements within.
>
> I suppose for a complexType defined with a simpleContent, you do
> something like this:
>
> case XSDContentTypeCategory.SIMPLE:
> {
> XSDSimpleTypeDefinition xsdSimpleTypeDefinition =
> (XSDSimpleTypeDefinition)type.getContentType(); and you
> play with the simpleType
>
> But if the complexType is defined with a complexContent.
> Is there something to handle this kind of declaration?
>
> Could you tell me more about the XML Schema Infoset Model Development
> Team?
> How many members? Full time working? How to participate?
> Maybe that's not the good place for these questions...
> Ed Merks wrote:
>
>> Jie,
>
>
>> There is no hidden documentation so what you see is all there is.
>> The model very closely mirrors what's describe in the spec, but
>> that's not exactly a source of readable documentation. It might
>> still help to read the section about particles so that you can ask
>> more specific questions.
>
>
>
>> Jie Nao wrote:
>
>
>>> Hi everybody,
>>>
>>> I have read several documentations and UML Diagrams but everything
>>> is not clear so I am looking for a piece of advice to help me
>>> working with the XML Schema Infoset Model. A documentation
>>> explaining what's a particle, a term, because I have some
>>> difficulties working with the Infoset Model when things become
>>> touchy. Like definition of complex type with complex content or
>>> getting the annotations of an element in a sequence...
>>>
>>> Thanks by advance.
>>
>
>


--------------030303080406020602020203
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Jie,<br>
<br>
For a complex type definition with complex content (mixed or not), the
content type will be a particle with a model group that in turn has
more particles with model groups, elements, and wildcards. (The point
being that the top level particle will always have a model group as the
term.) <br>
<br>
The committers for the XSD project are listed here:<br>
<blockquote><a href="http://www.eclipse.org/technology/commit.html">http://www.eclipse.org/technology/commit.html</a><br>
</blockquote>
I'm effectively the only person maintaining XSD as one of my part time
jobs.
Re: Documentation [message #594176 is a reply to message #57979] Tue, 22 February 2005 18:41 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33205
Registered: July 2009
Senior Member
Jie,

There is no hidden documentation so what you see is all there is. The
model very closely mirrors what's describe in the spec, but that's not
exactly a source of readable documentation. It might still help to read
the section about particles so that you can ask more specific questions.


Jie Nao wrote:

> Hi everybody,
>
> I have read several documentations and UML Diagrams but everything is
> not clear so I am looking for a piece of advice to help me working
> with the XML Schema Infoset Model. A documentation explaining what's a
> particle, a term, because I have some difficulties working with the
> Infoset Model when things become touchy. Like definition of complex
> type with complex content or getting the annotations of an element in
> a sequence...
>
> Thanks by advance.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Documentation [message #594187 is a reply to message #58005] Wed, 23 February 2005 09:49 Go to previous message
Eclipse UserFriend
Originally posted by: Jie.N.caramail.com

Ed,

Thanks for helping me. I think I understood what a
XSDComplexTypeDefinition is made of.

If the contentTypeCategory is mixed,
Get the particle and its term may be of three kinds
-XSDModelGroup
-XSDElementDeclaration
-XSDWildCard
With this, you can work with complexType defined with sequence, choice and
elements within.

I suppose for a complexType defined with a simpleContent, you do something
like this:

case XSDContentTypeCategory.SIMPLE:
{
XSDSimpleTypeDefinition xsdSimpleTypeDefinition =
(XSDSimpleTypeDefinition)type.getContentType();
and you play with the simpleType

But if the complexType is defined with a complexContent.
Is there something to handle this kind of declaration?

Could you tell me more about the XML Schema Infoset Model Development Team?
How many members? Full time working? How to participate?
Maybe that's not the good place for these questions...

Ed Merks wrote:

> Jie,

> There is no hidden documentation so what you see is all there is. The
> model very closely mirrors what's describe in the spec, but that's not
> exactly a source of readable documentation. It might still help to read
> the section about particles so that you can ask more specific questions.


> Jie Nao wrote:

>> Hi everybody,
>>
>> I have read several documentations and UML Diagrams but everything is
>> not clear so I am looking for a piece of advice to help me working
>> with the XML Schema Infoset Model. A documentation explaining what's a
>> particle, a term, because I have some difficulties working with the
>> Infoset Model when things become touchy. Like definition of complex
>> type with complex content or getting the annotations of an element in
>> a sequence...
>>
>> Thanks by advance.
Re: Documentation [message #594195 is a reply to message #58029] Wed, 23 February 2005 12:04 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33205
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030303080406020602020203
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Jie,

For a complex type definition with complex content (mixed or not), the
content type will be a particle with a model group that in turn has more
particles with model groups, elements, and wildcards. (The point being
that the top level particle will always have a model group as the term.)

The committers for the XSD project are listed here:

http://www.eclipse.org/technology/commit.html

I'm effectively the only person maintaining XSD as one of my part time
jobs. The team's full time jobs are focused on EMF/SDO development.
Right now there is essentially no new development work on XSD; the code
base is very stable. Contribution of interesting utilities would be
most welcome. EMF corner is a good place to share your work with others...


Jie Nao wrote:

> Ed,
>
> Thanks for helping me. I think I understood what a
> XSDComplexTypeDefinition is made of.
>
> If the contentTypeCategory is mixed,
> Get the particle and its term may be of three kinds
> -XSDModelGroup
> -XSDElementDeclaration
> -XSDWildCard
> With this, you can work with complexType defined with sequence, choice
> and elements within.
>
> I suppose for a complexType defined with a simpleContent, you do
> something like this:
>
> case XSDContentTypeCategory.SIMPLE:
> {
> XSDSimpleTypeDefinition xsdSimpleTypeDefinition =
> (XSDSimpleTypeDefinition)type.getContentType(); and you
> play with the simpleType
>
> But if the complexType is defined with a complexContent.
> Is there something to handle this kind of declaration?
>
> Could you tell me more about the XML Schema Infoset Model Development
> Team?
> How many members? Full time working? How to participate?
> Maybe that's not the good place for these questions...
> Ed Merks wrote:
>
>> Jie,
>
>
>> There is no hidden documentation so what you see is all there is.
>> The model very closely mirrors what's describe in the spec, but
>> that's not exactly a source of readable documentation. It might
>> still help to read the section about particles so that you can ask
>> more specific questions.
>
>
>
>> Jie Nao wrote:
>
>
>>> Hi everybody,
>>>
>>> I have read several documentations and UML Diagrams but everything
>>> is not clear so I am looking for a piece of advice to help me
>>> working with the XML Schema Infoset Model. A documentation
>>> explaining what's a particle, a term, because I have some
>>> difficulties working with the Infoset Model when things become
>>> touchy. Like definition of complex type with complex content or
>>> getting the annotations of an element in a sequence...
>>>
>>> Thanks by advance.
>>
>
>


--------------030303080406020602020203
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Jie,<br>
<br>
For a complex type definition with complex content (mixed or not), the
content type will be a particle with a model group that in turn has
more particles with model groups, elements, and wildcards. (The point
being that the top level particle will always have a model group as the
term.) <br>
<br>
The committers for the XSD project are listed here:<br>
<blockquote><a href="http://www.eclipse.org/technology/commit.html">http://www.eclipse.org/technology/commit.html</a><br>
</blockquote>
I'm effectively the only person maintaining XSD as one of my part time
jobs.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Documentation
Next Topic:How to set maxOccurs and minOccurs in a named model group
Goto Forum:
  


Current Time: Sun Sep 01 02:21:06 GMT 2024

Powered by FUDForum. Page generated in 0.03625 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top