Imported Upstream version 2.8.0
[platform/upstream/libxml2.git] / test / schemas / union2_1.xsd
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"  targetNamespace="urn:test:foo">
3   <xsd:element name="ELEMENTS">
4     <xsd:simpleType>
5       <xsd:union>
6         <xsd:simpleType>
7           <xsd:restriction base="xsd:int">
8             <xsd:minInclusive value="10"/>
9             <xsd:maxInclusive value="20"/>
10           </xsd:restriction>
11         </xsd:simpleType>
12         <xsd:simpleType>
13           <xsd:restriction base="xsd:int">
14             <xsd:minInclusive value="30"/>
15             <xsd:maxInclusive value="40"/>
16           </xsd:restriction>
17         </xsd:simpleType>
18       </xsd:union>
19     </xsd:simpleType>
20   </xsd:element>
21 </xsd:schema>