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 18856 - Should 'particlesK006' be valid for XSD 1.1?
Summary: Should 'particlesK006' be valid for XSD 1.1?
Status: NEW
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: Microsoft tests (show other bugs)
Version: 2006-11-06
Hardware: All Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-12 15:02 UTC by Altova XML Developers
Modified: 2012-12-04 00:52 UTC (History)
0 users

See Also:


Attachments

Description Altova XML Developers 2012-09-12 15:02:09 UTC
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