What steps will reproduce the problem?
1. Produce two XDocument instances
2. Clone (make a copy of) a node from one document
3. Invoke appendChild, replaceChild or insertBefore to place the clone in
the second document.
What is the expected output?
When the cloned node is placed in the new document, its ownerDocument
should be the new document.
What do you see instead?
The ownerDocument is still the old document.
What version of the product are you using?
Up to at least r61
On what operating system?
All.
Please provide any additional information below.
Some XPath evaluations, e.g. absolute ones, request the ownerDocument of a
node, at which point you end up in the wrong document.
Original issue reported on code.google.com by John.Boyer.PhD@gmail.com on 28 Feb 2009 at 11:24
Original issue reported on code.google.com by
John.Boyer.PhD@gmail.com
on 28 Feb 2009 at 11:24