public void testEmptyTag6() throws ParserException {
String testHTML = "<html><body>text<>\ntext</body></html>";
createParser(testHTML);
parseAndAssertNodeCount(1);
assertTrue("Only node should be an HTML node",node[0] instanceof Html);
Html html = (Html)node[0];
assertTrue("HTML node should have one child",1 == html.getChildCount ());
assertTrue("Only node should be an BODY node",html.getChild(0) instanceof BodyTag);
BodyTag body = (BodyTag)html.getChild(0);
assertTrue("BODY node should have one child",1 == body.getChildCount ());
assertTrue("Only node should be a string node",body.getChild(0) instanceof Text);
Text stringNode = (Text)body.getChild(0);
String actual = stringNode.getText();
assertEquals("Third node has incorrect text","text<>\ntext",actual);