Re: [xml] xmlRegisterOutputCallbacks() doesn't set xmlOutputCallbackInitial ized

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 Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]