derivation-restriction-anyAttr_0.xsd 594 B

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. elementFormDefault="unqualified">
  4. <xs:element name="foo">
  5. <xs:complexType>
  6. <xs:sequence>
  7. <xs:element name="bar" type="typeA"/>
  8. </xs:sequence>
  9. </xs:complexType>
  10. </xs:element>
  11. <xs:attributeGroup name="attrGrA">
  12. <xs:anyAttribute namespace="##targetNamespace"/>
  13. </xs:attributeGroup>
  14. <xs:complexType name="typeA">
  15. <xs:attributeGroup ref="attrGrA" />
  16. <xs:anyAttribute namespace="##targetNamespace" processContents="lax"/>
  17. </xs:complexType>
  18. </xs:schema>