Heads-Up: Beware of xmlCleanupParser() when your package links against libxml2

Daniel Veillard veillard at redhat.com
Mon Jan 18 13:44:13 UTC 2010


On Wed, Jan 13, 2010 at 04:54:34PM -0500, Simo Sorce wrote:
> On Wed, 13 Jan 2010 22:39:43 +0100
> 
> The dilemma is in broken libraries that use global variables instead of
> explicitly initialized memory contexts so that you can have multiple
> completely independent instances and also happen to help make them
> thread safe.

  I provided a bunch of new parsing API in libxml2 precisely to avoid
the problem of global variables, but well unless I make a non-compatible
API and hence libxml3 (no target date, probably never) this problem
will stay around.

Daniel

-- 
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 mailing list