error msg:Reference is not allowed in prolog

Hi All !!

My sincere apologies , if i am not posting to the relevant mailing list .. I am using Orbeon X-forms and  my problem is related to prolog .I have an xhtml file, which submits the xml instance to a jsp page.This jsp, i have deployed on tomcat server.I can see the submitted xml instance on tomcat server console. It appears like this :( on tomcat server console )

<?xml version="1.0" encoding="UTF-8"?><user xmlns:xhtml="http://www.w3.org/1999/
xhtml" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xxforms="http://orbe
on.org/oxf/xml/xforms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ev="htt
p://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms">
                                                    <firstname>garima</firstname>
                                                    <lastname>singh</lastname>
                                                    <age>23</age>
                                        </user>



 The problem arises, when i try to view the same on my jsp page, i receive an error msg as :
"Reference is not allowed in prolog"

I am not finding any clues for debugging . Can anyone plz suggest me the probable reason for this error msg.??

Thanks in advance !!

Regards,

Garima Singh

Received on Tuesday, 8 August 2006 10:50:42 UTC