Re: [xml] htmlReadMemory broken if LIBXML_LEGACY_ENABLED not set
- From: Gary Coady <gary lyranthe org>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] htmlReadMemory broken if LIBXML_LEGACY_ENABLED not set
- Date: Wed, 16 Nov 2005 17:46:27 +0000
Daniel Veillard wrote:
On Wed, Nov 16, 2005 at 03:30:33PM +0000, Gary Coady wrote:
while tracking down an apparent regression in HTML parsing, I found that
the checkin for bug 306901 breaks htmlReadMemory, when used in a
multithreaded app. The change was to call
only if both LIBXML_HTML_ENABLED AND LIBXML_LEGACY_ENABLED were set.
I'm unclear about this, please bugzilla so it's not dropped, just make a
reference to the old bug. Also if you are multithreaded, then you must call
the library initialization call at startup, then I think the default sax
handler should be initialized.
thanks for the response. Yes, xmlInitParser is called at startup, before
any other threads are created. I've filed
http://bugzilla.gnome.org/show_bug.cgi?id=321632 for the issue.
] [Thread Prev