XML : XMLlite doesn't parse whole file

I have been using Xmllite in my projects for some time. Recently i have faced to a problem with it. Xmllite accurately parse proper valid xml files. But when it comes to invalid xml files it neglects them. For a example,

  <inargs>      <inargs>      </inargs>  </inargs>  </inargs>    

Xmllite parse first 4 tags and neglect last tag. So the problem is, i can't find invalid xml files. Invalid Xml files like this can't be caught because parser neglects some tags. So Is there anyway to parse the whole xml file using Xmllite or is there a workaround to find such files.

No comments:

Post a Comment