Revision 1688 tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/filters/Tokeniser/SimpleTokenizerXml.groovy

SimpleTokenizerXml.groovy (revision 1688)
456 456
		} catch (Exception e) {
457 457
			System.err.println("Error : "+infile);
458 458
			e.printStackTrace();
459
			if (writer != null) writer.close();
460
			if (output != null) output.close();
461
			if (parser != null) parser.close();
462
			if (inputData != null) inputData.close();
459 463
			return false;
460 464
		}
461 465
		return true;

Also available in: Unified diff