Annotation of embedaddon/libxml2/test/schemas/bug141333.xsd, revision 1.1.1.1
1.1 misho 1: <?xml version="1.0" encoding="ISO-8859-1"?>
2: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified">
3:
4: <xs:element name="foo" type="baseType"/>
5:
6: <xs:complexType name="baseType">
7: <xs:all>
8: <xs:element name="bar" type="derivedType" minOccurs="0"/>
9: </xs:all>
10: <xs:attribute name="attrA" type="xs:string" use="required"/>
11: </xs:complexType>
12:
13: <xs:complexType name="derivedType">
14: <xs:complexContent>
15: <xs:extension base="baseType">
16: <xs:attribute name="attrB" type="xs:string" use="required"/>
17: </xs:extension>
18: </xs:complexContent>
19: </xs:complexType>
20:
21: </xs:schema>
22:
23:
24:
25:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>