un.real <battal84@gmail.com>:
[reactos.git] / reactos / lib / libxml2 / test / schemas / hexbinary_0.xsd
1 <?xml version="1.0"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3 elementFormDefault="unqualified"
4 attributeFormDefault="unqualified">
5 <xsd:annotation>
6 <xsd:documentation xml:lang="en">
7 Testing hexBinary data types
8 </xsd:documentation>
9 </xsd:annotation>
10 <xsd:element name="xsd_hexBinary">
11 <xsd:complexType>
12 <xsd:sequence>
13 <xsd:choice minOccurs="1" maxOccurs="unbounded">
14 <xsd:element name="hex" type="xsd:hexBinary"/>
15 <xsd:element name="hex2">
16 <xsd:simpleType>
17 <xsd:restriction base="xsd:hexBinary">
18 <xsd:maxLength value="8"/>
19 <xsd:minLength value="1"/>
20 </xsd:restriction>
21 </xsd:simpleType>
22 </xsd:element>
23 <xsd:element name="hex3">
24 <xsd:simpleType>
25 <xsd:restriction base="xsd:hexBinary">
26 <xsd:length value="2"/>
27 </xsd:restriction>
28 </xsd:simpleType>
29 </xsd:element>
30 </xsd:choice>
31 </xsd:sequence>
32 </xsd:complexType>
33 </xsd:element>
34 </xsd:schema>
35