Dealing with XML errors in RSS feeds using SyndicationFeed.Load

Posted by Ben Aston on Stack Overflow See other posts from Stack Overflow or by Ben Aston
Published on 2010-03-25T17:02:16Z Indexed on 2010/03/25 17:03 UTC
Read the original article Hit count: 812

Filed under:
|
|

When reading in a 3rd party RSS feed an XMLException is thrown due to an invalid DateTime in the feed XML.

How can I handle this more robustly. For example, is there a way to catch the exception, identify the problematic element and deal with it?

© Stack Overflow or respective owner

Related posts about rss

Related posts about syndicationfeed