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

-- 
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]