summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/length2_0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/schemas/length2_0.xsd')
-rw-r--r--libxml2/test/schemas/length2_0.xsd14
1 files changed, 14 insertions, 0 deletions
diff --git a/libxml2/test/schemas/length2_0.xsd b/libxml2/test/schemas/length2_0.xsd
new file mode 100644
index 0000000..76d73c0
--- /dev/null
+++ b/libxml2/test/schemas/length2_0.xsd
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:complexType name="length2">
+ <xs:complexContent>
+ <xs:restriction base="xs:anyType">
+ <xs:sequence>
+ <xs:element name="size" type="xs:nonNegativeInteger"/>
+ <xs:element name="unit" type="xs:NMTOKEN"/>
+ </xs:sequence>
+ </xs:restriction>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="depth" type="length2"/>
+</xs:schema>