[xml] Error messages



Hi.
I was looking at the libxml2 sources, and I was wondering if there was a way to suppress all error messages printf'd when an error occurs. It is a bit annoying, but I didn't find a #define or something to avoid that.
 
Then, is there a way to check validity of an XML file on the xmlDoc structure returned by xmlParseMemory() ?
 
Thanks a lot, this lib seems to really kick ass :)
 
 
Jean-Yves Lamoureux
Software developper


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]