|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24865 [patch] let XML_RSS, XML_Parser accept string inputs
Submitted: 2003-07-30 01:37 UTC Modified: 2003-09-09 19:54 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: marshall at exclupen dot com Assigned: mj (profile)
Status: Closed Package: PEAR related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
50 - 8 = ?
Subscribe to this entry?

 [2003-07-30 01:37 UTC] marshall at exclupen dot com
There is no way to pass a string to XML_Parser, such as a cached RSS feed from a database.  These diffs modify XML_Parser to accept strings in addition to the current URLs and existing resources, and XML_RSS to be able to pass a string to XML_Parser (backwards-compatibility is maintained as far as I can see).

[note: see the original post on pear-dev @]

Reproduce code:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-23 04:54 UTC]
I've applied your patches to CVS, but I'm leaving this bug report unclosed until we have rolled new releases.

Thanks for your help.
 [2003-08-26 13:18 UTC] marshall at exclupen dot com
Should XML_RSS be dependent on the new version of XML_Parser?
 [2003-08-26 18:02 UTC] marshall at exclupen dot com
Stephan Schmidt has pointed out that scripts would fail with a very large input file, as it is all read into memory.

I've fixed this problem and applied the diff to 1.6 (Martin's patch of Aug 23):
 [2003-09-09 19:54 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Oct 23 15:03:34 2021 UTC