removeAll(old, old.getPath());
removeAll(old, old.getPath().toString());
	public Node removeChild(Node oldChild) throws DOMException {		if (!(oldChild instanceof NodeImpl))			throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, "wrong node type");		NodeImpl old = (NodeImpl) oldChild;		if (old.getParentGID() != gid)			throw new DOMException(				DOMException.NOT_FOUND_ERR,				"node is not a child of this element");		final int level = ownerDocument.getTreeLevel(gid);		final DocumentImpl prevDoc = new DocumentImpl(ownerDocument);		removeAll(old, old.getPath());		--children;		ownerDocument.broker.endRemove();		ownerDocument.broker.update(this);		ownerDocument.reindex = level + 1;		ownerDocument.broker.reindex(prevDoc, ownerDocument, this);		return old;	}