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