Skip Menu |

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

Report information
The Basics
Id: 5858
Status: resolved
Priority: 0/
Queue: XML-RSS

People
Owner: Nobody in particular
Requestors: phli [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 1.01
  • 1.04
Fixed in: (no value)



Subject: outputting $self->{channel}->{lastBuildDate}
I've found this bug in versions 1.01 and 1.04. I think it's safe to assume it's in 1.02 and 1.03 and has been around a while. Attached a patch to 1.04, but it might be ugly and Windows linebreaky. Very simple problem: in the call to as_rss_0_9_1(), after it checks for the existence of $self->{channel}->{lastBuildDate}, it then outputs $self->{channel}->{pubDate}. So if you make an RSS 0.91 feed with a lastBuildDate but no pubDate, you find that it's spitting out a blank element for lastBuildDate.

Message body is not shown because it is too large.

fixed in CVS, 1.05 should be out shortly. [guest - Wed Mar 31 12:21:34 2004]: Show quoted text
> I've found this bug in versions 1.01 and 1.04. I think it's safe to > assume it's in 1.02 and 1.03 and has been around a while. Attached > a patch to 1.04, but it might be ugly and Windows linebreaky. > > Very simple problem: in the call to as_rss_0_9_1(), after it checks > for the existence of $self->{channel}->{lastBuildDate}, it then > outputs $self->{channel}->{pubDate}. So if you make an RSS 0.91 > feed with a lastBuildDate but no pubDate, you find that it's > spitting out a blank element for lastBuildDate.