#46146 [Opn]: XMLReader should be able to work on an open stream

From: Date: Mon, 22 Sep 2008 22:46:04 +0000
Subject: #46146 [Opn]: XMLReader should be able to work on an open stream
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-129196@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#129196) next »