+Thu Jul 4 16:53:00 HKT 2002 William Brack <wbrack@mmm.com.hk>
+
+ * transform.c further enhancement for bug 84902 (another
+ path), also cleaned up code slightly
+
Wed Jul 3 00:50:00 HKT 2002 William Brack <wbrack@mmm.com.hk>
* transform.c: fixed bug 84902 - message with terminate=yes
xmlNodePtr oldInst = NULL;
xmlAttrPtr attrs;
int oldBase;
+
int level = 0;
#ifdef WITH_DEBUGGER
ctxt->insert = insert;
info->func(ctxt, node, cur, (xsltElemPreCompPtr) info);
ctxt->insert = oldInsert;
- CHECK_STOPPED;
goto skip_children;
}
"xsltApplyOneTemplate: problem with xsl:%s\n",
cur->name);
}
- CHECK_STOPPED;
goto skip_children;
} else if ((cur->type == XML_TEXT_NODE) ||
(cur->type == XML_CDATA_SECTION_NODE)) {
}
}
skip_children:
+ /*
+ If xslt:message just processed, might have terminate='yes'
+ If so, break out of while to clean up processing.
+ */
+ if (ctxt->state == XSLT_STATE_STOPPED)
+ break;
if (cur->next != NULL) {
cur = cur->next;
continue;