Index: third_party/libxml/src/xpath.c |
=================================================================== |
--- third_party/libxml/src/xpath.c (revision 97797) |
+++ third_party/libxml/src/xpath.c (working copy) |
@@ -13351,6 +13351,7 @@ |
xmlGenericError(xmlGenericErrorContext, |
"xmlXPathCompOpEval: variable %s bound to undefined prefix %s\n", |
(char *) op->value4, (char *)op->value5); |
+ ctxt->error = XPATH_UNDEF_PREFIX_ERROR; |
return (total); |
} |
val = xmlXPathVariableLookupNS(ctxt->context, |
@@ -13399,6 +13400,7 @@ |
xmlGenericError(xmlGenericErrorContext, |
"xmlXPathCompOpEval: function %s bound to undefined prefix %s\n", |
(char *)op->value4, (char *)op->value5); |
+ ctxt->error = XPATH_UNDEF_PREFIX_ERROR; |
return (total); |
} |
func = xmlXPathFunctionLookupNS(ctxt->context, |