[Bug 2199] R-207: Question about wildcard restriction

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

           Summary: R-207: Question about wildcard restriction
           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


Is the following restriction valid: 
 
 BASE: 
 <xs:sequence minOccurs="0" maxOccurs="1"> 
   <xs:any namespace="##any" processContents="skip" minOccurs="1" 
maxOccurs="unbounded"/>
 <xs:sequence> 
 
 DERIVED: 
 <xs:sequence minOccurs="0" maxOccurs="1"> 
       <xs:element name="A" minOccurs="1" maxOccurs="unbounded" /> 
       <xs:element name="B" minOccurs="1" maxOccurs="unbounded" /> 
 <xs:sequence>

>From Schema Component Constraint: Particle Derivation OK 
(All:All,Sequence:Sequence -- Recurse)

2 There is a complete order-preserving functional mapping from the particles in 
the {particles} of R to the particles in the {particles} of B such that all of 
the following must be true: ... 

[Definition:] A complete functional mapping is order-preserving if each 
particle r in the domain R maps to a particle b in the range B which follows 
(not necessarily immediately) the particle in the range B mapped to by the 
predecessor of r, if any, where "predecessor" and "follows" are defined with 
respect to the order of the lists which constitute R and B. " 

See the following for Henry's answer and subsequent thread
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0057.html

See also the following related mail: http://lists.w3.org/Archives/Public/www-
xml-schema-comments/2003OctDec/0023.html and 
http://lists.w3.org/Archives/Public/xmlschema-dev/2003Oct/0026.html

And, see the following related mail: http://lists.w3.org/Archives/Public/www-
xml-schema-comments/2004JanMar/0037.html and 
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0044.html

Received on Wednesday, 14 September 2005 19:05:50 UTC