* libexslt/transform.c: fixed Bug 129624 (erroneous output
of namespaces)
+Sat Dec 20 23:37:31 HKT 2003 William Brack <wbrack@mmm.com.hk>
+
+ * libexslt/transform.c: fixed Bug 129624 (erroneous output
+ of namespaces)
+
Sat Dec 20 16:22:11 HKT 2003 William Brack <wbrack@mmm.com.hk>
* libexslt/date.c: fixed several routines to assure empty
}
/*
* Add extra namespaces inherited from the current template
- * if we are in the first level children
+ * if we are in the first level children and this is a
+ * "real" template.
*/
- if ((oldInsert == insert) && (ctxt->templ != NULL) &&
- (ctxt->templ->inheritedNs != NULL)) {
+ if ((templ != NULL) && (oldInsert == insert) &&
+ (ctxt->templ != NULL) && (ctxt->templ->inheritedNs != NULL)) {
int i;
xmlNsPtr ns, ret;