title: DTD prohibited in xml document exception
body: <p>I'm getting this error when trying to parse through an XML document in a C# application:</p>
  
  <blockquote>
    <p>"For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method."</p>
  </blockquote>
  
  <p>For reference, the exception occurred at the second line of the following code:</p>
  
  <pre><code>using (XmlReader reader = XmlReader.Create(uri))
  {
      reader.MoveToContent(); //here
  
      while (reader.Read()) //(code to parse xml doc follows).
  </code></pre>
  
  <p>My knowledge of Xml is pretty limited and I have no idea what DTD processing is nor how to do what the error message suggests. Any help as to what may be causing this and how to fix it? thanks...</p>