I'm using tagSoup 1.2.1.
There appears to be a missing close in the parse() method.
public void parse (InputSource input) throws IOException, SAXException {
setup();
Reader r = getReader(input);
theContentHandler.startDocument();
theScanner.resetDocumentLocator(input.getPublicId(), input.getSystemId());
if (theScanner instanceof Locator) {
theContentHandler.setDocumentLocator((Locator)theScanner);
}
if (!(theSchema.getURI().equals("")))
theContentHandler.startPrefixMapping(theSchema.getPrefix(),
theSchema.getURI());
theScanner.scan(r, this);
r.close();
}
I put the close is as above and everything appears to be working just as before and I can now move / delete the input file without having to first stop my program.
On Thursday, August 16, 2012 10:26:14 PM UTC-4, Fred Toth wrote: