Home » XML » XML_RSS » Bug #557
insideTag stack required
Details
| 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) |
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.