summaryrefslogtreecommitdiff
path: root/xsd/tests/cxx/parser/validation/restriction/test-003.xml
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/tests/cxx/parser/validation/restriction/test-003.xml')
-rw-r--r--xsd/tests/cxx/parser/validation/restriction/test-003.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/xsd/tests/cxx/parser/validation/restriction/test-003.xml b/xsd/tests/cxx/parser/validation/restriction/test-003.xml
new file mode 100644
index 0000000..49f18c7
--- /dev/null
+++ b/xsd/tests/cxx/parser/validation/restriction/test-003.xml
@@ -0,0 +1,16 @@
+<t:root xmlns:t="test"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="test test.xsd">
+
+ <!-- valid base but not restriction: sequence maxOccurs="1" -->
+ <restriction-a z="z">
+ <a>a</a>
+ <b>b</b>
+ <c>c</c>
+
+ <a>a</a>
+ <b>b</b>
+ <c>c</c>
+ </restriction-a>
+
+</t:root>