robotframework-fix_xml is a tool to fix Robot Framework output files that are not properly finished or are missing elements from the middle. It should be possible to generate reports and logs from the fixed output afterwards with the Rebot tool.
python fix_xml.py example.xml fixed.xml
Fork from fixml