summaryrefslogtreecommitdiff
path: root/xsd/tests/cxx/parser/validation/restriction/test-001.xml
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/tests/cxx/parser/validation/restriction/test-001.xml')
-rw-r--r--xsd/tests/cxx/parser/validation/restriction/test-001.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/xsd/tests/cxx/parser/validation/restriction/test-001.xml b/xsd/tests/cxx/parser/validation/restriction/test-001.xml
new file mode 100644
index 0000000..4015302
--- /dev/null
+++ b/xsd/tests/cxx/parser/validation/restriction/test-001.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 base but not restriction: a element -->
+ <restriction-a z="z">
+ <b>b</b>
+ <c>c</c>
+ </restriction-a>
+
+</t:root>