39 #include <xercesc/sax/ErrorHandler.hpp> 53 private xercesc::ErrorHandler
71 bool isValid(
const String& filename,
const String& schema, std::ostream& os = std::cerr);
83 void warning(
const xercesc::SAXParseException&
exception)
override;
84 void error(
const xercesc::SAXParseException&
exception)
override;
85 void fatalError(
const xercesc::SAXParseException&
exception)
override;
86 void resetErrors()
override;
A more convenient string class.
Definition: String.h:57
std::ostream * os_
Definition: XMLValidator.h:79
String filename_
File name of validated file (for error messages)
Definition: XMLValidator.h:77
Validator for XML files.
Definition: XMLValidator.h:52
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
bool valid_
Flag if the validated file is valid.
Definition: XMLValidator.h:75
int exception
(Used by various macros. Indicates a rough category of the exception being caught.)