Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.0

Bug #557 insideTag stack required
Submitted: 2004-01-11 23:55 UTC
From: cestmirl at freeside dot sk Assigned: mj
Status: Closed Package: XML_RSS
PHP Version: 4.3.4 OS: Linux Debian
Roadmaps: (Not assigned)    
Subscription  


 [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)

Comments

 [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.
 [2004-02-19 18:58 UTC] mj
I have commited your patch to CVS.