AnotherTag tag = (AnotherTag) child;
assertEquals("another tag start pos", 8, tag.elementBegin());
assertEquals("another tag ending pos", 17, tag.elementEnd());
assertEquals("custom end tag start pos", 18, customTag.getEndTag().elementBegin());
assertStringEquals("child html", "<ANOTHER/>", child.toHtml());
}
public void testParseTwoCompositeTags() throws ParserException {
createParser("<Custom>" + "</Custom>" + "<Custom/>");
parser.addScanner(new CustomScanner());