title: Why I get An error occurred while parsing EntityName when I try to load xml file?
body: <p>I have this xml data</p>
  
  <pre><code>&lt;Categories&gt;
      &lt;cat name="Appliances"&gt;&lt;/cat&gt;
      &lt;cat name="Arts, Crafts &amp; Sewing"&gt;&lt;/cat&gt;
      &lt;cat name="Automotive"&gt;&lt;/cat&gt;
      &lt;cat name="Baby"&gt;&lt;/cat&gt;
  &lt;/Categories&gt;
  </code></pre>
  
  <p>and I use this code to read the data into combobox:</p>
  
  <pre><code>XmlDocument xDoc = new XmlDocument();
  xDoc.Load("cat.xml");
  XmlNodeList cats = xDoc.GetElementsByTagName("cat");
  for (int i = 0; i &lt; cats.Count; i++)
  {
     comboBox1.Items.Add(cats[i].Attributes["name"].InnerText);
  }
  </code></pre>
  
  <p>but at line <code>xDoc.Load("cat.xml");</code> I get error:</p>
  
  <blockquote>
    <p>An unhandled exception of type 'System.Xml.XmlException' occurred in
    System.Xml.dll An error occurred while parsing EntityName. Line 3,
    position 30.</p>
  </blockquote>
  
  <p>what this mean ?</p>