I am trying to deserialize an xml string in C # using the following
XmlSerializer serializer = new XmlSerializer(typeof(Application)); App = (Application)serializer.Deserialize(xmlString);
Everything works well when the xml is pretty printed, but when I have all the xml in a separate deserialization, error with error
There is an error in the XML document (1, 2). The name cannot begin with the character '.' character, hexadecimal value 0x00. Line 1, position 2. "
I checked that xml is valid as such.
Does anyone know what can be done to overcome this problem?
source share