blob: 69e353da53f173e7e5c7bd9532c363782501f222 [file] [log] [blame]
Kasimier T. Buchcikb63d2fa2006-04-19 11:20:49 +00001<?xml version="1.0"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
3 <xs:simpleType name="fooType">
4 <xs:restriction base="xs:string">
5 <xs:enumeration value="a"/>
6 <xs:enumeration value="b"/>
7 <xs:enumeration value="c"/>
8 <xs:enumeration value="d"/>
9 </xs:restriction>
10 </xs:simpleType>
11 <xs:simpleType name="barType">
12 <xs:restriction base="fooType">
13 <xs:enumeration value="a"/>
14 <xs:enumeration value="b"/>
15 <xs:enumeration value="d"/>
16 </xs:restriction>
17 </xs:simpleType>
18 <xs:element name="foo" type="barType" />
19</xs:schema>