Re: [xml] controlling xpath streaming



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 
11303c11303
<      namespaces = xmlMalloc(2 * (ctxt->nsNr + 1) * sizeof(xmlChar*));
---
     namespaces = xmlMalloc(2 * (ctxt->nsNr + 1));

  yes, that's Mark's fix !

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]