petea / sage

A feed reader for Firefox.
http://sagerss.com
27 stars 8 forks source link

Poorly formatted feed causes an XML Parse Error #19

Closed petea closed 11 years ago

petea commented 11 years ago

Original author: gche...@yahoo.com (July 06, 2010 16:56:46)

What steps will reproduce the problem?

  1. load the feed: http://www.trackandfieldnews.com/tfn/news/rss.jsp 2. 3.

What is the expected output? What do you see instead?

I expect to see headlines for the track and field news feed but instead I get an xml parse error

What version of the product are you using? On what operating system?

I'm using Windows Vista and Sage Version 1.4.6

Please provide any additional information below.

Original issue: http://code.google.com/p/sage/issues/detail?id=19

petea commented 11 years ago

From Peter.A....@gmail.com on August 26, 2010 06:20:39 Technically this feed is malformed:

http://validator.w3.org/feed/check.cgi?url=http://www.trackandfieldnews.com/tfn/news/rss.jsp

Sage uses Firefox's strict XML parser to interpret the feed and the invalid encoding here causes it to break. Firefox's feed parser is a little more easy going and deals with the malformed XML. This is one of several reasons we should be using Firefox's feed parser.

petea commented 11 years ago

The feed is malformed and the Mozilla feed processor cannot fully parse it. This is working as intended.