Re: [xml] htmlReadMemory broken if LIBXML_LEGACY_ENABLED not set

2005-11-16 Thread Gary Coady
Daniel Veillard wrote: > On Wed, Nov 16, 2005 at 03:30:33PM +, 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 >>inithtmlDefaultSAXHandler(

Re: [xml] htmlReadMemory broken if LIBXML_LEGACY_ENABLED not set

2005-11-16 Thread Daniel Veillard
On Wed, Nov 16, 2005 at 03:30:33PM +, Gary Coady wrote: > Hi there, > 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 > inithtmlDefaultSAXHandler(&gs->htmlDefa

[xml] htmlReadMemory broken if LIBXML_LEGACY_ENABLED not set

2005-11-16 Thread Gary Coady
Hi there, 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 inithtmlDefaultSAXHandler(&gs->htmlDefaultSAXHandler); only if both LIBXML_HTML_ENABLED AND LIBXML_LEGACY_ENA