Logical question- how can we handle corrupted xml errors or invalid data?

How can we handle errors which happening at run time when parsing an XML document through a web service? How can we detect specified error when XML was crashed or with invalid escape characters and keep record of that error to inform user?

?????????
?????
???
??
?

I guess the answer is here...
http://www.ibm.com/developerworks/library/x-saxerror/index.html

Comments