[BUG]try ( Reader r = ReaderFactory.newXmlReader( outputFile) ;reader = ReaderFactory.newReader( inputFile, inputEncoding) ;[BUG][CONTEXT] if (parser.getType() == Parser.XML_TYPE) { reader = ReaderFactory.newXmlReader(inputFile); } else { <extra_id_0> }[CONTEXT]