#46146 [Opn]: XMLReader should be able to work on an open stream
ID: 46146
User updated by: Keisial at gmail dot com
Reported By: Keisial at gmail dot com
Status: Open
Bug Type: XML Reader
PHP Version: 5.2CVS-2008-09-21 (snap)
New Comment:
Implementation: http://pastebin.com/f50204f1f
Previous Comments:
------------------------------------------------------------------------
[2008-09-21 23:09:12] Keisial at gmail dot com
Description:
------------
XMLReader should be able to work on an open stream.
The extension is already stream-aware so it's only a matter of
xmlAllocParserInputBuffer() the xmlParserInputBuffer as in
php_libxml_input_buffer_create_filename() (see ext/libxml/libxml.c) and
load that with xmlNewTextReader(), providing a nice method for that
(open_stream?, attach_to_stream?)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46146&edit=1
Thread (5 messages)