astropy.utils
Validates an XML file against a schema or DTD.
str
The path to the XML file to validate
The path to the XML schema or DTD
int
Returns the returncode from xmllint and the stdout and stderr as strings