xref: /aosp_15_r20/external/libxml2/test/schemas/derivation-ok-extension-err_0.xsd (revision 7c5688314b92172186c154356a6374bf7684c3ca)
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">
4
5	<xs:element name="foo">
6		<xs:complexType>
7			<xs:complexContent>
8				<xs:extension base="typeA">
9					<xs:attribute name="barA_1" type="xs:string"  use="optional"/>
10					<xs:attribute name="barA_2" type="xs:string"  use="required"/>
11				</xs:extension>
12			</xs:complexContent>
13		</xs:complexType>
14	</xs:element>
15
16	<xs:complexType name="typeA">
17		<xs:attribute name="barA_1" type="xs:string" use="required"/>
18	</xs:complexType>
19
20</xs:schema>
21
22
23