mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-01 10:06:59 +03:00
- xpath.c: bug detected by Ankh when / is used as a function arg
Daniel
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Thu Jun 14 01:01:30 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
|
* xpath.c: bug detected by Ankh when / is used as a function arg
|
||||||
|
|
||||||
Wed Jun 13 23:08:46 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
Wed Jun 13 23:08:46 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
* HTMLparser.[ch] HTMLtree.c: stored the inline/block property
|
* HTMLparser.[ch] HTMLtree.c: stored the inline/block property
|
||||||
|
4
xpath.c
4
xpath.c
@ -7085,8 +7085,8 @@ xmlXPathCompLocationPath(xmlXPathParserContextPtr ctxt) {
|
|||||||
xmlXPathCompRelativeLocationPath(ctxt);
|
xmlXPathCompRelativeLocationPath(ctxt);
|
||||||
} else if (CUR == '/') {
|
} else if (CUR == '/') {
|
||||||
NEXT;
|
NEXT;
|
||||||
SKIP_BLANKS;
|
/* SKIP_BLANKS; */
|
||||||
if (CUR != 0)
|
if ((CUR != 0) && (CUR != ')') && (CUR != ','))
|
||||||
xmlXPathCompRelativeLocationPath(ctxt);
|
xmlXPathCompRelativeLocationPath(ctxt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user