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

  <complexType name="content">
    <sequence>
      <element name="a" type="int"/>
    </sequence>
    <attribute name="x" type="int" use="required"/>
  </complexType>

  <complexType name="root">
    <sequence>
      <any namespace="##local" processContents="skip"/>
      <choice maxOccurs="unbounded">
        <any namespace="foo" processContents="skip" maxOccurs="unbounded"/>
        <any namespace="bar" processContents="skip" minOccurs="0"/>
      </choice>
    </sequence>
    <anyAttribute namespace="foo" processContents="skip"/>
    <anyAttribute namespace="##local" processContents="skip"/>
  </complexType>

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

</schema>