PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » XML » XML_RSS » Bug #557

insideTag stack required

Details

Submitted2004-01-11 23:55 UTC
Fromcestmirl at freeside dot sk
Assignedmj
StatusClosed
PackageXML_RSS
PHP Version4.3.4
OSLinux Debian
Roadmaps(Not assigned)

Comments

[2004-01-11 23:55 UTC] cestmirl at freeside dot sk

Description:
------------
I found the following problem in RSS.php in XML_RSS v0.9.2 package.

There should be insideTagStack instead of just scalar insideTag memeber.

When processing e.g.:
<channel><image></image><title></title>...</channel>
structure, <title> element is not processed correctly, because insideTag is cleaned-up to empty string after processing of </image> in endHandler() method. Instead, it should be set back to 'channel' at that time.

I've put patched version here:
http://www.omikron.sk/downloads/RSS.php.gz
(see !!! commented lines)

[2004-02-10 21:22 UTC] criley at risanet dot com

Thanks for the information fixed my problem as www.scrappleface.com's feed was making me a tad insane.