Small QT-app using the QT3 DOM loader to check the well-formedness of an XML file.
I needed this for the XMLTV converter to see which files exactly can be processed by MythTV's filldatabase.
Takes exactly one commandline argument, the XML file to be checked.
Returns exit code
In both error cases, an error msg will be written to stdout (not stderr).
- 0, if the file is well-formed
- 1, if the file is not well-formed
- 2, if there was a problem with the argument or file reading
- Install QT3 dev tools
- Possibly set