aboutsummaryrefslogtreecommitdiffstats
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-07-14 15:54:44 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-07-14 15:54:44 +0000
commitd369b1387e592791049a41eb4cc16046fe52e985 (patch)
treefa0af2ce06b8e9be85c9b8ee7715c3e59a5ce922 /xmlschemastypes.c
parent99c394d9c50efdaca1d4c437cf22c9c160ed9c65 (diff)
downloadandroid_external_libxml2-d369b1387e592791049a41eb4cc16046fe52e985.tar.gz
android_external_libxml2-d369b1387e592791049a41eb4cc16046fe52e985.tar.bz2
android_external_libxml2-d369b1387e592791049a41eb4cc16046fe52e985.zip
found the last bug raised by NIST tests in comparing base64 strings,
* xmlschemastypes.c: found the last bug raised by NIST tests in comparing base64 strings, result from runsuite: ## NIST test suite for Schemas version NIST2004-01-14 Ran 23170 tests (3953 schemata), no errors Daniel
Diffstat (limited to 'xmlschemastypes.c')
-rw-r--r--xmlschemastypes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index 27f7b536..c03faaa5 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -4685,6 +4685,8 @@ xmlSchemaCompareValuesInternal(xmlSchemaValType xtype,
return(1);
else if (ret == 0)
return(0);
+ else
+ return(-1);
}
else if (x->value.base64.total > y->value.base64.total)
return(1);