aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/serializer/validation/element/test.xsd
blob: 7f20008aa15f38e7dcf9890cae7e7858f1da5e93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">

  <complexType name="test-1">
    <sequence>
      <element name="a" type="int" minOccurs="0" maxOccurs="5"/>
      <element name="b" type="int" maxOccurs="unbounded"/>
    </sequence>
  </complexType>

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

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

</schema>