php.net |  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
Votes:1
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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: marshall at exclupen dot com
New email:
PHP Version: OS:

 

 [2003-07-30 01:37 UTC] marshall at exclupen dot com
Description:
------------
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 @ http://marc.theaimsgroup.com/?l=pear-dev&m=105935331827366&w=2]

Reproduce code:
---------------
http://www.exclupen.com/misc/php/pear_patches/XML_Parser.diff
http://www.exclupen.com/misc/php/pear_patches/XML_RSS.diff


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-23 04:54 UTC] mj@php.net
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):

http://www.exclupen.com/misc/php/pear_patches/XML_Parser/XML_Parser-1.6.diff
 [2003-09-09 19:54 UTC] cox@php.net
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 http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net 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: Wed Sep 22 11:03:37 2021 UTC