patch from Richard Jinks for .x float parsing. Daniel

* xpath.c: patch from Richard Jinks for .x float parsing.
Daniel
diff --git a/xpath.c b/xpath.c
index 68d4452..9de5bc9 100644
--- a/xpath.c
+++ b/xpath.c
@@ -7414,7 +7414,7 @@
 	}
 	NEXT;
 	SKIP_BLANKS;
-    } else if (IS_DIGIT(CUR)) {
+    } else if (IS_DIGIT(CUR) || (CUR == '.' && IS_DIGIT(NXT(1)))) {
 	xmlXPathCompNumber(ctxt);
     } else if ((CUR == '\'') || (CUR == '"')) {
 	xmlXPathCompLiteral(ctxt);
@@ -7528,7 +7528,7 @@
 
     SKIP_BLANKS;
     if ((CUR == '$') || (CUR == '(') || (IS_DIGIT(CUR)) ||
-        (CUR == '\'') || (CUR == '"')) {
+        (CUR == '\'') || (CUR == '"') || (CUR == '.' && IS_DIGIT(NXT(1)))) {
 	lc = 0;
     } else if (CUR == '*') {
 	/* relative or absolute location path */