mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
- xpath.c: bug detected by Ankh when / is used as a function arg
Daniel
This commit is contained in:
4
xpath.c
4
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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user