Quantcast
Channel: Error Loading RSS XML: Element 'channel' with namespace name '' was not found. - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Error Loading RSS XML: Element 'channel' with namespace name '' was not found.

$
0
0

I have an exception here

var stream = e.Result;var response = XmlReader.Create(stream);var feeds = SyndicationFeed.Load(response); // IT IS HERE

The exception

Element 'channel' with namespace name '' was not found. Line 8, position 2.

RSS looks like:

<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><atom:link href="http://dallas.example.com/rss.xml" rel="self" type="application/rss+xml" /> <channel> <title>News</title><link>http://www.samsung.com/us</link> <description>News</description> ...

http://validator.w3.org/feed/ says that "This is a valid RSS feed." (You can check it here http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.samsung.com%2Fus%2Ffunction%2Frss%2FrssFeedItemList.do%3FctgryCd%3D101%26typeCd%3DNEWS)

So I have no clue whats happening... :(

Can we workaround to suppress some of the validation message of the SyndicationFeed class?

Thank you for ANY solution that will give me the chance forget about this exception!


Viewing all articles
Browse latest Browse all 3

Trending Articles