[libxml++] Parser errors
- From: Vladimir Levijev <dimirx gmail com>
- To: libxmlplusplus-general lists sourceforge net
- Subject: [libxml++] Parser errors
- Date: Sat, 4 Jul 2009 23:06:56 +0300
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
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]