[Bug 5928] New: Content model for xs:schema

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5928

           Summary: Content model for xs:schema
           Product: XML Schema
           Version: 1.1 only
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: mike@saxonica.com
         QAContact: www-xml-schema-comments@w3.org


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).


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 5 August 2008 09:53:36 UTC