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

  <complexType name="test">
    <sequence>
      <element name="a" type="int"/>
      <element name="b" type="int" minOccurs="0"/>
      <element name="c" type="int" maxOccurs="unbounded"/>
    </sequence>
    <attribute name="x" type="int"/>
    <attribute name="y" type="int" use="required"/>
  </complexType>

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

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

</schema>