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

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Sep 2005 03:34:10 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EDZeU-0005O5-It@wiggum.w3.org>

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 GMT

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