W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2010

[Bug 11250] minor editorial improvement : improvements to section "3.7 Model Group Definitions"

From: <bugzilla@jessica.w3.org>
Date: Sat, 20 Nov 2010 02:28:17 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1PJdBZ-0006U7-UF@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11250

--- Comment #3 from Sandy Gao <sandygao@ca.ibm.com> 2010-11-20 02:28:17 UTC ---
> 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 <group> when it is named.

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

<group name="grp">
  <sequence maxOccurs="2">
    ...
  </sequence>
</group>

-- 
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 Saturday, 20 November 2010 02:28:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 November 2010 02:28:22 GMT