diff options
author | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-26 00:11:53 +0000 |
---|---|---|
committer | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-26 00:11:53 +0000 |
commit | 3a766e0115e9799db766a88554b9ab12ee5bf2a4 (patch) | |
tree | 5767f156ea22882e9d5dc8c4434b68b8c83b7cfe /third_party/libxml/src | |
parent | 9a74a26771416216d2df194b1cdc9b960c5286be (diff) | |
download | chromium_src-3a766e0115e9799db766a88554b9ab12ee5bf2a4.zip chromium_src-3a766e0115e9799db766a88554b9ab12ee5bf2a4.tar.gz chromium_src-3a766e0115e9799db766a88554b9ab12ee5bf2a4.tar.bz2 |
Apply libxml fix for undefined namespaces.
BUG=93472
Review URL: http://codereview.chromium.org/7747031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libxml/src')
-rw-r--r-- | third_party/libxml/src/xpath.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/libxml/src/xpath.c b/third_party/libxml/src/xpath.c index c7d69b5..fbacce7 100644 --- a/third_party/libxml/src/xpath.c +++ b/third_party/libxml/src/xpath.c @@ -13351,6 +13351,7 @@ xmlXPathCompOpEval(xmlXPathParserContextPtr ctxt, xmlXPathStepOpPtr op) 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 @@ xmlXPathCompOpEval(xmlXPathParserContextPtr ctxt, xmlXPathStepOpPtr op) 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, |