aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/iso8859-1/test.xsd
blob: 242b84af39e4ce34c70ba3bae65c5af28d40e783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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>