title: An XML document contains error (0,0)
body: <p>I have XML document:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;Menu&gt;
    &lt;MainMenu&gt;
      &lt;Meal&gt;Example1&lt;/Meal&gt;
      &lt;Meal&gt;Example1&lt;/Meal&gt;
      &lt;Meal&gt;Example1&lt;/Meal&gt;
      &lt;Meal&gt;Example1&lt;/Meal&gt;
      &lt;Meal&gt;Example1&lt;/Meal&gt;
      &lt;Meal&gt;Example1&lt;/Meal&gt;
    &lt;/MainMenu&gt;
  &lt;/Menu&gt;
  </code></pre>
  
  <p>And I whant to deserialize it as list in class <code>MainMenu</code>:</p>
  
  <pre><code>   [Serializable()]
      public class MainMenu
      {
          [System.Xml.Serialization.XmlElementAttribute("Meal")]
          private List&lt;string&gt; Meal;
  
          public MainMenu()
          {
              Meal = new List&lt;string&gt;();
          }
      }
  </code></pre>
  
  <p>By method: </p>
  
  <pre><code>private void MenuDeserializer()
  {
      MainMenu mainMenu = null;
      string path = "MenuXML.xml";
  
      XmlSerializer serializer = new XmlSerializer(typeof(MainMenu));
  
      StreamReader reader = new StreamReader(path);
      reader.ReadToEnd();
      mainMenu = (MainMenu)serializer.Deserialize(reader);
      reader.Close();
  }
  </code></pre>
  
  <p>Is this will deserialize all Meal's to my list? and if not than how to do this? When I'm trying to debug I get exception: Error at XML file (0,0), this (0,0) is confusing, where is problem and how to solve it?</p>