summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/extension1_0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/schemas/extension1_0.xsd')
-rw-r--r--libxml2/test/schemas/extension1_0.xsd17
1 files changed, 17 insertions, 0 deletions
diff --git a/libxml2/test/schemas/extension1_0.xsd b/libxml2/test/schemas/extension1_0.xsd
new file mode 100644
index 0000000..0a11e14
--- /dev/null
+++ b/libxml2/test/schemas/extension1_0.xsd
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:simpleType name="string255">
+ <xs:restriction base="xs:token">
+ <xs:maxLength value="255"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name="title">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="string255">
+ <xs:attribute name="lang" type="xs:language"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>