Skip Menu |

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

Report information
The Basics
Id: 1416
Status: resolved
Worked: 5 min
Priority: 0/
Queue: XML-RSS

People
Owner: Nobody in particular
Requestors: iarenaza [...] escomposlinux.org
Cc:
AdminCc:

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



Subject: 'enconding' attribute ignored on RSS v0.9 objects
perl 5.6.1 XML:RSS 0.97 Debian GNU/Linux Woody (3.0) Kernel 2.2.19 glibc 2.2.5 I'm not sure if the standards allow this (putting an 'enconding' attibute in RSS 0.9 documents) but it's common practice and very useful indeed. patch: --- RSS.pm Fri Aug 9 21:52:07 2002 +++ RSS.pm.new Fri Aug 9 21:35:47 2002 @@ -429,7 +429,7 @@ my $output; # XML declaration - $output .= '<?xml version="1.0"?>'."\n\n"; + $output .= '<?xml version="1.0" encoding="'.$self->{encoding}.'"?>'."\n\n"; # RDF root element
I've applied this patch. it is fixed in version 0.98_01 available on CPAN. XML::RSS is now a SourceForge project: http://www.sourceforge.net/projects/perl-rss