From: Vladimir L. <di...@gm...> - 2009-07-04 20:07:05
|
Hi, I'm trying to control output of Parsers and Validators, I use: void xmlpp::Validator::on_validity_error(const Glib::ustring& message) { cerr << "VALIDATOR::ON_VALIDITY_ERROR() ... ==> " << message.raw(); } void xmlpp::Validator::on_validity_warning(const Glib::ustring& message) { cerr << "VALIDATOR::ON_VALIDITY_WARNING() ... ==> " << message.raw(); } void xmlpp::Parser::on_validity_error(const Glib::ustring& message) { cerr << "PARSER::ON_VALIDITY_ERROR() ... ==> " << message.raw(); } void xmlpp::Parser::on_validity_warning(const Glib::ustring& message) { cerr << "PARSER::ON_VALIDITY_WARNING() ... ==> " << message.raw(); } The first 2 capture Validator errors just fine but as for Parser error messages they are not getting wrapped by the last 2. Any help would be greatly appreciated. TIA, VL |