Skip Menu |

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

Report information
The Basics
Id: 35706
Status: rejected
Priority: 0/
Queue: XML-Feed

People
Owner: simonw [...] cpan.org
Requestors: claco [...] cpan.org
Cc:
AdminCc:

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



Subject: undef in Atom, '' in RSS
After calling parse on an Atom feed with no tagline/description, $feed->tagline/description return undef. After calling parse on an RSS feed with no tagline/description, $feed->tagline/description return ''. Some consistancy either way would be nice.
RT-Send-CC: SHLOMIF [...] cpan.org
This looks like it's an issue with XML::RSS - Shlomi may argue against this but IMO an empty tag such as <description></description> should return '' and a non existent one should return undef but, at the moment, they both return ''. The current behaviour looks like it's specifically baked into XML::RSS but I've only had a quick look so I could be wrong. Please feel free to reopen the ticket if I'm wrong though.