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