<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11216</bug_id>
          
          <creation_ts>2010-11-04 10:15:21 +0000</creation_ts>
          <short_desc>section 3.8.4.1.3 : non well-formed example</short_desc>
          <delta_ts>2010-11-04 14:37:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.1 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9737</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mukul Gandhi">gandhi.mukul</reporter>
          <assigned_to name="David Ezell">David_E3</assigned_to>
          <cc>cmsmcq</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42113</commentid>
    <comment_count>0</comment_count>
    <who name="Mukul Gandhi">gandhi.mukul</who>
    <bug_when>2010-11-04 10:15:21 +0000</bug_when>
    <thetext>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 &quot;3.8.4.1.3 All-groups&quot; describes an XML instance example as follows:

For example, given the model group M

  &lt;xs:all&gt;
    &lt;xs:element name=&quot;a&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;5&quot;&gt;
    &lt;xs:element name=&quot;b&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot;&gt;
    &lt;xs:element name=&quot;c&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;5&quot;&gt;
    &lt;/xs:element&gt;
  &lt;/xs:all&gt;

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

For example, given the model group M

  &lt;xs:all&gt;
    &lt;xs:element name=&quot;a&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;5&quot; /&gt;
    &lt;xs:element name=&quot;b&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; /&gt;
    &lt;xs:element name=&quot;c&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;5&quot; /&gt;   
  &lt;/xs:all&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42115</commentid>
    <comment_count>1</comment_count>
    <who name="Mukul Gandhi">gandhi.mukul</who>
    <bug_when>2010-11-04 10:22:07 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; the section &quot;3.8.4.1.3 All-groups&quot; describes an XML instance example as
&gt; follows:

The above should be read as follows.

the section &quot;3.8.4.1.3 All-groups&quot; describes a schema fragment as follows:

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42128</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-11-04 14:37:15 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 9737 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>