Heads-Up: Beware of xmlCleanupParser() when your package links against libxml2
veillard at redhat.com
Mon Jan 18 13:50:47 UTC 2010
On Wed, Jan 13, 2010 at 03:57:46PM -0600, Michael Cronenworth wrote:
> Daniel Veillard wrote:
> > The problem is that you can perfectly have application not relying on
> > libxml2 outside of their own code use libxml2 at different phases,
> > for example when parsing input, and when generating result, not using
> > the library in the meantime and calling xmlCleanupParser() twice (or
> > more) in a perfectly legal way.
> Can the function call be renamed?
> xmlCleanupLibrary() ?
> This might lower the chance of it being implemented multiple times.
yes, my current thinking is that's the best which can be done in the
current situration, and making xmlCleanupParser() an empty function. But
as said this is not where I will discuss this, Fedora accounts to a
small fraction on the overall libxml2 user base.
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the devel