I am using TinyXML to parse an XML string get from webservice, sometimes there are errors in the XML and my application is blowed off. Can TinyXML use XSD to validate XML file?
If not, How can I catch the exception when I try to read an non-exists node from XML file so that I know the xml is corrupted.
thanks
-rockdate
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using TinyXML to parse an XML string get from webservice, sometimes there are errors in the XML and my application is blowed off. Can TinyXML use XSD to validate XML file?
If not, How can I catch the exception when I try to read an non-exists node from XML file so that I know the xml is corrupted.
thanks
-rockdate