mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-04-25 22:50:08 +03:00
applied patch from Olaf Walkowiak which should fix #334104 Daniel
* xpath.c: applied patch from Olaf Walkowiak which should fix #334104 Daniel
This commit is contained in:
parent
c47d263049
commit
c465ffc20c
@ -1,3 +1,7 @@
|
|||||||
|
Tue Oct 17 21:39:23 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* xpath.c: applied patch from Olaf Walkowiak which should fix #334104
|
||||||
|
|
||||||
Tue Oct 17 18:12:34 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
Tue Oct 17 18:12:34 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* HTMLparser.c: fixing HTML minimized attribute values to be generated
|
* HTMLparser.c: fixing HTML minimized attribute values to be generated
|
||||||
|
2
xpath.c
2
xpath.c
@ -14856,7 +14856,7 @@ xmlXPathEvalExpression(const xmlChar *str, xmlXPathContextPtr ctxt) {
|
|||||||
pctxt = xmlXPathNewParserContext(str, ctxt);
|
pctxt = xmlXPathNewParserContext(str, ctxt);
|
||||||
xmlXPathEvalExpr(pctxt);
|
xmlXPathEvalExpr(pctxt);
|
||||||
|
|
||||||
if (*pctxt->cur != 0) {
|
if ((*pctxt->cur != 0) || (pctxt->error != XPATH_EXPRESSION_OK)) {
|
||||||
xmlXPatherror(pctxt, __FILE__, __LINE__, XPATH_EXPR_ERROR);
|
xmlXPatherror(pctxt, __FILE__, __LINE__, XPATH_EXPR_ERROR);
|
||||||
res = NULL;
|
res = NULL;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user