Input in out.xml file is incomplete.
In the case of some calculations modes: MAE, DMI, ssdisp, maybe others ... a 'special' tag is written to the inp.xml file after the <\output> tag but before the closing tag of the fleurinput.
These special tags are not present in the out.xml file, which is really bad for parsing. Example below, Please fix this.
Input and output file:
Ideas for fixes
Just write the complete input to the out.xml file