diff --git a/ChangeLog b/ChangeLog index ed6bf872..23be7c16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Dec 13 11:39:44 CET 2002 Daniel Veillard + + * xinclude.c: fallback was only copying the first child not the + full child list of the fallback element, closes #89684 as reopened + by Bernd Kuemmerlen + Thu Dec 12 13:34:59 CET 2002 Igor Zlatkovic * win32/libxml2.def.src: exported htmlNodeDumpOutput diff --git a/xinclude.c b/xinclude.c index 78ee0427..377f8563 100644 --- a/xinclude.c +++ b/xinclude.c @@ -1241,7 +1241,7 @@ xmlXIncludeLoadFallback(xmlXIncludeCtxtPtr ctxt, xmlNodePtr fallback, int nr) { if ((fallback == NULL) || (ctxt == NULL)) return(-1); - ctxt->incTab[nr]->inc = xmlCopyNode(fallback->children, 1); + ctxt->incTab[nr]->inc = xmlCopyNodeList(fallback->children); return(0); }