summaryrefslogtreecommitdiff
path: root/xsd/tests/cxx/parser/validation/restriction/test-000.xml
blob: 21402b4fda96a5a23bfb1b8ff0b392b84bbe3140 (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
26
27
28
29
30
31
<t:root xmlns:t="test"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="test test.xsd">

  <restriction-a z="z">
    <a>a</a>
    <b>b</b>
    <c>c</c>
  </restriction-a>

  <restriction-a x="x" y="y" z="z">
    <a>a</a>
    <b>b</b>
    <c>c</c>
  </restriction-a>

  <restriction-b y="y">
    <a>a</a>
    <b>b</b>
  </restriction-b>

  <restriction-b y="y">
    <a>a</a>
    <c>c</c>
  </restriction-b>

  <restriction-b x="x" y="y">
    <a>a</a>
  </restriction-b>

</t:root>