Deserializing the comments in XML file
I am trying to deserialize the following sample XML file.I have created the schema for this XML file.With the help of schema i am able to deserialize the XML into object. But my problem is i have a XML comments(ex: <!----Test--> ) on my XML file.Deserializer is not reading the comments from the XML to object which i created using schema. And also i noted there is no entry available in schema for the comment node. How can i read the comments from XML file to object? The point of object serialization is to save the state of an object, and restore it later. Object fields are mapped to XML