fallback was only copying the first child not the full child list of the

* 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
Daniel
This commit is contained in:
Daniel Veillard 2002-12-13 10:42:08 +00:00
parent b894fbc5b7
commit 0650345dea
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Fri Dec 13 11:39:44 CET 2002 Daniel Veillard <daniel@veillard.com>
* 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 <igor@stud.fh-frankfurt.de>
* win32/libxml2.def.src: exported htmlNodeDumpOutput

View File

@ -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);
}