- Package:
- libxml-treepp-perl
- Source:
- libxml-treepp-perl
- Submitter:
- Anthony DeRobertis
- Date:
- 2013-08-22 00:45:07 UTC
- Severity:
- normal
- Tags:
When trying to parse the feed at http://www.americastestkitchen.com/radio/rss/iTunesRSSFeed.xml FeedPP gives error: Invalid string: [\xFEFF] before <?xml version="1.0" encoding="utf-8"?> at /usr/share/perl5/XML/FeedPP.pm line 553 The XML standard allows a byte order mark, so this shouldn't be rejected by FeedPP. (Maybe this bug really belongs to libxml-treepp-perl, I'm not sure, but both modules have the same author, so...)
Thanks for your bug report, I've forwarded it upstream. Cheers, gregor
Hi, Anthony DeRobertis wrote: [...] Grepping through the source code of both modules shows that the error message actually comes in XML::TreePP indeed: /usr/share/perl5/XML/TreePP.pm:780: $self->warn( "Invalid string: [$ahead] before <$match>" ); There are two new upstream versions of XML::TreePP available, but this issue doesn't seem to be fixed upstream yet -- at least according to http://cpansearch.perl.org/src/KAWASAKI/XML-TreePP-0.41/Changes Maybe using File::BOM could help there. ... so it shouldn't be an issue that the upstream bug report currently is still file against the wrong perl module. :-) Regards, Axel