<?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>11250</bug_id>
          
          <creation_ts>2010-11-07 05:12:54 +0000</creation_ts>
          <short_desc>minor editorial improvement : improvements to section &quot;3.7 Model Group Definitions&quot;</short_desc>
          <delta_ts>2010-11-20 03:36:03 +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>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</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>
          
          <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>42219</commentid>
    <comment_count>0</comment_count>
    <who name="Mukul Gandhi">gandhi.mukul</who>
    <bug_when>2010-11-07 05:12:54 +0000</bug_when>
    <thetext>I&apos;m referring to the latest editor&apos;s draft of XML Schema 1.1 spec (ref, http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.omni.20101029.html) and have few suggestions as below to improve slightly the intent of section &quot;3.7.2 XML Representation of Model Group Definition Schema Components&quot;.

1. The title &quot;XML Mapping Summary for Particle Schema Component&quot; might probably be changed to &quot;XML Mapping Summary for Model Group Particle Schema Component&quot;.

(only mention of word &quot;Particle&quot; in the title above confused me a bit, since schema particles of various kinds)

2. The &quot;Note:&quot; section just below the table for &quot;XML Mapping Summary for Particle Schema Component&quot; may be modified from (after the heading of this table is changed to something like as specified in point 1 above):

&lt;old&gt;
The name of this section is slightly misleading, in that the second, un-named, case above (with a ref and no name) is not really a named model group at all, but a reference to one. Also note that in the first (named) case above no reference is made to minOccurs or maxOccurs: this is because the schema for schema documents does not allow them on the child of &lt;group&gt; when it is named. This in turn is because the {min occurs} and {max occurs} of the particles which refer to the definition are what count.
&lt;/old&gt;

TO may be text like follows:

&lt;new&gt;
In the first (named) case above no reference is made to minOccurs or maxOccurs: this is because the schema for schema documents does not allow them as attributes of &lt;group&gt; when it is named. This in turn is because the {min occurs} and {max occurs} of the particles which refer to the definition are what count.
&lt;/new&gt;

i.e readers of the spec are probably confused, when it&apos;s said &quot;The name of this section is *slightly misleading* etc&quot;.

In the cited &lt;old&gt; text above, the phrase &quot;does not allow them on the child of &lt;group&gt; when it is named&quot; appears incorrect (since minOccurs and maxOccurs are not child of &lt;group&gt; but ARE attributes). I believe corrected text should be somewhat like following, &quot;does not allow them as attributes of &lt;group&gt; when it is named&quot; -- which is suggested in the &lt;new&gt; text as above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42220</commentid>
    <comment_count>1</comment_count>
    <who name="Mukul Gandhi">gandhi.mukul</who>
    <bug_when>2010-11-07 05:15:03 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; (only mention of word &quot;Particle&quot; in the title above confused me a bit, since
&gt; schema particles of various kinds)

This should be read as below,

(only mention of word &quot;Particle&quot; in the title above confused me a bit, since schema particles are of various kinds)

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42396</commentid>
    <comment_count>2</comment_count>
    <who name="Mukul Gandhi">gandhi.mukul</who>
    <bug_when>2010-11-10 21:46:31 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; In the cited &lt;old&gt; text above, the phrase &quot;does not allow them on the child of
&gt; &lt;group&gt; when it is named&quot; appears incorrect (since minOccurs and maxOccurs are
&gt; not child of &lt;group&gt; but ARE attributes). I believe corrected text should be
&gt; somewhat like following, &quot;does not allow them as attributes of &lt;group&gt; when it
&gt; is named&quot; -- which is suggested in the &lt;new&gt; text as above.

It seems I&apos;m only inclined to have the above change go into corrections, and I&apos;m requesting my other comments (even the one with request to change heading of the section I pointed to) in this bug report to be canceled.

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42643</commentid>
    <comment_count>3</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2010-11-20 02:28:17 +0000</bug_when>
    <thetext>&gt; Also note that in the first (named) case above no
&gt; reference is made to minOccurs or maxOccurs: this is because the schema for
&gt; schema documents does not allow them on the child of &lt;group&gt; when it is named.

This is indeed correct. The min/maxOccurs attribute are not allowed on the &lt;all/sequence/choice&gt; element under &lt;group&gt;. i.e. the following is not allowed by the schema for schema documents.

&lt;group name=&quot;grp&quot;&gt;
  &lt;sequence maxOccurs=&quot;2&quot;&gt;
    ...
  &lt;/sequence&gt;
&lt;/group&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42649</commentid>
    <comment_count>4</comment_count>
    <who name="Mukul Gandhi">gandhi.mukul</who>
    <bug_when>2010-11-20 03:36:03 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; This is indeed correct. The min/maxOccurs attribute are not allowed on the
&gt; &lt;all/sequence/choice&gt; element under &lt;group&gt;. i.e. the following is not allowed
&gt; by the schema for schema documents.
&gt; 
&gt; &lt;group name=&quot;grp&quot;&gt;
&gt;   &lt;sequence maxOccurs=&quot;2&quot;&gt;
&gt;     ...
&gt;   &lt;/sequence&gt;
&gt; &lt;/group&gt;

Thanks, Sandy for the clarifications (i&apos;m happy). I&apos;m therefore marking this issue as resolved.

Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>