Re: [xml] Possible improvement for xmlCleanupParser



Does this problem regard to libxml2 version 2.4.30 and 2.5.11?

--Marco



Daniel Veillard wrote:

On Wed, Oct 15, 2003 at 11:36:02AM +0200, Marc Liyanage wrote:
Hi there,

Would it be possible to include calls to xmlCleanupInputCallbacks() and xmlCleanupOutputCallbacks() in xmlCleanupParser()? That way, a user of the library who needs to reset everything would only have to make one cleanup call, not three.
Is there a reason for not making the two additional calls?

 it's just an oversight, no reason why those are missing.
I added xmlCleanupInputCallbacks();
#ifdef LIBXML_OUTPUT_ENABLED
   xmlCleanupOutputCallbacks();
#endif

 and commited.

  thanks for the heads-up !

Daniel






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