summaryrefslogtreecommitdiff
path: root/tests/cxx/tree/union/ctor/test.xsd
blob: 9601093bb15afda9c5154699dfabf22fecf23db2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?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">
    <sequence>
      <element name="a" type="t:int-string-union"/>
    </sequence>
  </complexType>

</schema>