Hi, you may specify your own error handling routine and intercept all the parsing errors. For example, if you are using the Reader interface for parsing (http://xmlsoft.org/xmlreader.html), you should have a look to xmlTextReaderSetErrorHandler function docs It's a quite simple approach, but works like a charm.
Regards R.Scussat DSPLABS Srl [email protected] PGP Key ID: 0x618E24FE On 10/26/2012 05:11 PM, Foulques Nera wrote: > Hello, > > libXML gives good informations when loading an xml file with error. > How can I get or redirect automatically all theses messages to my > application log (log4cxx) ? > > Best regards, > > Foulques NERA > > > > _______________________________________________ > xml mailing list, project page http://xmlsoft.org/ > [email protected] > https://mail.gnome.org/mailman/listinfo/xml
_______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] https://mail.gnome.org/mailman/listinfo/xml
