Re: [xml] controlling xpath streaming

2005-05-06 Thread Daniel Veillard
On Fri, May 06, 2005 at 12:08:40AM +0400, Oleg A. Paraschenko wrote: Hello Daniel, thank you very much for the suggestion. I've updated the very latest xpath.c from CVS. Now my application works without problems. It seems that this patch helped a lot: $ diff xpath.c xpath.c.r1.288

Re: [xml] controlling xpath streaming

2005-05-05 Thread Oleg A. Paraschenko
Hello Daniel, thank you very much for the suggestion. I've updated the very latest xpath.c from CVS. Now my application works without problems. It seems that this patch helped a lot: $ diff xpath.c xpath.c.r1.288 11303c11303 namespaces = xmlMalloc(2 * (ctxt-nsNr + 1) *

[xml] controlling xpath streaming

2005-05-04 Thread Oleg A. Paraschenko
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