Re: [xml] Possible improvement for xmlCleanupParser
- From: Daniel Veillard <veillard redhat com>
- To: Marc Liyanage <liyanage access ch>
- Cc: xml gnome org
- Subject: Re: [xml] Possible improvement for xmlCleanupParser
- Date: Wed, 15 Oct 2003 06:49:16 -0400
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
--
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]