summaryrefslogtreecommitdiff
path: root/xsd/tests/schema/list
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-03-06 10:24:11 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-03-06 10:24:11 +0100
commit4538829ab86b5a1cd4e845e7eab165029c9d6d46 (patch)
treebbadf39aed0610c8f8f7b41fefff47773b8ac205 /xsd/tests/schema/list
parent23d41842168ac1a1580111b9c5c73500ceee3d57 (diff)
parentaad5ad9bf0c02aa4e79bc6b7d6c934612fff4026 (diff)
Update upstream source from tag 'upstream/4.2.0'
Update to upstream version '4.2.0' with Debian dir 1b38df7bbcf313223de3c50107ac0255090fe647
Diffstat (limited to 'xsd/tests/schema/list')
-rw-r--r--xsd/tests/schema/list/anonymous/test.xsd16
-rw-r--r--xsd/tests/schema/list/any-simple-type/test.xsd12
-rw-r--r--xsd/tests/schema/list/driver.cxx13
-rw-r--r--xsd/tests/schema/list/test.xsd72
4 files changed, 0 insertions, 113 deletions
diff --git a/xsd/tests/schema/list/anonymous/test.xsd b/xsd/tests/schema/list/anonymous/test.xsd
deleted file mode 100644
index 7db39ba..0000000
--- a/xsd/tests/schema/list/anonymous/test.xsd
+++ /dev/null
@@ -1,16 +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="IntList">
- <xsd:list>
- <xsd:simpleType>
- <xsd:restriction base="xsd:int"/>
- </xsd:simpleType>
- </xsd:list>
- </xsd:simpleType>
-
-</xsd:schema>
diff --git a/xsd/tests/schema/list/any-simple-type/test.xsd b/xsd/tests/schema/list/any-simple-type/test.xsd
deleted file mode 100644
index 29fe95c..0000000
--- a/xsd/tests/schema/list/any-simple-type/test.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="any">
- <xsd:list itemType="xsd:anySimpleType"/>
- </xsd:simpleType>
-
-</xsd:schema>
diff --git a/xsd/tests/schema/list/driver.cxx b/xsd/tests/schema/list/driver.cxx
deleted file mode 100644
index 7bd46e9..0000000
--- a/xsd/tests/schema/list/driver.cxx
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "test.hxx"
-
-typedef xmlns::test::IntList<void, int> IntListImpl;
-typedef xmlns::test::IntList<void, void> IntListVoidImpl;
-typedef xmlns::test::IntComplex<void, int, char*> IntComplexImpl;
-
-int
-main ()
-{
- IntListImpl int_list_impl;
- IntListVoidImpl int_list_void_impl;
- IntComplexImpl int_complex_impl;
-}
diff --git a/xsd/tests/schema/list/test.xsd b/xsd/tests/schema/list/test.xsd
deleted file mode 100644
index e16a58d..0000000
--- a/xsd/tests/schema/list/test.xsd
+++ /dev/null
@@ -1,72 +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="IntList">
- <xsd:list itemType="xsd:int"/>
- </xsd:simpleType>
-
- <!-- local element with anonymous list inside. -->
-
- <xsd:complexType name="Foo">
- <xsd:sequence>
- <xsd:element name="string-list">
- <xsd:simpleType>
- <xsd:list itemType="xsd:string"/>
- </xsd:simpleType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
-
- <!-- global element with anonymous list inside. -->
-
- <xsd:element name="string-list">
- <xsd:simpleType>
- <xsd:list itemType="xsd:string"/>
- </xsd:simpleType>
- </xsd:element>
-
-
-
- <!-- global element and global list with conflicting names -->
-
- <xsd:simpleType name="long-list">
- <xsd:list itemType="xsd:long"/>
- </xsd:simpleType>
-
- <xsd:element name="long-list" type="test:long-list"/>
-
-
- <!-- forward reference -->
-
- <xsd:simpleType name="int-list">
- <xsd:list itemType="test:int"/>
- </xsd:simpleType>
-
- <xsd:simpleType name="int">
- <xsd:restriction base="xsd:int"/>
- </xsd:simpleType>
-
-
- <!-- inheritance from list -->
-
- <xsd:complexType name="IntComplex">
- <xsd:simpleContent>
- <xsd:extension base="test:IntList">
- <xsd:attribute name="foo" type="xsd:string"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
-
- <xsd:complexType name="IntComplexEmpty">
- <xsd:simpleContent>
- <xsd:extension base="test:IntList">
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
-
-</xsd:schema>