summaryrefslogtreecommitdiff
path: root/tests/morphing/anonymous
diff options
context:
space:
mode:
Diffstat (limited to 'tests/morphing/anonymous')
-rw-r--r--tests/morphing/anonymous/attribute-group/test.xsd31
-rw-r--r--tests/morphing/anonymous/cyclic-inclusion/includee.xsd18
-rw-r--r--tests/morphing/anonymous/cyclic-inclusion/includer.xsd18
-rw-r--r--tests/morphing/anonymous/group/test.xsd29
-rw-r--r--tests/morphing/anonymous/test-000.xsd20
-rw-r--r--tests/morphing/anonymous/unstable/includee-1.xsd12
-rw-r--r--tests/morphing/anonymous/unstable/includee-2.xsd14
-rw-r--r--tests/morphing/anonymous/unstable/includer.xsd18
8 files changed, 0 insertions, 160 deletions
diff --git a/tests/morphing/anonymous/attribute-group/test.xsd b/tests/morphing/anonymous/attribute-group/test.xsd
deleted file mode 100644
index 657be8a..0000000
--- a/tests/morphing/anonymous/attribute-group/test.xsd
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd"
- xmlns="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <!-- Attribute Group that names anonymous type. -->
-
- <xsd:attributeGroup name="gfoo-1">
- <xsd:attribute name="afoo-1">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string"/>
- </xsd:simpleType>
- </xsd:attribute>
- </xsd:attributeGroup>
-
- <xsd:attributeGroup name="gfoo-2">
- <xsd:attributeGroup ref="gfoo-1"/>
- <xsd:attribute name="afoo-2" type="xsd:string"/>
- </xsd:attributeGroup>
-
- <xsd:complexType name="Foo1">
- <xsd:attributeGroup ref="gfoo-1"/>
- </xsd:complexType>
-
- <xsd:complexType name="Foo2">
- <xsd:attributeGroup ref="gfoo-2"/>
- </xsd:complexType>
-
-</xsd:schema>
diff --git a/tests/morphing/anonymous/cyclic-inclusion/includee.xsd b/tests/morphing/anonymous/cyclic-inclusion/includee.xsd
deleted file mode 100644
index 51f7916..0000000
--- a/tests/morphing/anonymous/cyclic-inclusion/includee.xsd
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" ?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd"
- xmlns:t="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <xsd:include schemaLocation="includer.xsd"/>
-
- <xsd:element name="bar">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="t:foo"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
-</xsd:schema>
diff --git a/tests/morphing/anonymous/cyclic-inclusion/includer.xsd b/tests/morphing/anonymous/cyclic-inclusion/includer.xsd
deleted file mode 100644
index 54e6b69..0000000
--- a/tests/morphing/anonymous/cyclic-inclusion/includer.xsd
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" ?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd"
- xmlns:t="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <xsd:include schemaLocation="includee.xsd"/>
-
- <xsd:element name="foo">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
-</xsd:schema>
diff --git a/tests/morphing/anonymous/group/test.xsd b/tests/morphing/anonymous/group/test.xsd
deleted file mode 100644
index 73e07af..0000000
--- a/tests/morphing/anonymous/group/test.xsd
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd"
- xmlns="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <!-- Simple case. -->
-
- <xsd:group name="gfoo">
- <xsd:sequence>
- <xsd:element name="foo-1">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string"/>
- </xsd:simpleType>
- </xsd:element>
- </xsd:sequence>
- </xsd:group>
-
-
- <xsd:complexType name="Foo">
- <xsd:group ref="gfoo"/>
- </xsd:complexType>
-
- <xsd:complexType name="Bar">
- <xsd:group ref="gfoo"/>
- </xsd:complexType>
-
-</xsd:schema>
diff --git a/tests/morphing/anonymous/test-000.xsd b/tests/morphing/anonymous/test-000.xsd
deleted file mode 100644
index ce930d8..0000000
--- a/tests/morphing/anonymous/test-000.xsd
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">
-
- <!-- Test xpath for nested anonymous types. -->
-
- <element name="a">
- <complexType>
- <sequence>
- <element name="b">
- <complexType>
- <sequence>
- <element name="c" type="string"/>
- </sequence>
- </complexType>
- </element>
- </sequence>
- </complexType>
- </element>
-
-</schema>
diff --git a/tests/morphing/anonymous/unstable/includee-1.xsd b/tests/morphing/anonymous/unstable/includee-1.xsd
deleted file mode 100644
index 916816f..0000000
--- a/tests/morphing/anonymous/unstable/includee-1.xsd
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" ?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd"
- xmlns:test="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <xsd:simpleType name="base">
- <xsd:restriction base="xsd:string"/>
- </xsd:simpleType>
-
-</xsd:schema>
diff --git a/tests/morphing/anonymous/unstable/includee-2.xsd b/tests/morphing/anonymous/unstable/includee-2.xsd
deleted file mode 100644
index eb8222c..0000000
--- a/tests/morphing/anonymous/unstable/includee-2.xsd
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd"
- xmlns:test="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <xsd:element name="base">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string"/>
- </xsd:simpleType>
- </xsd:element>
-
-</xsd:schema>
diff --git a/tests/morphing/anonymous/unstable/includer.xsd b/tests/morphing/anonymous/unstable/includer.xsd
deleted file mode 100644
index 4593b5f..0000000
--- a/tests/morphing/anonymous/unstable/includer.xsd
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" ?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd"
- xmlns:Test="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <xsd:include schemaLocation="includee-1.xsd"/>
- <xsd:include schemaLocation="includee-2.xsd"/>
-
- <xsd:simpleType name="derived">
- <xsd:restriction base="Test:base"/>
- </xsd:simpleType>
-
- <xsd:element name="element" type="Test:base"/>
- <xsd:attribute name="attribute" type="Test:base"/>
-
-</xsd:schema>