XML Deserialization Null Exception
I have an XML element which usually looks like this
It is possible thought that someone deleted the whole cdata part and if that happened, when trying to deserialize it, I get a NullReferenceException.
How can I prevent this exception?
It is possible thought that someone deleted the whole cdata part and if that happened, when trying to deserialize it, I get a NullReferenceException.
How can I prevent this exception?