Purpose
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.
Requirements
Usage
Takes exactly one commandline argument, the XML file to be checked.
Returns exit code
- 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
In both error cases, an error msg will be written to stdout (not stderr).
Compilation
- Install QT3 dev tools
- Possibly set
QTDIR
- Run
make
Download
Version 1.0
MIT-License