1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

back port a fix from xml2 to correctly namespace copied nodes.

2001-09-07  Jody Goldberg <jgoldberg@home.com>

	* tree.c (xmlStaticCopyNode) : back port a fix from xml2
	  to correctly namespace copied nodes.
This commit is contained in:
Jody Goldberg 2001-09-15 06:50:14 +00:00 committed by Jody Goldberg
parent a1ac9b0c7a
commit 685bd28b8d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-09-07 Jody Goldberg <jgoldberg@home.com>
* tree.c (xmlStaticCopyNode) : back port a fix from xml2
to correctly namespace copied nodes.
Fri Sep 14 16:00:18 CEST 2001 Daniel Veillard <daniel@veillard.com>
* configure.in: fixing #60387 with the provided patch from

2
tree.c
View File

@ -2307,7 +2307,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 {
/*