Hi, Emmanuel Guiton wrote:
Sorry, I forgot to include these lines in the snippet of code I copied.ErrorHandler* errHandler = ( ErrorHandler* ) new HandlerBase(); parser->setErrorHandler ( errHandler ); So that is not the problem...
You should provide your own implementation of ErrorHandler here.
HandlerBase simply ignore errors. You could use the samples sources
for additional info also.
Good luck!
Vitaly
