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 11216 - section 3.8.4.1.3 : non well-formed example
Summary: section 3.8.4.1.3 : non well-formed example
Status: RESOLVED DUPLICATE of bug 9737
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: David Ezell
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 10:15 UTC by Mukul Gandhi
Modified: 2010-11-04 14:37 UTC (History)
2 users (show)

See Also:


Attachments

Description Mukul Gandhi 2010-11-04 10:15:21 UTC
In the latest XSD 1.1 structures draft spec at, http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.omni.20101029.html

the section "3.8.4.1.3 All-groups" describes an XML instance example as follows:

For example, given the model group M

  <xs:all>
    <xs:element name="a" minOccurs="0" maxOccurs="5">
    <xs:element name="b" minOccurs="1" maxOccurs="1">
    <xs:element name="c" minOccurs="0" maxOccurs="5">
    </xs:element>
  </xs:all>

This example is not well-formed. I would suggest this to be corrected as follows:

For example, given the model group M

  <xs:all>
    <xs:element name="a" minOccurs="0" maxOccurs="5" />
    <xs:element name="b" minOccurs="1" maxOccurs="1" />
    <xs:element name="c" minOccurs="0" maxOccurs="5" />   
  </xs:all>
Comment 1 Mukul Gandhi 2010-11-04 10:22:07 UTC
(In reply to comment #0)
> the section "3.8.4.1.3 All-groups" describes an XML instance example as
> follows:

The above should be read as follows.

the section "3.8.4.1.3 All-groups" describes a schema fragment as follows:

Thanks.
Comment 2 Michael Kay 2010-11-04 14:37:15 UTC

*** This bug has been marked as a duplicate of bug 9737 ***