aboutsummaryrefslogtreecommitdiffstats
path: root/result
diff options
context:
space:
mode:
authorKasimier T. Buchcik <kbuchcik@src.gnome.org>2006-04-19 11:20:49 +0000
committerKasimier T. Buchcik <kbuchcik@src.gnome.org>2006-04-19 11:20:49 +0000
commitb63d2fab2d47b08e21886d1f80c309ef1a1d9c50 (patch)
tree7d0d92f6aa0951e7e57d937dd1852e8c0a7df3c4 /result
parentcdf59aa58fd2e06a0b4619be7c8f1c7f40e58a24 (diff)
downloadandroid_external_libxml2-b63d2fab2d47b08e21886d1f80c309ef1a1d9c50.tar.gz
android_external_libxml2-b63d2fab2d47b08e21886d1f80c309ef1a1d9c50.tar.bz2
android_external_libxml2-b63d2fab2d47b08e21886d1f80c309ef1a1d9c50.zip
Fixed incorrect validation of restricted enumerations. Added related
* xmlschemas.c test/schemas/restriction-enum-1* result/schemas/restriction-enum-1*: Fixed incorrect validation of restricted enumerations. Added related regression tests.
Diffstat (limited to 'result')
-rw-r--r--result/schemas/restriction-enum-1_1_01
-rw-r--r--result/schemas/restriction-enum-1_1_0.err2
2 files changed, 3 insertions, 0 deletions
diff --git a/result/schemas/restriction-enum-1_1_0 b/result/schemas/restriction-enum-1_1_0
new file mode 100644
index 00000000..68e26cfb
--- /dev/null
+++ b/result/schemas/restriction-enum-1_1_0
@@ -0,0 +1 @@
+./test/schemas/restriction-enum-1_0.xml fails to validate
diff --git a/result/schemas/restriction-enum-1_1_0.err b/result/schemas/restriction-enum-1_1_0.err
new file mode 100644
index 00000000..086d2deb
--- /dev/null
+++ b/result/schemas/restriction-enum-1_1_0.err
@@ -0,0 +1,2 @@
+./test/schemas/restriction-enum-1_0.xml:7: element foo: Schemas validity error : Element 'foo': [facet 'enumeration'] The value 'c' is not an element of the set {'a', 'b', 'd'}.
+./test/schemas/restriction-enum-1_0.xml:7: element foo: Schemas validity error : Element 'foo': 'c' is not a valid value of the atomic type 'barType'.