views:

46

answers:

0

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.