1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns="http://FOO" targetNamespace="http://FOO">
5 <xs:element name="foo">
8 <xs:extension base="typeA">
9 <xs:attribute name="barA_2" type="xs:string" use="required"/>
10 <xs:attribute name="barA_1" type="xs:string" use="prohibited"/>
16 <xs:complexType name="typeA">
17 <xs:attribute name="barA_1" type="xs:string" use="required"/>