This is very strange but i am unable to parse a well formed xml file using EXPAT. The parsar parses the file at times and at times shows error for the same file.