[Bug 2068] R-078: Issue to do with definition of substitution groups, block, and UPA

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

           Summary: R-078: Issue to do with definition of substitution
                    groups, block, and UPA
           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


Consider the following example: 

<element name="e1" block="substitution"/>
<element name="e2" substitutionGroup="s:e1"/>

<complexType name="t">
<choice>
  <element ref="s:e1"/>
  <element ref="s:e2"/>
</choice>
</complexType>
The choice violates the constraints for UPA, because "e2" is in "e1"'s 
substitution group. However, "e2" can never substitute "e1". 

Should the definition of substitution group (Schema Component Constraint: 
Substitution Group) be modified? 

See bullet 1 from:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0049.html

Received on Friday, 9 September 2005 02:58:48 UTC