Bug 264099 - Akregator does not seem to hande initial Byte Order Mark in RSS files
Summary: Akregator does not seem to hande initial Byte Order Mark in RSS files
Status: RESOLVED NOT A BUG
Alias: None
Product: akregator
Classification: Applications
Component: feed parser (show other bugs)
Version: 1.6.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 18:12 UTC by Torsten Ekedahl
Modified: 2011-01-25 06:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Ekedahl 2011-01-23 18:12:06 UTC
Version:           1.6.5 (using KDE 4.5.5) 
OS:                Linux

Suddenly Akregator stopped accepting the feed 
http://www.dn.se/huvudnyheter-rss
reporting 'Could not read feed (unknown format)'.

Looking at the file it seems that it now has an initial Byte Order Mark (U+FEFF). This is something an UTF-8 encoded XML file may have (according to the XML standard) and therefore should be allowed.

Reproducible: Always

Steps to Reproduce:
Add http://www.dn.se/huvudnyheter-rss to feeds.

Actual Results:  
The feed becomes marked with a red square with a white cross and the above message is reported when cursor is put over the feed.

Expected Results:  
The feed should be working.

OS: Linux (i686) release 2.6.35-24-generic
Compiler: cc
Comment 1 Christophe Marin 2011-01-24 23:46:54 UTC
Sounds like the feed url is not valid. 
As far as I understand, http://www.dn.se/huvudnyheter-rss is redirected to an error page on www.dn.se
Comment 2 Torsten Ekedahl 2011-01-25 06:30:29 UTC
In the meantime they changed the URL to http://www.dn.se/toppnyheter-rss... However, that one still has the Byte Order Mark at the beginning but now Akregator accepts it. It seems that something else may have been wrong with the contents of the old URL and I misdiagnosed the reason. Sorry about that. In any case it works now.