/src/main/java/org/htmlunit/html/impl/SimpleRange.java
( DomNode) startContainer_.getChildNodes( ).item( startOffset) ) ;
( DomNode ) startContainer_.getChildNodes ( ) .item ( startOffset_ ) ) ;
setText(split, text); insertNodeOrDocFragment(startContainer_.getParentNode(), split, startContainer_.getNextSibling()); insertNodeOrDocFragment(startContainer_.getParentNode(), newNode, split); } else { insertNodeOrDocFragment(startContainer_, newNode, <extra_id_0> } setStart(newNode, 0); } private static void insertNodeOrDocFragment(final DomNode parent, final DomNode newNode, final DomNode refNode) { if (newNode instanceof DocumentFragment) { final DocumentFragment fragment = (DocumentFragment) newNode;