1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-07 10:42:55 +03:00

Fix EXSLT functions tests when libxml2 is built --without-debug

This commit is contained in:
Nick Wellnhofer
2022-08-30 04:03:56 +02:00
parent d96e124939
commit adaa45aa25
2 changed files with 0 additions and 6 deletions

View File

@@ -466,9 +466,6 @@ exsltFuncFunctionFunction (xmlXPathParserContextPtr ctxt, int nargs) {
* the generation of result nodes. * the generation of result nodes.
*/ */
if (fake->children != NULL) { if (fake->children != NULL) {
#ifdef LIBXML_DEBUG_ENABLED
xmlDebugDumpNode (stderr, fake, 1);
#endif
xsltGenericError(xsltGenericErrorContext, xsltGenericError(xsltGenericErrorContext,
"{%s}%s: cannot write to result tree while " "{%s}%s: cannot write to result tree while "
"executing a function\n", "executing a function\n",

View File

@@ -1,6 +1,3 @@
ELEMENT fake
element fake: error : Node has no parent
ELEMENT elem
{DEF}f: cannot write to result tree while executing a function {DEF}f: cannot write to result tree while executing a function
XPath error : Stack usage error XPath error : Stack usage error
runtime error: file ./bug-215.xsl line 5 element variable runtime error: file ./bug-215.xsl line 5 element variable