Re: [xml] error handler callback issues
- From: Daniel Veillard <veillard redhat com>
- To: robert <robert xml 00008 org>
- Cc: xml gnome org
- Subject: Re: [xml] error handler callback issues
- Date: Thu, 1 Nov 2001 08:10:21 -0500
On Thu, Nov 01, 2001 at 01:40:56PM +0100, robert wrote:
Has something changed in the way one has to set an error-callback for
libxml2 between versions 2.4.6 and 2.4.7?
My application all of a sudden stopped calling the handler I install with
xmlSetGenericErrorFunc() (and xsltSetGenericErrorFunc() for that matter).
Okay, side effect of a change made when adding threading support.
Two ways to fix this:
- call xmlInitParser() before calling xsltSetGenericErrorFunc()
or
- remove initGenericErrorDefaultFunc(NULL); call from xmlInitParser()
this is the generic fix I'm commiting to libxml
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]