+Tue Sep 2 18:22:46 PDT 2003 William Brack <wbrack@mmm.com.hk>
+
+ * transform.c: fixing bug #120684 on crash caused by text between
+ apply-templates
+
Tue Sep 2 16:05:37 CEST 2003 Igor Zlatkovic <igor@zlatkovic.com>
* libxslt/xsltexports.h libexslt/exsltexports.h: defined additional
copy = xmlCopyNode(cur, 0);
if (copy != NULL) {
xmlAddChild(ctxt->insert, copy);
+ ctxt->lasttext = NULL; /* AddChild may truncate buf */
} else {
xsltTransformError(ctxt, NULL, node,
"xsltDefaultProcessOneNode: text copy failed\n");
xsltStackElemPtr params) {
xsltTemplatePtr template;
xmlNodePtr oldNode;
-
+
template = xsltGetTemplate(ctxt, node, NULL);
/*
* If no template is found, apply the default rule.