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