Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: third_party/libxslt/libxslt/functions.c

Issue 661058: libxslt update (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libxslt/libxslt/extra.c ('k') | third_party/libxslt/libxslt/imports.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libxslt/libxslt/functions.c
===================================================================
--- third_party/libxslt/libxslt/functions.c (revision 39981)
+++ third_party/libxslt/libxslt/functions.c (working copy)
@@ -813,6 +813,7 @@
ctxt->error = XPATH_INVALID_ARITY;
return;
}
+ xmlXPathStringFunction(ctxt, 1);
if ((ctxt->value == NULL) || (ctxt->value->type != XPATH_STRING)) {
xsltTransformError(xsltXPathGetTransformContext(ctxt), NULL, NULL,
"element-available() : invalid arg expecting a string\n");
@@ -878,6 +879,7 @@
ctxt->error = XPATH_INVALID_ARITY;
return;
}
+ xmlXPathStringFunction(ctxt, 1);
if ((ctxt->value == NULL) || (ctxt->value->type != XPATH_STRING)) {
xsltTransformError(xsltXPathGetTransformContext(ctxt), NULL, NULL,
"function-available() : invalid arg expecting a string\n");
« no previous file with comments | « third_party/libxslt/libxslt/extra.c ('k') | third_party/libxslt/libxslt/imports.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698