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 2090 - R-100: Issue re: description of overlapping for UPA, Appendix H
Summary: R-100: Issue re: description of overlapping for UPA, Appendix H
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:
Depends on:
Blocks:
 
Reported: 2005-09-09 03:34 UTC by Sandy Gao
Modified: 2009-04-21 19:24 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-09 03:34:10 UTC
The definition of overlapping in appendix H states:

"They are both element declaration particles one of which is in the other's 
substitution group." 
Shouldn't it state: 

"They are both element declaration particles one of which has the same name and 
target namespace as an element declaration in the other's substitution group." 
Consider the following declarations:

<element name="e1"/>
<element name="e2" substitutionGroup="e1"/>

<choice>
  <element ref="e1"/>
  <element name="e2" form="qualified"/>
</choice>
"e2" in the choice is not in the substitution group of "e1" (because "e2" is 
locally declared). But the example above still violates UPA, because for an 
element "e2", we don't know which particle to use for validation.

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0126.html
Comment 1 Sandy Gao 2005-09-09 03:34:44 UTC
Henry's response:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0128.html

Resolution:
Discussed at the Feb. 7 concall:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html 

The WG agrees with the commentator's proposed changes. Henry to draft erratum.

Draft errata posted at:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html 

Discussed and approved with an ammendment, at Oct. f2f. See: 
http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes 

Erratum E1-31 added