This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2091 - R-101: Issue re: UPA and groups
Summary: R-101: Issue re: UPA and groups
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
: 2076 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-09 03:35 UTC by Sandy Gao
Modified: 2009-04-21 19:24 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-09 03:35:39 UTC
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
Comment 2 Sandy Gao 2005-09-09 03:42:03 UTC
*** Bug 2076 has been marked as a duplicate of this bug. ***