// (such as text) cannot build themselves. worst the lastchild of the
// currentparent is still the removed node! we have to correct it
OMContainerEx ex = ((OMContainerEx) lastNode.getParent());
ex.setLastChild(lastNode);
if (!(lastNode instanceof OMContainerEx)){
ex.buildNext();
}else{
((OMNodeEx) lastNode).setNextOMSibling(null);
}
} else {