W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Sep 2005 03:35:39 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EDZfv-0005Rr-Gp@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:09 GMT