Hi All !!
I have just started work on Orbeon X-forms, and have been stuck at a problem, from quite some time . A similar problem was posted , few days back, but i could not find a solution to my problem. I am submitting the xml instance to a jsp, deployed on external tomcat server.I am able to, view the submitted xml , on tomcat server console , but when i try to view the same in jsp page using out.println, i receive an exception and an error message: exception is: org.orbeon.oxf.common.ValidationException error message is : The processing instruction target matching "[xX][mM][lL]" is not allowed. The stacktrace is : Class name File name org.orbeon.oxf.processor.StreamInterceptor parse StreamInterceptor.java org.orbeon.oxf.portlet.processor.PortletIncludeGenerator$1 readImpl PortletIncludeGenerator.java org.orbeon.oxf.processor.ProcessorImpl$6 read ProcessorImpl.java org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl read ProcessorImpl.java org.orbeon.oxf.processor.ProcessorImpl readInputAsSAX ProcessorImpl.java org.orbeon.oxf.processor.pipeline.PipelineProcessor access$000 PipelineProcessor.java org.orbeon.oxf.processor.pipeline.PipelineProcessor$2 run PipelineProcessor.java org.orbeon.oxf.processor.ProcessorImpl executeChildren ProcessorImpl.java org.orbeon.oxf.processor.pipeline.PipelineProcessor access$100 PipelineProcessor.java org.orbeon.oxf.processor.pipeline.PipelineProcessor$1 readImpl PipelineProcessor.java org.orbeon.oxf.processor.ProcessorImpl$6 read ProcessorImpl.java org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl read ProcessorImpl.java org.orbeon.oxf.processor.pipeline.ForEachProcessor$1 readImpl ForEachProcessor.java org.orbeon.oxf.processor.ProcessorImpl$6 read ProcessorImpl.java org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl read ProcessorImpl.java org.orbeon.oxf.xml.ProcessorOutputXMLReader parse ProcessorOutputXMLReader.java Pls suggest the probable solution. Thanks a lot. Regards, Angela..
Here's a new way to find what you're looking for - Yahoo! Answers Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
This is probably because the output of your JSP is being processed by
OPS. This will happen if you put your JSP under the xforms-jsp, as that automatically triggers the execution of a filter defined in web.xml. That processing tries to parse the output of JSP as XML before being processed by the XForms engine. So if your JSP page outputs invalid XML, such as when using println of XML in the middle of the page as you are doing, you will have an error. So either: 1. Make sure your JSP page is producing well-formed XML. 2. Move your JSP out of xforms-jsp or disable the filter in web.xml. -Erik angela rodrix wrote: > Hi All !! > > I have just started work on Orbeon X-forms, and have been stuck at a > problem, from quite some time . A similar problem was posted , few days > back, but i could not find a solution to my problem. > I am submitting the xml instance to a jsp, deployed on external tomcat > server.I am able to, > view the submitted xml , on tomcat server console , but when i try to > view > the same in jsp page using out.println, i receive an exception and an error > message: > exception is: org.orbeon.oxf.common.ValidationException > error message is : The processing instruction target matching > "[xX][mM][lL]" is not allowed. > The stacktrace is : > > Class > name > > File name > org.orbeon.oxf.processor.StreamInterceptor > parse > StreamInterceptor.java > org.orbeon.oxf.portlet.processor.PortletIncludeGenerator$1 > readImpl > PortletIncludeGenerator.java > org.orbeon.oxf.processor.ProcessorImpl$6 > read > ProcessorImpl.java > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl > read > ProcessorImpl.java > org.orbeon.oxf.processor.ProcessorImpl > readInputAsSAX > ProcessorImpl.java > org.orbeon.oxf.processor.pipeline.PipelineProcessor > access$000 > PipelineProcessor.java > org.orbeon.oxf.processor.pipeline.PipelineProcessor$2 > run > PipelineProcessor.java > org.orbeon.oxf.processor.ProcessorImpl > executeChildren > ProcessorImpl.java > org.orbeon.oxf.processor.pipeline.PipelineProcessor > access$100 > PipelineProcessor.java > org.orbeon.oxf.processor.pipeline.PipelineProcessor$1 > readImpl > PipelineProcessor.java > org.orbeon.oxf.processor.ProcessorImpl$6 > read > ProcessorImpl.java > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl > read > ProcessorImpl.java > org.orbeon.oxf.processor.pipeline.ForEachProcessor$1 > readImpl > ForEachProcessor.java > org.orbeon.oxf.processor.ProcessorImpl$6 > read > ProcessorImpl.java > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl > read > ProcessorImpl.java > org.orbeon.oxf.xml.ProcessorOutputXMLReader > parse > ProcessorOutputXMLReader.java > > > > Pls suggest the probable solution. > Thanks a lot. > > Regards, > Angela.. > > ------------------------------------------------------------------------ > Here's a new way to find what you're looking for - Yahoo! Answers > <http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/> > Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. > Get it NOW > <http://in.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com> > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |