summaryrefslogtreecommitdiff
path: root/tests/cxx/parser/validation/restriction/test-005.xml
blob: e9ab7d91ce2a5721f24e8b7b7c98f31b576cc806 (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 extension but not restriction: y attribute -->
  <restriction-b>
    <a>a</a>
    <b>b</b>
  </restriction-b>

</t:root>