This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
"Schema Component Constraint: All Group Limited" states: When a model group has {compositor} "all" all of the following must be true: 1 one of the following must be true: 1.1 It appears as the model group of a model group definition. 1.2 It appears in a particle with {min occurs}={max occurs}=1, and that particle must be part of a pair which constitutes the {content type} of a complex type definition. 2 The {max occurs} of all the particles in the {particles} of the group must be 0 or 1. Consider the following named model group and complex type definitions: <xsd:group name="allGrp"> <xsd:all> <xsd:element name="a"/> <xsd:element name="b"/> </xsd:all> </xsd:group> <xsd:complexType name="t1"> <xsd:sequence> <xsd:element name="c"/> <xsd:group ref="allGrp"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="t2"> <xsd:sequence> <xsd:group ref="allGrp"/> </xsd:sequence> </xsd:complexType> I believe it was intended that "t1" be considered invalid, but it contains a model group which I *think* satisfies constraint 1.1 above (although it violates constraint 1.2). Is "t1" invalid? If so, are there other constraints in Structures which support this? Do we need a clarification for the "All Group Limited" constraint? Is the same true for "t2"? See: http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0462.html
Discussed at the Feb. 7 concall: http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html The WG resolved that both examples are in error, and that the text for "All Group Limited" should be modified to make this clear. See concall minutes for possible rewording. Proposed text at: http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0221/00-R- 67etc.html Discussed and approved with ammendments, at Oct. 24 telecon http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html Erratum E1-26 added