C# SyndicationFeed对象-';元素';是无效的XmlNodeType-第2799行,位置4

C# SyndicationFeed对象-';元素';是无效的XmlNodeType-第2799行,位置4,c#,.net,C#,.net,当我在这一行执行应用程序时,出现以下错误SyndicationFeed=SyndicationFeed.Load(reader): 'Element' is an invalid XmlNodeType - Line 2799, position 4 这是我的代码: namespace y { public class Database { public void GetDatas(String url) { XmlReader reade

当我在这一行执行应用程序时,出现以下错误
SyndicationFeed=SyndicationFeed.Load(reader)

'Element' is an invalid XmlNodeType - Line 2799, position 4
这是我的代码:

namespace y
{
   public class Database
   {
      public void GetDatas(String url) 
      {
        XmlReader reader = XmlReader.Create("C:\\Users\\Lolo\\Desktop\\fluxRSS.xml");  
        SyndicationFeed feed = SyndicationFeed.Load(reader);

        foreach (SyndicationItem item in feed.Items) {
            String t = item.Title.Text;
            String o = item.Summary.Text;
            String p = item.Content.Type;
        }
      }
   }
}
fluxRSS.xml的结构如下:

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Recettes</title>
    <link>http://www.lebruitdufrigo.fr/recettes.php?action=toutes_les_recettes</link>
    <image>
      <title>Recettes</title>
      <link>http://www.lebruitdufrigo.fr/recettes.php?action=toutes_les_recettes</link>
      <url>http://www.lebruitdufrigo.fr/medias/clipart/recette_big.png</url>
    </image>
    <description>les dernières recettes déposées</description>
    <item>
      <title>salade marocaine</title>
      <link>http://www.lebruitdufrigo.fr/recette.php?id=275</link>
      <description>la dernière recette de Ben</description>
      <pubDate>Sat, 03 Nov 2012 21:00:42 +0100</pubDate>
    </item>
    //other items
  </channel>
 <channel>
 //other items
 </channel>
</rss>

接收器
http://www.lebruitdufrigo.fr/recettes.php?action=toutes_les_recettes
接收器
http://www.lebruitdufrigo.fr/recettes.php?action=toutes_les_recettes
http://www.lebruitdufrigo.fr/medias/clipart/recette_big.png
德尔尼埃酒店
马罗卡沙拉
http://www.lebruitdufrigo.fr/recette.php?id=275
拉德尼耶酒店
2012年11月3日星期六21:00:42+0100
//其他项目
//其他项目
我注意到,如果我删除了第二个和最后一个频道标签的所有内容,我总是会有相同的错误,但是如果我完全删除了第二个频道标签,我就不会再有任何错误了


您有解决此问题的解决方案吗?

示例RSS XML错误-第一个频道关闭标记是
频道
,而不是
频道
。可能是重复的