Re: [PHP-DEV] Re: [PHP5-DEV] Replacing expat with libxml
[email protected] (Wez Furlong)
| Newsgroups | php.internals,php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
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.