13#include <xercesc/sax/ErrorHandler.hpp>
27 private xercesc::ErrorHandler
57 void warning(
const xercesc::SAXParseException& exception)
override;
58 void error(
const xercesc::SAXParseException& exception)
override;
59 void fatalError(
const xercesc::SAXParseException& exception)
override;
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
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19