[Bug 2091] R-101: Issue re: UPA and groups

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

           Summary: R-101: Issue re: UPA and groups
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 1: Structures
        AssignedTo: ht@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


Does the following choice violate UPA?

   <group name="grp">
     <sequence>
       <element name="e"/>
     </sequence>
   </group>
 
   <choice>
     <group ref="grp"/>
     <group ref="grp" maxOccurs="3"/>
   </choice>
"Schema Component Constraint: Unique Particle Attribution" states:

A content model must be formed such that during validation of an element 
information item sequence, the particle contained directly, indirectly or 
implicitly therein with which to attempt to validate each item in the sequence 
in turn can be uniquely determined without examining the content or attributes 
of that item, and without any information about the items in the remainder of 
the sequence. 
In the constraint above, what does "particle ... can be uniquely determined" 
mean? 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0072.html

Received on Friday, 9 September 2005 03:35:42 UTC