How can I make xmlpp::DomParser less verbose on errors?

Posted by Beau Simensen on Stack Overflow See other posts from Stack Overflow or by Beau Simensen
Published on 2009-05-29T23:43:42Z Indexed on 2010/05/22 12:10 UTC
Read the original article Hit count: 259

Filed under:
|
|

How can I make xmlpp::DomParser be less verbose on errors? Right now, if parsing fails, I get a bunch of text printed to my console and I'd just as soon have that not be visible.

Entity: line 1: parser error : Opening and ending tag mismatch:
feed line 1 and fed
<feed><entry id='5' /></fed>

I don't see a lot of options for xmlpp::DomParser but I have to believe this is something that can be disabled/tweaked.

© Stack Overflow or respective owner

Related posts about xmlpp

Related posts about xmlppdomparser