Newsgroups: php.internals,php.xml.dev Path: news.php.net Xref: news.php.net php.internals:1063 php.xml.dev:102 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35145 invoked from network); 28 Apr 2003 12:21:00 -0000 Received: from unknown (HELO secure.thebrainroom.com) (213.239.42.171) by pb1.pair.com with SMTP; 28 Apr 2003 12:21:00 -0000 Received: from zaneeb.brainnet.i (brain.dial.nildram.co.uk [195.149.29.154]) by secure.thebrainroom.com (8.9.3/8.9.3) with ESMTP id NAA22424; Mon, 28 Apr 2003 13:20:53 +0100 Received: from zaneeb.brainnet.i (IDENT:+2FwpMIxUxbcd7uvPenryR0/3rwYeImT@zaneeb.brainnet.i [127.0.0.1]) by zaneeb.brainnet.i (8.11.6/8.11.6) with ESMTP id h3SCKs830418; Mon, 28 Apr 2003 13:20:54 +0100 Date: Mon, 28 Apr 2003 13:20:54 +0100 (BST) X-X-Sender: wez@zaneeb.brainnet.i To: Shane Caraveo cc: Sterling Hughes , internals@lists.php.net, php-xml-dev@lists.php.net, php5-dev@lists.php.net, "Stig S. Bakken" , "Thies C. Arntzen" In-Reply-To: <3EAD180D.1040908@caraveo.com> Message-ID: References: <1051482765.25677.15.camel@hasele> <3EAD180D.1040908@caraveo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Re: [PHP5-DEV] Replacing expat with libxml From: wez@thebrainroom.com (Wez Furlong) On Mon, 28 Apr 2003, Shane Caraveo wrote: > > - FTP and HTTP transports (as well as an IO wrapper library like > > Streams) > > Can the wrapper be made to work with the php streams? It would be nice > for instance, to simply be able to pass php://stdin to the library and > have it handle input. A call back to handle protocol headers, or > alternate encodings such as dime would be necessary. Anyway, those are > some things I'd like to discuss. See my code in pear/PECL/soap/php_xml.c that already ties the libxml io layer into php streams. (php_stream_xmlIO_XXX and the xmlRegisterInputCallbacks() call in soap.c) This allows opening of any URL supported by streams; I don't think that the library allows you pass a handle that has already been opened, but I could be wrong. --Wez.