diff options
Diffstat (limited to 'libexslt/common.c')
-rw-r--r-- | libexslt/common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexslt/common.c b/libexslt/common.c index 77f352e5..451a60d8 100644 --- a/libexslt/common.c +++ b/libexslt/common.c @@ -46,16 +46,16 @@ exsltNodeSetFunction (xmlXPathParserContextPtr ctxt, int nargs) { if (fragment == NULL) { xsltTransformError(tctxt, NULL, tctxt->inst, "exsltNodeSetFunction: Failed to create a tree fragment.\n"); - tctxt->state = XSLT_STATE_STOPPED; + tctxt->state = XSLT_STATE_STOPPED; return; } xsltRegisterLocalRVT(tctxt, fragment); strval = xmlXPathPopString (ctxt); - + txt = xmlNewDocText (fragment, strval); xmlAddChild((xmlNodePtr) fragment, txt); - obj = xmlXPathNewNodeSet(txt); + obj = xmlXPathNewNodeSet(txt); if (obj == NULL) { xsltTransformError(tctxt, NULL, tctxt->inst, "exsltNodeSetFunction: Failed to create a node set object.\n"); @@ -69,7 +69,7 @@ exsltNodeSetFunction (xmlXPathParserContextPtr ctxt, int nargs) { } if (strval != NULL) xmlFree (strval); - + valuePush (ctxt, obj); } } |