commit | ddb01cbf61104e1f746c2224316881e4e4b2b233 | [log] [tgz] |
---|---|---|
author | Rob Richards <rrichards@cdatazone.org> | Fri Jan 29 13:32:12 2010 -0500 |
committer | Rob Richards <rrichards@cdatazone.org> | Fri Jan 29 13:32:12 2010 -0500 |
tree | b595bf448e807756e0a2d08b6f867ed5f523b6b6 | |
parent | c966790781a9ab5d80aed1246df6316149ef5f07 [diff] |
Fix lost namespace when copying node * tree.c: reconcile namespace if not found
diff --git a/tree.c b/tree.c index 3b66f97..6872209 100644 --- a/tree.c +++ b/tree.c
@@ -4188,6 +4188,8 @@ while (root->parent != NULL) root = root->parent; ret->ns = xmlNewNs(root, ns->href, ns->prefix); + } else { + ret->ns = xmlNewReconciliedNs(doc, ret, node->ns); } } else { /*