summaryrefslogtreecommitdiff
path: root/tests/schema/ref-type
diff options
context:
space:
mode:
Diffstat (limited to 'tests/schema/ref-type')
-rw-r--r--tests/schema/ref-type/idref.xsd42
-rw-r--r--tests/schema/ref-type/idrefs.xsd43
-rw-r--r--tests/schema/ref-type/invalid-0.xsd17
-rw-r--r--tests/schema/ref-type/invalid-1.xsd11
4 files changed, 0 insertions, 113 deletions
diff --git a/tests/schema/ref-type/idref.xsd b/tests/schema/ref-type/idref.xsd
deleted file mode 100644
index 49ebe40..0000000
--- a/tests/schema/ref-type/idref.xsd
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xse="http://www.codesynthesis.com/xmlns/xml-schema-extension"
- xmlns:test="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <!-- attribute -->
-
- <xsd:attribute name="attribute" type="xsd:IDREF" xse:refType="test:a-author"/>
-
- <xsd:complexType name="a-author">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- </xsd:sequence>
- <xsd:attribute name="recommends" type="xsd:IDREF" xse:refType="test:a-author"/>
- </xsd:complexType>
-
-
- <!-- element -->
-
- <xsd:element name="element" type="xsd:IDREF" xse:refType="test:e-author"/>
-
- <xsd:complexType name="e-author">
- <xsd:sequence>
- <xsd:element name="recommends" type="xsd:IDREF" xse:refType="test:e-author"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <!-- base -->
-
- <xsd:simpleType name="author-ref">
- <xsd:restriction base="xsd:IDREF" xse:refType="test:e-author"/>
- </xsd:simpleType>
-
-
- <!-- itemType -->
-
- <xsd:simpleType name="author-refs">
- <xsd:list itemType="xsd:IDREF" xse:refType="test:e-author"/>
- </xsd:simpleType>
-
-</xsd:schema>
diff --git a/tests/schema/ref-type/idrefs.xsd b/tests/schema/ref-type/idrefs.xsd
deleted file mode 100644
index b68ed03..0000000
--- a/tests/schema/ref-type/idrefs.xsd
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xse="http://www.codesynthesis.com/xmlns/xml-schema-extension"
- xmlns:test="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <!-- attribute -->
-
- <xsd:attribute name="attribute" type="xsd:IDREFS" xse:refType="test:a-author"/>
-
- <xsd:complexType name="a-author">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- </xsd:sequence>
- <xsd:attribute name="recommends" type="xsd:IDREFS" xse:refType="test:a-author"/>
- </xsd:complexType>
-
-
- <!-- element -->
-
- <xsd:element name="element" type="xsd:IDREFS" xse:refType="test:e-author"/>
-
- <xsd:complexType name="e-author">
- <xsd:sequence>
- <xsd:element name="recommends" type="xsd:IDREFS" xse:refType="test:e-author"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <!-- base -->
-
- <xsd:simpleType name="author-refs">
- <xsd:restriction base="xsd:IDREFS" xse:refType="test:e-author"/>
- </xsd:simpleType>
-
-
- <!-- itemType - illegal -->
- <!--
- <xsd:simpleType name="author-refss">
- <xsd:list itemType="xsd:IDREFS" xse:refType="test:e-author"/>
- </xsd:simpleType>
- -->
-
-</xsd:schema>
diff --git a/tests/schema/ref-type/invalid-0.xsd b/tests/schema/ref-type/invalid-0.xsd
deleted file mode 100644
index 7ce82ed..0000000
--- a/tests/schema/ref-type/invalid-0.xsd
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xse="http://www.codesynthesis.com/xmlns/xml-schema-extension"
- xmlns:test="http://www.codesynthesis.com/xmlns/test"
- xmlns:phony="http://www.codesynthesis.com/xmlns/phony"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <!-- unresolvable namespace prefix -->
-
- <xsd:attribute name="attribute1" type="xsd:IDREF" xse:refType="author"/>
- <xsd:attribute name="attribute2" type="xsd:IDREF" xse:refType="t:author"/>
-
- <!-- unresolvable namespace -->
-
- <xsd:attribute name="attribute3" type="xsd:IDREF" xse:refType="phony:author"/>
-
-</xsd:schema>
diff --git a/tests/schema/ref-type/invalid-1.xsd b/tests/schema/ref-type/invalid-1.xsd
deleted file mode 100644
index d989065..0000000
--- a/tests/schema/ref-type/invalid-1.xsd
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xse="http://www.codesynthesis.com/xmlns/xml-schema-extension"
- xmlns:test="http://www.codesynthesis.com/xmlns/test"
- targetNamespace="http://www.codesynthesis.com/xmlns/test">
-
- <!-- unresolvable type -->
-
- <xsd:attribute name="attribute" type="xsd:IDREF" xse:refType="test:author"/>
-
-</xsd:schema>