1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

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

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