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

  <!-- valid extension but not restriction: a element -->
  <restriction-b y="y">
    <b>b</b>
  </restriction-b>

</t:root>