summaryrefslogtreecommitdiff
path: root/xsd/tests/schema/cardinality
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-03-06 10:24:46 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-03-06 10:24:46 +0100
commit372a0e99c2f61543d9e14d9933b59d9d1f4cb26e (patch)
treebbadf39aed0610c8f8f7b41fefff47773b8ac205 /xsd/tests/schema/cardinality
parent23d41842168ac1a1580111b9c5c73500ceee3d57 (diff)
parent4538829ab86b5a1cd4e845e7eab165029c9d6d46 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'xsd/tests/schema/cardinality')
-rw-r--r--xsd/tests/schema/cardinality/test.xsd46
1 files changed, 0 insertions, 46 deletions
diff --git a/xsd/tests/schema/cardinality/test.xsd b/xsd/tests/schema/cardinality/test.xsd
deleted file mode 100644
index b27f923..0000000
--- a/xsd/tests/schema/cardinality/test.xsd
+++ /dev/null
@@ -1,46 +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">
-
- <!--
- This test tries to cover various cardinality cases with
- built-in and user-defined types.
- -->
-
- <xsd:complexType name="Foo">
- <xsd:sequence>
- <xsd:element name="foo" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Bar">
- <xsd:sequence>
-
- <xsd:element name="one-int" type="xsd:int"/>
- <xsd:element name="opt-int" type="xsd:int" minOccurs="0"/>
- <xsd:element name="seq-int" type="xsd:int" maxOccurs="unbounded"/>
-
- <xsd:element name="one-string" type="xsd:string"/>
- <xsd:element name="opt-string" type="xsd:string" minOccurs="0"/>
- <xsd:element name="seq-string" type="xsd:string" maxOccurs="unbounded"/>
-
- <xsd:element name="one-foo" type="test:Foo"/>
- <xsd:element name="opt-foo" type="test:Foo" minOccurs="0"/>
- <xsd:element name="seq-foo" type="test:Foo" maxOccurs="unbounded"/>
-
- </xsd:sequence>
-
- <xsd:attribute name="one-int-a" type="xsd:int" use="required"/>
- <xsd:attribute name="opt-int-a" type="xsd:int"/>
-
- <xsd:attribute name="one-string-a" type="xsd:string" use="required"/>
- <xsd:attribute name="opt-string-a" type="xsd:string"/>
-
- </xsd:complexType>
-
- <xsd:element name="bar" type="test:Bar"/>
-
-</xsd:schema>