diff --git a/ChangeLog b/ChangeLog index 1913aa27..447960d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jun 14 01:01:30 CEST 2001 Daniel Veillard + + * xpath.c: bug detected by Ankh when / is used as a function arg + Wed Jun 13 23:08:46 CEST 2001 Daniel Veillard * HTMLparser.[ch] HTMLtree.c: stored the inline/block property diff --git a/xpath.c b/xpath.c index fc1aa084..cabb3af7 100644 --- a/xpath.c +++ b/xpath.c @@ -7085,8 +7085,8 @@ xmlXPathCompLocationPath(xmlXPathParserContextPtr ctxt) { xmlXPathCompRelativeLocationPath(ctxt); } else if (CUR == '/') { NEXT; - SKIP_BLANKS; - if (CUR != 0) + /* SKIP_BLANKS; */ + if ((CUR != 0) && (CUR != ')') && (CUR != ',')) xmlXPathCompRelativeLocationPath(ctxt); } }