summaryrefslogtreecommitdiff
path: root/test/schemas/restriction-enum-1_0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/schemas/restriction-enum-1_0.xml')
-rw-r--r--test/schemas/restriction-enum-1_0.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/schemas/restriction-enum-1_0.xml b/test/schemas/restriction-enum-1_0.xml
new file mode 100644
index 0000000..9bdb4a3
--- /dev/null
+++ b/test/schemas/restriction-enum-1_0.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<!-- This instance should raise an error, since in
+ "restriction-enum-1_1.xsd", the restricting enumeration
+ rules out the value "c" (which is allowed in the restricted
+ type).
+-->
+<foo>c</foo>