aboutsummaryrefslogtreecommitdiffstats
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-08-31 08:42:17 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-08-31 08:42:17 +0000
commitf34a20e69dc675cd23d3eb558cad135ea280f472 (patch)
treeb513f10f469459105e1f613c698aa9575bc9fc8f /xmlschemastypes.c
parentfc263f1fcf09cced050c10e4492e722dbfcfed55 (diff)
downloadandroid_external_libxml2-f34a20e69dc675cd23d3eb558cad135ea280f472.tar.gz
android_external_libxml2-f34a20e69dc675cd23d3eb558cad135ea280f472.tar.bz2
android_external_libxml2-f34a20e69dc675cd23d3eb558cad135ea280f472.zip
"" is a valid hexbinary string dixit xmlschema-dev update the test. added
* xmlschemastypes.c: "" is a valid hexbinary string dixit xmlschema-dev * result/schemas/hexbinary_0_1.err test/schemas/hexbinary_1.xml: update the test. * test/ns5 result//ns5*: added a test for the namespace bug fixed in previous commit. * Makefile.am: added a message in the regression tests Daniel
Diffstat (limited to 'xmlschemastypes.c')
-rw-r--r--xmlschemastypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index e8670546..9ebcfd9b 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -2304,7 +2304,7 @@ xmlSchemaValAtomicType(xmlSchemaTypePtr type, const xmlChar * value,
xmlChar *base;
int total, i = 0;
- if ((cur == NULL) || (*cur == 0))
+ if (cur == NULL)
goto return1;
while (((*cur >= '0') && (*cur <= '9')) ||