Re: [xml] xmlRegisterOutputCallbacks() doesn't set xmlOutputCallbackInitial ized
- From: Daniel Veillard <veillard redhat com>
- To: "Keim, Markus" <markus keim ordat com>
- Cc: "'libxml2 mailing List (E-Mail)'" <xml gnome org>
- Subject: Re: [xml] xmlRegisterOutputCallbacks() doesn't set xmlOutputCallbackInitial ized
- Date: Tue, 23 Sep 2003 03:44:23 -0400
On Mon, Sep 22, 2003 at 06:09:50PM +0200, Keim, Markus wrote:
the libxml2 function "xmlRegisterOutputCallbacks()" doesn't
(re-)set the flag "xmlOutputCallbackInitialized" when called.
So, if you clear the "xmlOutputCallbackTable" to solely use
user defined callbacks and register them via
"xmlRegisterOutputCallbacks()", a subsequent call to an
output callback (e.g. "xmlOutputBufferCreate()") will
re-register (and use) the default callbacks instead of the
user defined ones.
Same for "xmlRegisterInputCallbacks()".
Okay, fixed in CVS now,
thanks !
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]