Internal helper to detach a child from its parent, do not call directly.
@override void detachParent(T parent) { XmlParentException.checkMatchingParent(this, parent); _parent = null; }