summaryrefslogtreecommitdiff
path: root/tests/cxx/parser/validation/restriction/test-003.xml
blob: 49f18c788abf8322d817af79b96ebc07fade1296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<t:root xmlns:t="test"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="test test.xsd">

  <!-- valid base but not restriction: sequence maxOccurs="1" -->
  <restriction-a z="z">
    <a>a</a>
    <b>b</b>
    <c>c</c>

    <a>a</a>
    <b>b</b>
    <c>c</c>
  </restriction-a>

</t:root>