Skip Menu |
 

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

Report information
The Basics
Id: 44082
Status: resolved
Priority: 0/
Queue: XML-FeedPP

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

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



Subject: parse method refuses feeds with UTF-8 BOM
Download (untitled) / with headers
text/plain 364b
Feeds given as a string to XML::FeedPP->parse aren't detected as strings properly if they begin with a UTF-8 BOM. The underlying parsing library, XML::TreePP, will handle the feeds properly though. Although fixing the auto-detection in that case would be good, it may also be good to have alternate methods that directly specify whether a file, URL, or a string.
RT-Send-CC: xml-feedpp [...] yahoogroups.com
Download (untitled) / with headers
text/plain 209b
Next release will support BOM. http://xml-treepp.googlecode.com/svn/trunk/XML-FeedPP/lib/XML/FeedPP.pm from_url(), from_file() and from_string() methods are not supported yet. It's a good suggestion, thanks.
From: haaarg [...] gmail.com
Download (untitled) / with headers
text/plain 392b
On Sat Mar 21 09:45:20 2009, KAWASAKI wrote: Show quoted text
> Next release will support BOM. > > http://xml-treepp.googlecode.com/svn/trunk/XML-FeedPP/lib/XML/FeedPP.pm > > from_url(), from_file() and from_string() methods are not supported yet. > It's a good suggestion, thanks.
I note that with this fix the XML declaration is no longer anchored at the start of the string. Is that an intended change?
Download (untitled) / with headers
text/plain 294b
Version 0.40 was now released. It accepts -type option on new()/load() methods to specify the type of source. ex. XML::FeedPP->new( "index.rss", -type => 'file' ); XML::FeedPP->new( "http://use.perl.org/index.rss", -type => 'url' ); XML::FeedPP->new( "<rss version=...", -type => 'string' );


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.