[liblouis-liblouisxml] Re: xml error handling is fixed, hopefully.

  • From: Christian Egli <christian.egli@xxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 15 Jan 2010 10:13:50 +0100

Hi

"John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx> writes:
> I just committed the liblouisxml.c module with a revamped
> processXmlDocument routine. It seems to handle errors fine. The
> cleanup should also work. At least there is no segmentation fault.

This looks good. I finally found the documentation for this and it
appears that the way you implemented it is correct. See
http://xmlsoft.org/html/libxml-xmlerror.html#xmlSetGenericErrorFunc

Thanks
Christian
-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland
For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: