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

[Bug 2083] R-093: Problem with derivation by restriction and anyAttribute

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Sep 2005 03:19:15 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EDZQ3-0004qU-SF@wiggum.w3.org>

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

           Summary: R-093: Problem with derivation by restriction and
                    anyAttribute
           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 following derivation is valid: 

<xs:complexType name="D">
   <xs:complexContent>
     <xs:restriction base="B">
       <xs:anyAttribute namespace="urn:foo" processContents="skip"/>
     </xs:restriction>
   </xs:complexContent>
</xs:complexType>
but D is not a subset of B. 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0178.html
Received on Friday, 9 September 2005 03:19:20 GMT

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