Re: [xml] accessing xmlIO from the python api

2005-05-05 Thread Daniel Veillard
On Wed, May 04, 2005 at 01:44:27PM -0700, Dan Mercer wrote: On Wed, May 04, 2005 at 04:18:21PM -0400, Daniel Veillard wrote: Is it possible to access calls like IOHTTPOpen from the python API, or is there a mechanism for providing a callback to some other HTTP implementation?

Re: [xml] Segfault freeing doc after replaceNode() in python

2005-05-05 Thread Daniel Veillard
On Wed, May 04, 2005 at 05:47:23PM -0500, Brent Hendricks wrote: The attached script is a copy of the included python test file cutnpaste.py with two important differences: 1) It uses replaceNode() instead of addChild() to put the 'cut' node into the destination document 2) It segfaults

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) *