I have a program which runs tests and generates a grid-view with all the results in it, and also an XML log file. The program also has the functionality to load logs to repl
There is no such thing in the Framework taht does this by default, neither is there a good solution available that will somehow parse generic invalid xml.
The most sensable thing yu can do is fixing the XML before starting to read it. Since only the end is cut off you should be able to figure out all open tags and close them.