aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/iso8859-1/test.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/hybrid/iso8859-1/test.xsd')
-rw-r--r--tests/cxx/hybrid/iso8859-1/test.xsd23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/cxx/hybrid/iso8859-1/test.xsd b/tests/cxx/hybrid/iso8859-1/test.xsd
new file mode 100644
index 0000000..242b84a
--- /dev/null
+++ b/tests/cxx/hybrid/iso8859-1/test.xsd
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">
+
+ <simpleType name="strenum">
+ <restriction base="string">
+ <enumeration value="abc"/>
+ <enumeration value="a&#xE2;c"/>
+ <enumeration value="&#xE2;&#xF2;bc"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="type">
+ <sequence>
+ <element name="a" type="string" maxOccurs="unbounded"/>
+ <element name="b" type="t:strenum" maxOccurs="unbounded"/>
+ <element name="element_name_with_special_char_&#xE2;" type="string"/>
+ </sequence>
+ <attribute name="x" type="string"/>
+ </complexType>
+
+ <element name="root" type="t:type"/>
+
+</schema>