summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd')
-rw-r--r--libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd30
1 files changed, 30 insertions, 0 deletions
diff --git a/libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd b/libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd
new file mode 100644
index 0000000..9d3fabf
--- /dev/null
+++ b/libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://FOO" xmlns:foo="http://FOO">
+
+ <element name="foo" type="foo:type.A"/>
+
+ <simpleType name="type.A">
+ <restriction>
+ <simpleType>
+ <list itemType="integer"/>
+ </simpleType>
+ <length value="3"/>
+ </restriction>
+ </simpleType>
+
+ <!--restriction base="foo:type.base.A">
+
+ </restriction-->
+
+ <simpleType name="type.base.A">
+ <restriction>
+ <simpleType>
+ <list itemType="integer"/>
+ </simpleType>
+ </restriction>
+ </simpleType>
+
+
+
+</schema>