DTD prohibited in xml document exception
I'm getting this error when trying to parse through an XML document in a C# application: "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." For reference, the exception occurred at the second line of the following code: using (XmlReader reader = XmlReader.Create(uri)) { reader.MoveToContent(); //here while (reader.Read()) //(code to parse xml doc follows). My knowledge of Xml is pretty limited and I have no idea what DTD processing is nor how to do