Re: [xml] I/O problem with PHP

Ok, thanks. I suppose my question was really about under which circumstances the 'read' callback might not be 
called when the I/O handler has returned a context from 'open'? That's what I'm struggling to understand.

Thanks, David

On Wed, Oct 01, 2008 at 11:24:46AM +0200, dnorrell gmx net wrote:

I have an application using libxml which makes use of custom I/O input
callback functions. Now this all seems to work fine, except that when I
try to use my library in PHP5 (I've just written a PHP extension to
this) the I/O callbacks are failing. Now, I can see that my 'match' and
'open' callbacks are being called by libxml, however the 'read' callback
is never read even though the 'open' callback is returning a context. I
don't understand how this can happen. Is this likely to be a conflict
with libxml in PHP? Has anyone experienced similar problems? Any advice
will be much appreciated.

  This is really PHP bindings specific, you should rather ask in the
PHP support groups.


Daniel Veillard      | libxml Gnome XML XSLT toolkit
daniel veillard com  | Rpmfind RPM search engine | virtualization library

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]