@Test(expected=IOException.class)
public void testBroken() throws IOException
{
FileInputStream fs = new FileInputStream("test_data/broken_fictionbook_2_1.fb2");
OnDemandSAXParser p = new OnDemandSAXParser(fs);
StringPair n;
while((n = p.getNext()) != null)
{
assertNotNull(n.a);
assertNotNull(n.b);
}