W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2001

Content models differ syntactically but not (?) semantically

From: Mark Ingram <mingram@atreus-systems.com>
Date: Thu, 10 May 2001 11:08:05 -0400
Message-ID: <3AFAAED5.1B753FD4@atreus-systems.com>
To: www-xml-schema-comments@w3.org
I wish to have the difference between the following two content models
clarified.

Taken from the table-section headed
'When the <complexContent> alternative is chosen, the following elements
are relevant ...'
in the table entitled
'XML Representation Summary: complexType Element Information Item'
in section 3.4.2 'XML Representation of Complex Type Definitions:'

<restriction
 base = QName
 id = ID
 {any attributes with non-schema namespace . . .}>
 Content: (annotation?, (group | all | choice | sequence)?, ((attribute
| attributeGroup)*, anyAttribute?))
</restriction>

<extension
 base = QName
 id = ID
 {any attributes with non-schema namespace . . .}>
 Content: (annotation?, ((group | all | choice | sequence)?, ((attribute
| attributeGroup)*, anyAttribute?)))
</extension>

Thank you,
Mark Ingram.
Received on Thursday, 10 May 2001 11:08:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:50 GMT