Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

BinGOs (7246)

  (email not shown publicly)

System administrator, part-time Perl hacker, full-time POE [] evangelist. One day he will be made to pay for his crimes.

He has some modules on CPAN []. They may or may not be useful

Journal of BinGOs (7246)

Monday September 22, 2008
07:02 AM

I'm not sure who to blame, but I am not bloody happy

[ #37507 ]

I run a few smokers that use the RSS recent uploads feed from

These have been happily running years without problems until a couple of days ago.

Now I am seeing:

[search-cpan-recent] [!!] Failed to parse RSS XML: reference to invalid character number at line 580, column 58, byte 28109 at /Library/Perl/5.8.6/darwin-thread-multi-2level/XML/ line 187


So who is to blame.

I start trailing backwards through the twisted dependencies to how I got here.

So, I'm using POE::Component::RSSAggregator, which is using XML::RSS::Feed, which is using XML::RSS, which is using XML::Parser. Nothing obviously wrong anywhere there.

Okay, let's look at the actual RDF file.

Aha. On the line 580 of that we have a  character. Which leads me to here.

So now I am bashing my head of the keyboard, cursing.

Pesky edge cases.

Update: I reported the problem and Graham has swiftly resolved the issue. Many thanks, Graham.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.