hi, first of all thanks for the reply.
i can not give you the entire code....but i can tell you what i am doing followed by snippets from the entire code..
This is where i am creating the xmlStreamReader-
and in the same class i am using -
The problem is that the comment field is giving wrong output as mentioned in the first post when used with SJSXP.jar.With stax-1.1.2-dev.jar it is working fine.