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
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index 374eddb..e19391f 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -1193,6 +1193,8 @@
neg = 1;
cur++;
}
+ if (cur[0] == 0)
+ return(1);
if ((cur[0] == 'I') && (cur[1] == 'N') && (cur[2] == 'F')) {
cur += 3;
if (*cur != 0)