So, I should declare a class that looks like this:
class XMLValidateError : public HandlerBase {
public:
XMLValidateError();
void error(XMLException &e);
};
XMLValidateError::XMLValidateError() {
}
void XMLValidateError::error(XMLException &e) {
char *message = XMLString::transcode(e.getMessage());
qDebug() << "XML Error is: " << message << endl;
}
and then:
XMLValidateError *err_handler = new XMLValidateError();
But I still don't get any error messages and it still always returns
true...any thoughts ?
--
View this message in context:
http://www.nabble.com/validating-xml-with-xsd-schema-tp23315036p23344077.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]