#24865 [Asn->Csd]: [patch] let XML_RSS, XML_Parser accept string inputs

From: Date: Tue, 09 Sep 2003 23:55:00 +0000
Subject: #24865 [Asn->Csd]: [patch] let XML_RSS, XML_Parser accept string inputs
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21311@lists.php.net to get a copy of this message
ID: 24865 Updated by: cox@php.net Reported By: marshall at exclupen dot com -Status: Assigned +Status: Closed Bug Type: PEAR related PHP Version: Irrelevant Assigned To: mj New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2003-08-26 18:02:06] 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-08-26 13:18:54] marshall at exclupen dot com Should XML_RSS be dependent on the new version of XML_Parser? ------------------------------------------------------------------------ [2003-08-23 04:54:12] 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-07-30 01:37:18] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24865&edit=1

« previous php.pear.dev (#21311) next »