aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/parser/error-handling/exceptions/test.xsd
blob: 6850342731568b413476a5bb8d2af26282eeef78 (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="person">
    <sequence>
      <element name="age" type="int"/>
    </sequence>
    <attribute name="id" type="string" use="required"/>
  </complexType>

  <complexType name="type">
    <sequence>
      <element name="person" type="t:person" maxOccurs="unbounded"/>
    </sequence>
  </complexType>

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

</schema>