aboutsummaryrefslogtreecommitdiffstats
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-02-18 21:12:46 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-02-18 21:12:46 +0000
commitd431074c46d3b056b88c1be778960cb5ce43fe0f (patch)
treef188b2118a8243f5028be0a059b6c6baf4ffdd07 /xmlschemastypes.c
parent2df2de225aeb241cbf7eb895698498ef3366d5d4 (diff)
downloadandroid_external_libxml2-d431074c46d3b056b88c1be778960cb5ce43fe0f.tar.gz
android_external_libxml2-d431074c46d3b056b88c1be778960cb5ce43fe0f.tar.bz2
android_external_libxml2-d431074c46d3b056b88c1be778960cb5ce43fe0f.zip
float/double check bugfix exported a function for NMTOKEN validation add a
* xmlschemastypes.c: float/double check bugfix * tree.c include/libxml/tree.h: exported a function for NMTOKEN validation * xmlreader.c: add a TODO for Jody * relaxng.c: bugfix bugfix bugfix found 373 test schemas: 300 success 73 failures found 529 test instances: 507 success 10 failures * result/relaxng/*: updated the results 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 374eddbb..e19391f1 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -1193,6 +1193,8 @@ xmlSchemaValidatePredefinedType(xmlSchemaTypePtr type, const xmlChar *value,
neg = 1;
cur++;
}
+ if (cur[0] == 0)
+ return(1);
if ((cur[0] == 'I') && (cur[1] == 'N') && (cur[2] == 'F')) {
cur += 3;
if (*cur != 0)