35 #ifndef OPENMS_FORMAT_VALIDATORS_XMLVALIDATOR_H 36 #define OPENMS_FORMAT_VALIDATORS_XMLVALIDATOR_H 40 #include <xercesc/sax/ErrorHandler.hpp> 54 private xercesc::ErrorHandler
72 bool isValid(
const String& filename,
const String& schema, std::ostream& os = std::cerr);
84 virtual void warning(
const xercesc::SAXParseException&
exception);
85 virtual void error(
const xercesc::SAXParseException&
exception);
86 virtual void fatalError(
const xercesc::SAXParseException&
exception);
87 virtual void resetErrors();
93 #endif // OPENMS_FORMAT_VALIDATORS_XMLVALIDATOR_H A more convenient string class.
Definition: String.h:57
std::ostream * os_
Definition: XMLValidator.h:80
String filename_
File name of validated file (for error messages)
Definition: XMLValidator.h:78
Validator for XML files.
Definition: XMLValidator.h:53
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
bool valid_
Flag if the validated file is valid.
Definition: XMLValidator.h:76
int exception
(Used by various macros. Indicates a rough category of the exception being caught.)