/src/main/java/org/apache/maven/doxia/DefaultConverter.java
if ( parser.getType( ) != Parser.XML_TYPE) {
if ( parser.getType ( ) == Parser.XML_TYPE ) {
outputDirectoryOrFile.getParentFile().mkdirs(); outputFile = output.getFile(); } Reader reader; try { if (inputEncoding != null) { <extra_id_0> reader = ReaderFactory.newXmlReader(inputFile); } else { reader = ReaderFactory.newReader(inputFile, inputEncoding); } } else { reader = ReaderFactory.newPlatformReader(inputFile);