commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew McCall <>
Subject [feedparser] RSS enclosures without length attribute
Date Thu, 05 Jan 2006 16:50:00 GMT

    In using the feedparser API I've encountered a number of RSS feeds 
that are missing the lenght attribute for enclosures. This causes 
feedparser to throw a NPE. The standard does say that length is a 
required element, but in practice it's being ignored. I've attached a 
patch if anyone is interested. The length if not provided in the feed is 
set to 0.

You'll need to apply the patches I submited yesterday first.

Andrew McCall

View raw message