Originally posted by Prashant Mishra:
I know its becoz of the prolog
This message quite often means there is content
before the prolog. Commonly this content is whitespace which you don't notice.
It might help if you looked at the document again. Does the prolog start at the beginning of the first line? If it doesn't, then you have a malformed document. And you
do have the right to ask people not to send you malformed documents.