mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
36 lines
1.1 KiB
XML
36 lines
1.1 KiB
XML
![]() |
<?xml version="1.0"?>
|
||
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||
|
elementFormDefault="unqualified"
|
||
|
attributeFormDefault="unqualified">
|
||
|
<xsd:annotation>
|
||
|
<xsd:documentation xml:lang="en">
|
||
|
Testing hexBinary data types
|
||
|
</xsd:documentation>
|
||
|
</xsd:annotation>
|
||
|
<xsd:element name="xsd_hexBinary">
|
||
|
<xsd:complexType>
|
||
|
<xsd:sequence>
|
||
|
<xsd:choice minOccurs="1" maxOccurs="unbounded">
|
||
|
<xsd:element name="hex" type="xsd:hexBinary"/>
|
||
|
<xsd:element name="hex2">
|
||
|
<xsd:simpleType>
|
||
|
<xsd:restriction base="xsd:hexBinary">
|
||
|
<xsd:maxLength value="8"/>
|
||
|
<xsd:minLength value="1"/>
|
||
|
</xsd:restriction>
|
||
|
</xsd:simpleType>
|
||
|
</xsd:element>
|
||
|
<xsd:element name="hex3">
|
||
|
<xsd:simpleType>
|
||
|
<xsd:restriction base="xsd:hexBinary">
|
||
|
<xsd:length value="2"/>
|
||
|
</xsd:restriction>
|
||
|
</xsd:simpleType>
|
||
|
</xsd:element>
|
||
|
</xsd:choice>
|
||
|
</xsd:sequence>
|
||
|
</xsd:complexType>
|
||
|
</xsd:element>
|
||
|
</xsd:schema>
|
||
|
|