summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/import0_0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/schemas/import0_0.xsd')
-rw-r--r--libxml2/test/schemas/import0_0.xsd21
1 files changed, 21 insertions, 0 deletions
diff --git a/libxml2/test/schemas/import0_0.xsd b/libxml2/test/schemas/import0_0.xsd
new file mode 100644
index 0000000..e973d64
--- /dev/null
+++ b/libxml2/test/schemas/import0_0.xsd
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema targetNamespace="http://example.net/xmlschema"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:ns1="http://example.net/xmlschema"
+ xmlns:ns2="http://example.net/xmlschema2"
+ xmlns="http://example.net/xmlschema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
+
+<xs:import namespace="http://example.net/xmlschema2"
+ schemaLocation="import0_0.imp"/>
+
+<xs:element name="bar">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="foo1" type="ns2:tfoo"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+
+</xs:schema>