Closed GoogleCodeExporter closed 9 years ago
Original comment by adewale
on 28 Feb 2010 at 1:42
According to this: http://beta.feedvalidator.org/check.cgi?
url=http://feedparser.googlecode.com/issues/attachment%3Faid%3D694305210089
0401728%26name%3Dvogue.xml#l12 and this:
http://cyber.law.harvard.edu/rss/rss.html that feed is seriously broken.
It has multiple image elements at the item level when the spec only permits one
image at the channel level. If you have any influence over the provider then
ask them
to produce something more useful since most tools will fall over when presented
with that feed.
Having said that, Feedparser shouldn't be throwing an exception here.
Do you have the URL you got the feed from?
Original comment by adewale
on 28 Feb 2010 at 1:53
> Do you have the URL you got the feed from?
Yes, it is http://www.vogue.de/rss/all/
Original comment by nikolay....@gmail.com
on 28 Feb 2010 at 5:19
Also, http://www.hemidemi.com/rss/bookmark/recent.xml has such issue as well as
some
other feeds.
I have attached a hack which fixes the issue. It is not ideal solution, but it
removes parsing error and not affecting tests.
Original comment by nikolay....@gmail.com
on 15 Apr 2010 at 1:34
Attachments:
This seems like a reasonable solution.
Could you add a test so that we can eliminate the risk that this bug gets
reintroduced by future changes.
Original comment by adewale
on 15 Apr 2010 at 2:46
@Adewale: please close this report as fixed.
Tested using svn trunk, the attached feed document, and both URLs provided.
This appears to have been fixed in r312:
https://code.google.com/p/feedparser/source/detail?r=312
Original comment by kurtmckee
on 5 Dec 2010 at 11:48
Original comment by adewale
on 13 Dec 2010 at 1:19
Original issue reported on code.google.com by
nikolay....@gmail.com
on 27 Feb 2010 at 8:00Attachments: