|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #46146 XMLReader should be able to work on an open stream
Submitted: 2008-09-21 23:09 UTC Modified: 2021-01-13 11:32 UTC
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: Keisial at gmail dot com Assigned:
Status: Open Package: XML Reader
PHP Version: 5.2CVS-2008-09-21 (snap) OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: Keisial at gmail dot com
New email:
PHP Version: OS:


 [2008-09-21 23:09 UTC] Keisial at gmail dot com
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?)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-22 22:46 UTC] Keisial at gmail dot com
 [2011-01-23 21:30 UTC]
-Package: Feature/Change Request +Package: XML Reader
 [2015-03-19 01:29 UTC] me at evertpot dot com
Very sorry about the 'me too', but 'me too'. I hope this can get some attention, as it would make XMLReader super useful for massive xml bodies!
 [2021-01-13 11:32 UTC]
Consider to provide a pull request[1].

[1] <>
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 12 14:01:35 2024 UTC