W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > February 2012

[Bug 15926] mgO001 (minOccurs=maxOccurs=0) valid for XSD1.1?

From: <bugzilla@jessica.w3.org>
Date: Tue, 07 Feb 2012 15:25:14 +0000
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1Rumuw-0006hV-VA@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15926

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> 2012-02-07 15:25:14 UTC ---
Interesting. The XML representation summary has

<all
  id = ID
  maxOccurs = 1 : 1
  minOccurs = (0 | 1) : 1
  {any attributes with non-schema namespace . . .}>
  Content: (annotation?, (element | any | group)*)
</all>

although the S4SD has

       <xs:attribute name="maxOccurs" default="1" use="optional">
          <xs:simpleType>
            <xs:restriction base="xs:allNNI">
              <xs:enumeration value="0"/>
              <xs:enumeration value="1"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>

The spec says that the summary is derived from the S4SD, but in the event of
conflict, the S4SD wins.

-- 
Configure bugmail: https://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, 7 February 2012 15:27:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 7 February 2012 15:27:10 GMT