NitfParser.parse(reader, parseStrategy);
checkCompliantReadResults(parseStrategy.getDataSource());
is.close();
}
@Test
<BUG>public void testCompliantHeaderReadFile() throws IOException, NitfFormatException {
</BUG>
final String simpleNitf20File = "/JitcNitf20Samples/U_1114A.NTF";
assertNotNull("Test file missing", getClass().getResource(simpleNitf20File));
<BUG>File resourceFile = new File(getClass().getResource(simpleNitf20File).getFile());
</BUG>
SlottedParseStrategy parseStrategy = new SlottedParseStrategy(SlottedParseStrategy.TEXT_DATA);

NitfParser.parse(reader, parseStrategy);
checkCompliantReadResults(parseStrategy.getDataSource());
is.close();
}
@Test
public void testCompliantHeaderReadFile() throws IOException, NitfFormatException, URISyntaxException {
final String simpleNitf20File = "/JitcNitf20Samples/U_1114A.NTF";
assertNotNull("Test file missing", getClass().getResource(simpleNitf20File));
File resourceFile = new File(getClass().getResource(simpleNitf20File).toURI().getPath());
SlottedParseStrategy parseStrategy = new SlottedParseStrategy(SlottedParseStrategy.TEXT_DATA);
