This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2083 - R-093: Problem with derivation by restriction and anyAttribute
Summary: R-093: Problem with derivation by restriction and anyAttribute
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 03:19 UTC by Sandy Gao
Modified: 2009-04-21 19:24 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-09 03:19:15 UTC
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
Comment 1 Sandy Gao 2005-09-09 03:21:06 UTC
Henry's response:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0180.html

E1-49 added.