title: XMLTextReader not reading an element content
body: <pre><code>static void ReadXml()
  {
      string a= null;
      double b= 0;
      double c= 0;
      XmlReader xmlReader = new XmlReader("Testxml.xml");
      xmlReader.
      using (xmlReader)
      {
          if (xmlReader != null)
          { 
              while (xmlReader.Read())
              {
                  if (xmlReader.NodeType == XmlNodeType.Element)
                  {
                      switch (xmlReader.Name)
                      {
                          case "a":
                              a = xmlReader.ReadElementContentAsString();
  
                              break;
                          case "b":
                              b = double.Parse(xmlReader.ReadElementContentAsString());
  
                              break;
                          case "c":
                              c = double.Parse(xmlReader.ReadElementContentAsString());
  
                              break;
                      }
                  }
              }
          }
      }
  }
  </code></pre>
  
  <p>TestXML content:</p>
  
  <pre><code>&lt;a&gt;&lt;b&gt;26a83f12c782&lt;/b&gt;&lt;c&gt;128&lt;/c&gt;&lt;d&gt;12&lt;/d&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Case b is never hit. But If I add a space after end element of b, case b is hit. Now how to make it work without changing the xml file? </p>