[Bug 2090] R-100: Issue re: description of overlapping for UPA, Appendix H

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

           Summary: R-100: Issue re: description of overlapping for UPA,
                    Appendix H
           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


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

Received on Friday, 9 September 2005 03:34:16 UTC