Deserialization is the process of reading an instance of an XML document and constructing. Available since 2. There is an error in XML Document ( 0, 0). The error has always been ( 0, 0), never anything else. org/ / 05/ soap- envelope was what it already was, right? When i am doing Deserialize of xml i am getting " There is an error in XML document. that the error occurred. One more thing XML file stores its data. The problem is that your element is named DataMapping and your class is named Mapping. You can either rename the class to DataMapping or add the XmlRoot attribute to the class [ Serializable] public class DataMapping {. i get this error while deserializing. there is an error in xml document ( 0, 0). C# / C Sharp Forums on Bytes. I' m trying to deserialize the following XML :