Re: [xml] htmlOmittedDefaultValue is not thread-aware



On Tue, Jun 12, 2007 at 05:01:34PM +0200, Stefan Behnel wrote:
Hi,

Daniel Veillard wrote:
On Thu, Jun 07, 2007 at 07:45:28PM +0200, Stefan Behnel wrote:
Hi,

I noticed that htmlOmittedDefaultValue is not thread aware, so it can't be
used in multi-threaded environments to parse HTML fragments instead of HTML
documents. Is there any other way to parse fragments? Or could this option be
changed to work on a per-thread basis?

  I certainly don't want to extend the horror of global variables.
This should be added to the list of supported htmlParserOption
to be used in conjunction with new parsing APIs

That would be perfect. Could that go into the next version so that we can
start supporting it in lxml?

  hum, I really wanted to push libxml2 new version today, no garantee 
I will be able to write that. I'm rather trying to use time to fix the
most urgent bugs.
  I'm short on time in general so bugs or requests with maximum context
and/or patches are most likely to go on release N+1 at any given point
in time.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]