aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/serializer/all/test.xsd
blob: 7d369f5b6b02b53b3aa9be3ee47c203961664eae (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
27
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">

  <complexType name="test-1">
    <all>
      <element name="a" type="int"/>
      <element name="b" type="int" minOccurs="0"/>
    </all>
  </complexType>

  <complexType name="test-2">
    <all minOccurs="0">
      <element name="a" type="int"/>
      <element name="b" type="int"/>
    </all>
  </complexType>

  <complexType name="root">
    <sequence>
      <element name="test-1" type="t:test-1" maxOccurs="unbounded"/>
      <element name="test-2" type="t:test-2" maxOccurs="unbounded"/>
    </sequence>
  </complexType>

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

</schema>