summaryrefslogtreecommitdiff
path: root/tests/cxx/parser/union/test.xsd
blob: 5bf3d47b078f996b1852047e7b745f9b364a9ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">

  <simpleType name="int-string-union">
    <union memberTypes="int string"/>
  </simpleType>

  <complexType name="type">
    <choice maxOccurs="unbounded">
      <element name="int-string-union" type="t:int-string-union"/>
    </choice>
  </complexType>

  <element name="root" type="t:type"/>

</schema>