[Bug 18856] New: Should 'particlesK006' be valid for XSD 1.1?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18856

           Summary: Should 'particlesK006' be valid for XSD 1.1?
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Microsoft tests
        AssignedTo: cmsmcq@blackmesatech.com
        ReportedBy: xml.dev@altova.com
         QAContact: public-xml-schema-testsuite@w3.org


In my opinion test 'particlesK006' of set 'MS-Particles2006-07-15' should be
valid for XSD 1.1. This testcase restricts:

<xsd:all minOccurs="0">
  <xsd:element name="a0" minOccurs="0"/>
  <xsd:element name="a1" minOccurs="1" maxOccurs="1"/>
  <xsd:element name="a2" minOccurs="0"/>
</xsd:all>

with:

<xsd:sequence>
  <xsd:element name="a1" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>

So the restriction allows zero or one "a1" elements. Both cases are also valid
in the base (the empty sequence because the all model group has minOccurs="0").

Best regards,
Andreas Meissl

-- 
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 Wednesday, 12 September 2012 15:02:20 UTC