Skip Menu |

This queue is for tickets about the XML-RSS CPAN distribution.

Report information
The Basics
Id: 100976
Status: new
Priority: 0/
Queue: XML-RSS

Owner: Nobody in particular
Requestors: mail [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Error reading html content inside rss feed entry
Date: Wed, 17 Dec 2014 17:11:19 -0300
To: bug-XML-RSS [...]
From: Pablo Nuñez <mail [...]>
Download (untitled) / with headers
text/plain 1.8k
i´m trying to parse and read the content of a rss feed and getting an error. this is my rss feed file (for test porpose) <?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:Test=""><channel> <title>Deportes -</title> <link></link> <description>Últimas noticias de deportes</description> <item> <title><![CDATA[El 'Chacho' Coudet es el nuevo entrenador de Rosario Central]]></title> <link></link> <description><![CDATA[El&nbsp;Chacho, Tengo mucha alegr&iacute;a y ganas de empezar a trabajar.&nbsp;No esperaba que sea ac&aacute;&rdquo;, reconoci&oacute;.]]></description> <category><![CDATA[Deportes]]></category> <pubDate>15 12 2014 06:15:0 +0000</pubDate> <enclosure url="" type="image/jpeg"><![CDATA[El Chacho Coudet]]></enclosure> <author><![CDATA[]]></author> <content><![CDATA[<p>Eduardo Coudet&nbsp;fue presentado como nuevo entrenador deRosario Central&nbsp.</p> ]]></content> </item> </channel></rss> this is my script file. #!/usr/bin/perluse strict;use warnings;use XML::Feed; my $feed = XML::Feed->parse("test.xml"); for my $entry ($feed->entries) { print $entry->content; } when i run this code i get this error. Can't use string ("<p>Eduardo Coudet&nbsp;fue prese"...) as a HASH ref while "st rict refs" in use at C:/Strawberry/perl/site/lib/XML/Feed/Entry/Format/ li ne 91. i think is a bug inside XML::Feed Can someone help me ? thanks, regards *| Pablo Nuñez **|*
Download (untitled) / with headers
text/html 24.9k

Message body is not shown because it is too large.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to