1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

- tree.c: fixed #53388 with the provided patch

Daniel
This commit is contained in:
Daniel Veillard
2001-04-22 12:12:58 +00:00
parent 0680399c8d
commit e82a992bf5
2 changed files with 5 additions and 1 deletions

2
tree.c
View File

@ -2673,7 +2673,7 @@ xmlStaticCopyNode(xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent,
xmlNodePtr root = ret;
while (root->parent != NULL) root = root->parent;
xmlNewNs(root, ns->href, ns->prefix);
ret->ns = xmlNewNs(root, ns->href, ns->prefix);
}
} else {
/*