[Bug 11216] New: section 3.8.4.1.3 : non well-formed example

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

           Summary: section 3.8.4.1.3 : non well-formed example
           Product: XML Schema
           Version: 1.1 only
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: gandhi.mukul@gmail.com
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


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>

-- 
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 Thursday, 4 November 2010 10:15:23 UTC