summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/ns2_0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/schemas/ns2_0.xsd')
-rw-r--r--libxml2/test/schemas/ns2_0.xsd15
1 files changed, 15 insertions, 0 deletions
diff --git a/libxml2/test/schemas/ns2_0.xsd b/libxml2/test/schemas/ns2_0.xsd
new file mode 100644
index 0000000..9393beb
--- /dev/null
+++ b/libxml2/test/schemas/ns2_0.xsd
@@ -0,0 +1,15 @@
+<schema xmlns:my='http://my.ns/'
+ xmlns='http://www.w3.org/2001/XMLSchema'
+ targetNamespace='http://my.ns/'
+ >
+ <attribute name='other' type='string'/>
+ <element name='my'>
+ <complexType>
+ <simpleContent>
+ <extension base='string'>
+ <attribute ref='my:other'/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ </element>
+</schema>