summaryrefslogtreecommitdiff
path: root/tests/cxx/parser/validation/restriction/test-005.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/parser/validation/restriction/test-005.xml')
-rw-r--r--tests/cxx/parser/validation/restriction/test-005.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/cxx/parser/validation/restriction/test-005.xml b/tests/cxx/parser/validation/restriction/test-005.xml
new file mode 100644
index 0000000..e9ab7d9
--- /dev/null
+++ b/tests/cxx/parser/validation/restriction/test-005.xml
@@ -0,0 +1,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>