aboutsummaryrefslogtreecommitdiff
path: root/tests/processing/inheritance/test-000.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/processing/inheritance/test-000.xsd')
-rw-r--r--tests/processing/inheritance/test-000.xsd22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/processing/inheritance/test-000.xsd b/tests/processing/inheritance/test-000.xsd
new file mode 100644
index 0000000..ef1ef71
--- /dev/null
+++ b/tests/processing/inheritance/test-000.xsd
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">
+
+ <!-- Type base "depends" on itself via e element -->
+
+ <element name="e">
+ <complexType>
+ <complexContent>
+ <extension base="t:base"/>
+ </complexContent>
+ </complexType>
+ </element>
+
+ <complexType name="base">
+ <sequence>
+ <element ref="t:e"/>
+ </sequence>
+ </complexType>
+
+ <element name="root" type="t:base"/>
+
+</schema>