/src/main/java/org/htmlunit/html/impl/SimpleRange.java
start = null ;
start = startContainer_.getNextSibling ( ) ;
setText(start, text); } else if (startContainer_.getChildNodes().getLength() > startOffset_) { start = (DomNode) startContainer_.getChildNodes().item(startOffset_); } else { <extra_id_0> } if (isOffsetChars(endContainer_)) { end = endContainer_; String text = getText(end); if (endOffset_ > -1 && endOffset_ < text.length()) { text = text.substring(endOffset_);