Index: NodeImpl.java =================================================================== --- NodeImpl.java (revision 357645) +++ NodeImpl.java (working copy) @@ -787,6 +787,7 @@ } if (this.parent != null) { this.parent.removeChild(this); + this.parent = null; //remove all old lineage traces from both sides } if (parent != null) { parent.appendChild(this);