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

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

</t:root>