summaryrefslogtreecommitdiff
path: root/tests/cxx/tree/types-only/test.xsd
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-18 18:48:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-02-25 13:45:48 +0300
commit5e527213a2430bb3018e5eebd909aef294edf9b5 (patch)
tree94de33c82080b53d9a9e300170f6d221d89078f4 /tests/cxx/tree/types-only/test.xsd
parent7420f85ea19b0562ffdd8123442f32bc8bac1267 (diff)
Switch to build2
Diffstat (limited to 'tests/cxx/tree/types-only/test.xsd')
-rw-r--r--tests/cxx/tree/types-only/test.xsd52
1 files changed, 0 insertions, 52 deletions
diff --git a/tests/cxx/tree/types-only/test.xsd b/tests/cxx/tree/types-only/test.xsd
deleted file mode 100644
index 9f02240..0000000
--- a/tests/cxx/tree/types-only/test.xsd
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">
-
- <simpleType name="color-enum">
- <restriction base="token">
- <enumeration value="red"/>
- <enumeration value="green"/>
- <enumeration value="blue"/>
- </restriction>
- </simpleType>
-
- <simpleType name="red-blue-enum">
- <restriction base="t:color-enum">
- <enumeration value="red"/>
- <enumeration value="blue"/>
- </restriction>
- </simpleType>
-
- <simpleType name="long-string-union">
- <union memberTypes="long string"/>
- </simpleType>
-
- <simpleType name="string-list">
- <list itemType="string"/>
- </simpleType>
-
- <complexType name="complex-type">
- <sequence>
- <element name="a" type="string"/>
- </sequence>
- <attribute name="text" type="string" use="required"/>
- <attribute name="color" type="t:color-enum" use="required"/>
- <attribute name="ftext" type="string" fixed="foo"/>
- <attribute name="dcolor" type="t:color-enum" default="red"/>
- </complexType>
-
- <!-- Test that we do not perform type/element name conflict resolution
- as well as print any warnings. -->
- <element name="type" type="string"/>
-
- <!-- Test that we generate anonymous type for global element. -->
- <element name="anon">
- <complexType>
- <sequence>
- <element name="a" type="string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="root" type="t:complex-type"/>
-
-</schema>