aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/reorder/test.xsd
blob: 1b610ccc9e572b169e5f06665d00851a79f73d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">

  <complexType name="container">
    <sequence>
      <element name="c" type="t:member"/>
      <element name="d" type="t:member" minOccurs="0"/>
    </sequence>
  </complexType>

  <complexType name="member">
    <sequence>
      <element name="a" type="int" minOccurs="0"/>
      <element name="b" type="boolean"/>
    </sequence>
  </complexType>

  <simpleType name="list">
    <list itemType="t:item"/>
  </simpleType>

  <simpleType name="item">
    <restriction base="int"/>
  </simpleType>

</schema>