This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Martin.Kugler
Recipients Martin.Kugler
Date 2012-11-07.09:05:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352279150.2.0.240477416324.issue16425@psf.upfronthosting.co.za>
In-reply-to
Content
Calling doc.replaceChild(new_child, old_child) with new_child and old_child being similar nodes in two different documents results in new_child to be removed from its document instead of old_child being removed from doc.

Example:
        new_child = get_element_x(doc_a)
        old_child = get_element_x(doc_b)
        parent = get_element_y(doc_b)
        parent.replaceChild(new_child, old_child)

=> new_child will be removed from doc_a. Instead old_child should be removed from doc_b.
History
Date User Action Args
2012-11-07 09:05:50Martin.Kuglersetrecipients: + Martin.Kugler
2012-11-07 09:05:50Martin.Kuglersetmessageid: <1352279150.2.0.240477416324.issue16425@psf.upfronthosting.co.za>
2012-11-07 09:05:49Martin.Kuglerlinkissue16425 messages
2012-11-07 09:05:49Martin.Kuglercreate