[BUG]reader = ReaderFactory.newXmlReader( outputDirectoryOrFile)  ;[BUG][CONTEXT] if (parser.getType() == Parser.XML_TYPE) { reader = ReaderFactory.newXmlReader(inputFile); } else { <extra_id_0> }[CONTEXT]