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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user