Re: [xml] controlling xpath streaming
- From: Daniel Veillard <veillard redhat com>
- To: "Oleg A. Paraschenko" <olpa xmlhack ru>
- Cc: xml gnome org
- Subject: Re: [xml] controlling xpath streaming
- Date: Thu, 5 May 2005 04:46:19 -0400
On Thu, May 05, 2005 at 01:24:46AM +0400, Oleg A. Paraschenko wrote:
Hello,
getting coredump in malloc is a programmer's nightmare, and my
application does so after recent update of libxml/libxslt from CVS.
Unfortunately, I can't produce a test case. But I can say that the problem
sometimes appears when I use namespaces (ctxt->nsNr, ctxt->namespaces) in
xmlXPathContextPtr, and when an XPath expression is streamable.
Fortunately, I found a workaround which works for me. In the file
"xpath.c", I deleted the following code fragment:
#ifdef LIBXML_PATTERN_ENABLED
#define XPATH_STREAMING
#endif
The question is: would you please add a parameter to the configure
script to control whether to use XPath streaming or not?
I disagree. It's likely a bug. I want the bug fixed, not people
working around the bug using yet another tweaking interface.
Did you checked Mark Vakoc recent patch ?
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
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]