assertEquals(parser.getEndPosition(), 862);
}
@Test
public void test_parsing_xml2() throws Exception {
HeaderParser parser = new HeaderParser(new FileContent(new File("src/test/resources/doc/doc5.xml"), System.getProperty("file.encoding")),
HeaderType.XML_STYLE.getDefinition());
assertTrue(parser.gotAnyHeader());
assertEquals(parser.getBeginPosition(), 45);
assertEquals(parser.getEndPosition(), 866);
}