I have an configuration xml file which has some values like
<config>
  <map>100,1,200,1</map>
  <image>abc.bmp</image>
  . 
  .
  .
  .
</config>
etc.
I imported the file read line by line all are done. I have to validate the fields in file. Like
1.  <map> " "</map> is not empty,no junk value, 
2.  <image>abc**,**bmp</im*E*ge> (spelling mistake)
3.  <image>abc.bmp </config> ( missing tags)
I have to develop a unique algorithm so that cant use libs . Is there any idea rather than loading and checking every one character by character?
