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

  <complexType name="any-a">
    <sequence>
      <element name="a" type="string" minOccurs="0"/>
      <any namespace="other" processContents="skip" maxOccurs="unbounded"/>
    </sequence>
    <attribute name="x" type="string"/>
  </complexType>

  <complexType name="type">
    <choice maxOccurs="unbounded">
      <element name="any-a" type="t:any-a"/>
    </choice>
  </complexType>

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

</schema>