Mahout XmlInputFormat extends Hadoop TextInputFormat. Flink has common shells for Hadoop InputFormats, so XmlInputFormat should also be supported.
Hadoop InputFormats :
DataSet<Tuple2<LongWritable, Text>> input =
env.readHadoopFile(new TextInputFormat(), LongWritable.class, Text.class, textPath);
. .