13 #include <xercesc/sax/ErrorHandler.hpp>
27 private xercesc::ErrorHandler
A more convenient string class.
Definition: String.h:34
Validator for XML files.
Definition: XMLValidator.h:28
void resetErrors() override
std::ostream * os_
Definition: XMLValidator.h:53
void warning(const xercesc::SAXParseException &exception) override
bool valid_
Flag if the validated file is valid.
Definition: XMLValidator.h:49
String filename_
File name of validated file (for error messages)
Definition: XMLValidator.h:51
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:22