This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5928 - Content model for xs:schema
Summary: Content model for xs:schema
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: editorial, needsDrafting
Depends on:
Blocks:
 
Reported: 2008-08-05 09:53 UTC by Michael Kay
Modified: 2008-09-26 16:17 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2008-08-05 09:53:00 UTC
The content model for xs:schema is given as

Content: ((include | import | redefine | override | annotation)*, (defaultOpenContent, annotation*)?, (((simpleType | complexType | group | attributeGroup) | element | attribute | notation), annotation*)*)

As far as I can tell the parens around (simpleType | complexType | group | attributeGroup) are completely redundant.

(It's a shame that the annotation elements in this content model can't be described using openContent - it would be possible if a wildcard could define a list of permitted QNames, rather than just a list of forbidden QNames).
Comment 1 David Ezell 2008-09-26 16:17:31 UTC
Covered by the proposal adopted by the WG on 2008-09-26.