Hi,
I'm trying to load an XML file as a form instance into my xform. I get the error message: 'Illegal HTML character: decimal 128' when trying to load the xform. The file I load as an instance contains Japanese characters (the 128 is part of such a character. I'm not trying to include a euro sign or something). The xform is generated by a JSP file. I found an entry in the FAQ about this (5.3: http://www.orbeon.com/ops/doc/home-faq#illgal-html-character), but I'm still unsure what to do. I tried adding the header: <?xml version="1.0" encoding="utf-8"?> To the JSP file generating the Xform and to the xml file containing the instance data, but to no avail. An example of a tag containing the character 128: <ExchangeRate>取引所データ料金に対するご請求金額には5%の事務手数料が含まれておりますのでご了承ください。</ExchangeRate> The error details show that the error occurs in oxf:/config/theme-plain.xsl on line 66 Here's the stacktrace form the logs: Illegal HTML character: decimal 128 2007-11-12 07:42:15,890 ERROR ProcessorService - Exception at line 66 of oxf:/config/theme-plain.xsl ; SystemID: oxf:/config/theme-plain.xsl; Line#: 66; Column#: -1 org.orbeon.saxon.trans.DynamicError: Illegal HTML character: decimal 128 at org.orbeon.saxon.event.HTMLEmitter.writeEscape(HTMLEmitter.java:328) at org.orbeon.saxon.event.XMLEmitter.characters(XMLEmitter.java:550) at org.orbeon.saxon.event.HTMLEmitter.characters(HTMLEmitter.java:414) at org.orbeon.saxon.event.HTMLIndenter.characters(HTMLIndenter.java:162) at org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) at org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) at org.orbeon.saxon.event.ReceivingContentHandler.flush(ReceivingContentHandler.java:425) at org.orbeon.saxon.event.ReceivingContentHandler.endElement(ReceivingContentHandler.java:332) at org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContentHandler.java:52) Any help would be much appreciated, Sincerely, Gerrit -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Could you provide a longer stack trace sowe can see who is calling that
code? It doesn't seem like the issue occurs at parsing time here. Note that adding an XML declarationt with "utf-8" is recommended, but that's the default in XML if you omit the declaration. However, what is important is that your JSP actually outputs the XML using the UTF-8 encoding. Do the characters display correctly into a web browser if you just send the XML from your JSP to the browser? -Erik Gerrit Germis wrote: > Hi, > > I'm trying to load an XML file as a form instance into my xform. I get the error message: 'Illegal HTML character: decimal 128' when trying to load the xform. The file I load as an instance contains Japanese characters (the 128 is part of such a character. I'm not trying to include a euro sign or something). The xform is generated by a JSP file. > > I found an entry in the FAQ about this (5.3: http://www.orbeon.com/ops/doc/home-faq#illgal-html-character), but I'm still unsure what to do. I tried adding the header: > > <?xml version="1.0" encoding="utf-8"?> > > To the JSP file generating the Xform and to the xml file containing the instance data, but to no avail. > > > An example of a tag containing the character 128: > <ExchangeRate>取引所データ料金に対するご請求金額には5%の事務手数料が含まれておりますのでご了承ください。</ExchangeRate> > > > The error details show that the error occurs in oxf:/config/theme-plain.xsl on line 66 > > Here's the stacktrace form the logs: > > Illegal HTML character: decimal 128 > 2007-11-12 07:42:15,890 ERROR ProcessorService - Exception at line 66 of oxf:/config/theme-plain.xsl > ; SystemID: oxf:/config/theme-plain.xsl; Line#: 66; Column#: -1 > org.orbeon.saxon.trans.DynamicError: Illegal HTML character: decimal 128 > at org.orbeon.saxon.event.HTMLEmitter.writeEscape(HTMLEmitter.java:328) > at org.orbeon.saxon.event.XMLEmitter.characters(XMLEmitter.java:550) > at org.orbeon.saxon.event.HTMLEmitter.characters(HTMLEmitter.java:414) > at org.orbeon.saxon.event.HTMLIndenter.characters(HTMLIndenter.java:162) > at org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) > at org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) > at org.orbeon.saxon.event.ReceivingContentHandler.flush(ReceivingContentHandler.java:425) > at org.orbeon.saxon.event.ReceivingContentHandler.endElement(ReceivingContentHandler.java:332) > at org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContentHandler.java:52) > > > Any help would be much appreciated, > > Sincerely, > Gerrit > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Gerrit Germis-2
Hi Erik,
Thanks for taking the time to respond. The problem seems to arise when I try to use the xforms-ready mechanism to dynamically get my instance data from an XML file rather than hard-coding it in the xform generated by the JSP file. I have attached 2 JSP files, one ("ok.jsp") with the instance embedded (which works fine for me), the other ("problem.jsp") with the xforms-ready mechanism (which gives me the error message about 'Illegal HTML character'). As you requested, here's the full stacktrace from such an error: Illegal HTML character: decimal 143 2007-11-13 10:50:34,828 ERROR ProcessorService - Exception at line 68 of oxf:/config/theme-plain.xsl ; SystemID: oxf:/config/theme-plain.xsl; Line#: 68; Column#: -1 org.orbeon.saxon.trans.DynamicError: Illegal HTML character: decimal 143 at org.orbeon.saxon.event.HTMLEmitter.writeEscape(HTMLEmitter.java:328) at org.orbeon.saxon.event.XMLEmitter.characters(XMLEmitter.java:550) at org.orbeon.saxon.event.HTMLEmitter.characters(HTMLEmitter.java:414) at org.orbeon.saxon.event.HTMLIndenter.characters(HTMLIndenter.java:178) at org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) at org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) at org.orbeon.saxon.event.ReceivingContentHandler.flush(ReceivingContentHan dler.java:425) at org.orbeon.saxon.event.ReceivingContentHandler.endElement(ReceivingConte ntHandler.java:332) at org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContent Handler.java:52) at org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContent Handler.java:52) at org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContent Handler.java:52) at org.orbeon.oxf.processor.converter.QNameConverter$3.endElement(QNameConv erter.java:140) at org.orbeon.oxf.xml.SimpleForwardingContentHandler.endElement(SimpleForwa rdingContentHandler.java:41) at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$3.endElement(X SLTTransformer.java:281) at org.orbeon.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProx y.java:378) at org.orbeon.saxon.event.ProxyReceiver.endElement(ProxyReceiver.java:170) at org.orbeon.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java :185) at org.orbeon.saxon.event.ComplexContentOutputter.endElement(ComplexContent Outputter.java:388) at org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat or.java:253) at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:152) at org.orbeon.saxon.instruct.Template.applyLeavingTail(Template.java:99) at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j ava:319) at org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:189) at org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:149 ) at org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat or.java:250) at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:152) at org.orbeon.saxon.instruct.Template.applyLeavingTail(Template.java:99) at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j ava:319) at org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:189) at org.orbeon.saxon.instruct.ApplyTemplates.processLeavingTail(ApplyTemplat es.java:153) at org.orbeon.saxon.instruct.Block.processLeavingTail(Block.java:353) at org.orbeon.saxon.instruct.Instruction.process(Instruction.java:91) at org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat or.java:250) at org.orbeon.saxon.instruct.Block.processLeavingTail(Block.java:353) at org.orbeon.saxon.instruct.Instruction.process(Instruction.java:91) at org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat or.java:250) at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:152) at org.orbeon.saxon.instruct.Template.applyLeavingTail(Template.java:99) at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j ava:319) at org.orbeon.saxon.instruct.ApplyTemplates.defaultAction(ApplyTemplates.ja va:351) at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j ava:312) at org.orbeon.saxon.Controller.transformDocument(Controller.java:1602) at org.orbeon.saxon.TransformerHandlerImpl.endDocument(TransformerHandlerIm pl.java:134) at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:206) at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSL TTransformer.java:354) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :353) at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor. java:33) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineP rocessor.java:66) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProces sor.java:96) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineP rocessor.java:66) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineP rocessor.java:94) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readI mpl(ConcreteChooseProcessor.java:121) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :353) at org.orbeon.oxf.processor.converter.QNameConverter.access$400(QNameConver ter.java:34) at org.orbeon.oxf.processor.converter.QNameConverter$1.readImpl(QNameConver ter.java:74) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.serializer.legacy.HTMLSerializer.readInput(HTML Serializer.java:54) at org.orbeon.oxf.processor.serializer.HttpTextSerializer$1.readImpl(HttpTe xtSerializer.java:101) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.serializer.HttpSerializer.readInput(HttpSeriali zer.java:42) at org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerial izerBase.java:147) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorI mpl.java:488) at org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSeriali zerBase.java:138) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(C oncreteChooseProcessor.java:229) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(C oncreteChooseProcessor.java:229) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(C oncreteChooseProcessor.java:229) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.jav a:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc her.java:691) at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio nDispatcher.java:469) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp atcher.java:403) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat cher.java:301) at org.orbeon.oxf.servlet.OPSXFormsFilter.doFilter(OPSXFormsFilter.java:85) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:188) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal( CharacterEncodingFilter.java:78) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequ estFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 51) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87 0) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc essConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint .java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow erWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:685) at java.lang.Thread.run(Thread.java:595) Cheers Gerrit -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: Monday, November 12, 2007 23:10 PM To: [hidden email] Subject: Re: [ops-users] Illegal HTML character Could you provide a longer stack trace sowe can see who is calling that code? It doesn't seem like the issue occurs at parsing time here. Note that adding an XML declarationt with "utf-8" is recommended, but that's the default in XML if you omit the declaration. However, what is important is that your JSP actually outputs the XML using the UTF-8 encoding. Do the characters display correctly into a web browser if you just send the XML from your JSP to the browser? -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws test-data.xml (328 bytes) Download Attachment ok.jsp (960 bytes) Download Attachment problem.jsp (1K) Download Attachment |
In reply to this post by Gerrit Germis-2
Nevermind, I'm an idiot! :/
Problem was that the xml file shouldn't be located anywhere in /xforms-jsp/*. After I moved it to /test-data.xml, it started working. Cheers, Gerrit -----Original Message----- From: Gerrit Germis [mailto:[hidden email]] Sent: Tuesday, November 13, 2007 11:04 AM To: [hidden email] Subject: RE: [ops-users] Illegal HTML character Hi Erik, Thanks for taking the time to respond. The problem seems to arise when I try to use the xforms-ready mechanism to dynamically get my instance data from an XML file rather than hard-coding it in the xform generated by the JSP file. I have attached 2 JSP files, one ("ok.jsp") with the instance embedded (which works fine for me), the other ("problem.jsp") with the xforms-ready mechanism (which gives me the error message about 'Illegal HTML character'). As you requested, here's the full stacktrace from such an error: Illegal HTML character: decimal 143 2007-11-13 10:50:34,828 ERROR ProcessorService - Exception at line 68 of oxf:/config/theme-plain.xsl ; SystemID: oxf:/config/theme-plain.xsl; Line#: 68; Column#: -1 org.orbeon.saxon.trans.DynamicError: Illegal HTML character: decimal 143 at org.orbeon.saxon.event.HTMLEmitter.writeEscape(HTMLEmitter.java:328) at org.orbeon.saxon.event.XMLEmitter.characters(XMLEmitter.java:550) at org.orbeon.saxon.event.HTMLEmitter.characters(HTMLEmitter.java:414) at org.orbeon.saxon.event.HTMLIndenter.characters(HTMLIndenter.java:178) at org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) at org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) at org.orbeon.saxon.event.ReceivingContentHandler.flush(ReceivingContentHan dler.java:425) at org.orbeon.saxon.event.ReceivingContentHandler.endElement(ReceivingConte ntHandler.java:332) at org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContent Handler.java:52) at org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContent Handler.java:52) at org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContent Handler.java:52) at org.orbeon.oxf.processor.converter.QNameConverter$3.endElement(QNameConv erter.java:140) at org.orbeon.oxf.xml.SimpleForwardingContentHandler.endElement(SimpleForwa rdingContentHandler.java:41) at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$3.endElement(X SLTTransformer.java:281) at org.orbeon.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProx y.java:378) at org.orbeon.saxon.event.ProxyReceiver.endElement(ProxyReceiver.java:170) at org.orbeon.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java :185) at org.orbeon.saxon.event.ComplexContentOutputter.endElement(ComplexContent Outputter.java:388) at org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat or.java:253) at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:152) at org.orbeon.saxon.instruct.Template.applyLeavingTail(Template.java:99) at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j ava:319) at org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:189) at org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:149 ) at org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat or.java:250) at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:152) at org.orbeon.saxon.instruct.Template.applyLeavingTail(Template.java:99) at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j ava:319) at org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:189) at org.orbeon.saxon.instruct.ApplyTemplates.processLeavingTail(ApplyTemplat es.java:153) at org.orbeon.saxon.instruct.Block.processLeavingTail(Block.java:353) at org.orbeon.saxon.instruct.Instruction.process(Instruction.java:91) at org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat or.java:250) at org.orbeon.saxon.instruct.Block.processLeavingTail(Block.java:353) at org.orbeon.saxon.instruct.Instruction.process(Instruction.java:91) at org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat or.java:250) at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:152) at org.orbeon.saxon.instruct.Template.applyLeavingTail(Template.java:99) at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j ava:319) at org.orbeon.saxon.instruct.ApplyTemplates.defaultAction(ApplyTemplates.ja va:351) at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j ava:312) at org.orbeon.saxon.Controller.transformDocument(Controller.java:1602) at org.orbeon.saxon.TransformerHandlerImpl.endDocument(TransformerHandlerIm pl.java:134) at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:206) at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSL TTransformer.java:354) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :353) at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor. java:33) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineP rocessor.java:66) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProces sor.java:96) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineP rocessor.java:66) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineP rocessor.java:94) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readI mpl(ConcreteChooseProcessor.java:121) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :353) at org.orbeon.oxf.processor.converter.QNameConverter.access$400(QNameConver ter.java:34) at org.orbeon.oxf.processor.converter.QNameConverter$1.readImpl(QNameConver ter.java:74) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.serializer.legacy.HTMLSerializer.readInput(HTML Serializer.java:54) at org.orbeon.oxf.processor.serializer.HttpTextSerializer$1.readImpl(HttpTe xtSerializer.java:101) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :348) at org.orbeon.oxf.processor.serializer.HttpSerializer.readInput(HttpSeriali zer.java:42) at org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerial izerBase.java:147) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorI mpl.java:488) at org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSeriali zerBase.java:138) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(C oncreteChooseProcessor.java:229) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(C oncreteChooseProcessor.java:229) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(C oncreteChooseProcessor.java:229) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce ssor.java:652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav a:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces sor.java:649) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.jav a:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc her.java:691) at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio nDispatcher.java:469) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp atcher.java:403) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat cher.java:301) at org.orbeon.oxf.servlet.OPSXFormsFilter.doFilter(OPSXFormsFilter.java:85) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:188) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal( CharacterEncodingFilter.java:78) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequ estFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 51) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87 0) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc essConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint .java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow erWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:685) at java.lang.Thread.run(Thread.java:595) Cheers Gerrit -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: Monday, November 12, 2007 23:10 PM To: [hidden email] Subject: Re: [ops-users] Illegal HTML character Could you provide a longer stack trace sowe can see who is calling that code? It doesn't seem like the issue occurs at parsing time here. Note that adding an XML declarationt with "utf-8" is recommended, but that's the default in XML if you omit the declaration. However, what is important is that your JSP actually outputs the XML using the UTF-8 encoding. Do the characters display correctly into a web browser if you just send the XML from your JSP to the browser? -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Gerrit,
Glad you found the issue :-) -Erik Gerrit Germis wrote: > Nevermind, I'm an idiot! :/ > > Problem was that the xml file shouldn't be located anywhere in > /xforms-jsp/*. After I moved it to /test-data.xml, it started working. > > Cheers, > Gerrit > > > -----Original Message----- > From: Gerrit Germis [mailto:[hidden email]] > Sent: Tuesday, November 13, 2007 11:04 AM > To: [hidden email] > Subject: RE: [ops-users] Illegal HTML character > > Hi Erik, > > Thanks for taking the time to respond. The problem seems to arise when I > try to use the xforms-ready mechanism to dynamically get my instance > data > from an XML file rather than hard-coding it in the xform generated by > the > JSP file. I have attached 2 JSP files, one ("ok.jsp") with the instance > embedded (which works fine for me), the other ("problem.jsp") with the > xforms-ready mechanism (which gives me the error message about 'Illegal > HTML character'). > > As you requested, here's the full stacktrace from such an error: > > > Illegal HTML character: decimal 143 > 2007-11-13 10:50:34,828 ERROR ProcessorService - Exception at line 68 > of oxf:/config/theme-plain.xsl > ; SystemID: oxf:/config/theme-plain.xsl; Line#: 68; Column#: -1 > org.orbeon.saxon.trans.DynamicError: Illegal HTML character: decimal 143 > at > org.orbeon.saxon.event.HTMLEmitter.writeEscape(HTMLEmitter.java:328) > at > org.orbeon.saxon.event.XMLEmitter.characters(XMLEmitter.java:550) > at > org.orbeon.saxon.event.HTMLEmitter.characters(HTMLEmitter.java:414) > at > org.orbeon.saxon.event.HTMLIndenter.characters(HTMLIndenter.java:178) > at > org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) > at > org.orbeon.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:178) > at > org.orbeon.saxon.event.ReceivingContentHandler.flush(ReceivingContentHan > dler.java:425) > at > org.orbeon.saxon.event.ReceivingContentHandler.endElement(ReceivingConte > ntHandler.java:332) > at > org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContent > Handler.java:52) > at > org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContent > Handler.java:52) > at > org.orbeon.oxf.xml.ForwardingContentHandler.endElement(ForwardingContent > Handler.java:52) > at > org.orbeon.oxf.processor.converter.QNameConverter$3.endElement(QNameConv > erter.java:140) > at > org.orbeon.oxf.xml.SimpleForwardingContentHandler.endElement(SimpleForwa > rdingContentHandler.java:41) > at > org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$3.endElement(X > SLTTransformer.java:281) > at > org.orbeon.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProx > y.java:378) > at > org.orbeon.saxon.event.ProxyReceiver.endElement(ProxyReceiver.java:170) > at > org.orbeon.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java > :185) > at > org.orbeon.saxon.event.ComplexContentOutputter.endElement(ComplexContent > Outputter.java:388) > at > org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat > or.java:253) > at > org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:152) > at > org.orbeon.saxon.instruct.Template.applyLeavingTail(Template.java:99) > at > org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j > ava:319) > at > org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:189) > at > org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:149 > ) > at > org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat > or.java:250) > at > org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:152) > at > org.orbeon.saxon.instruct.Template.applyLeavingTail(Template.java:99) > at > org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j > ava:319) > at > org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:189) > at > org.orbeon.saxon.instruct.ApplyTemplates.processLeavingTail(ApplyTemplat > es.java:153) > at > org.orbeon.saxon.instruct.Block.processLeavingTail(Block.java:353) > at > org.orbeon.saxon.instruct.Instruction.process(Instruction.java:91) > at > org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat > or.java:250) > at > org.orbeon.saxon.instruct.Block.processLeavingTail(Block.java:353) > at > org.orbeon.saxon.instruct.Instruction.process(Instruction.java:91) > at > org.orbeon.saxon.instruct.ElementCreator.processLeavingTail(ElementCreat > or.java:250) > at > org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:152) > at > org.orbeon.saxon.instruct.Template.applyLeavingTail(Template.java:99) > at > org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j > ava:319) > at > org.orbeon.saxon.instruct.ApplyTemplates.defaultAction(ApplyTemplates.ja > va:351) > at > org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.j > ava:312) > at > org.orbeon.saxon.Controller.transformDocument(Controller.java:1602) > at > org.orbeon.saxon.TransformerHandlerImpl.endDocument(TransformerHandlerIm > pl.java:134) > at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:206) > at > org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSL > TTransformer.java:354) > at > org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo > rImpl.java:1213) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java > :348) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java > :353) > at > org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor. > java:33) > at > org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo > rImpl.java:1213) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java > :348) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineP > rocessor.java:66) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProces > sor.java:96) > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav > a:554) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineP > rocessor.java:66) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineP > rocessor.java:94) > at > org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo > rImpl.java:1213) > at > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readI > mpl(ConcreteChooseProcessor.java:121) > at > org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo > rImpl.java:1213) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java > :348) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java > :353) > at > org.orbeon.oxf.processor.converter.QNameConverter.access$400(QNameConver > ter.java:34) > at > org.orbeon.oxf.processor.converter.QNameConverter$1.readImpl(QNameConver > ter.java:74) > at > org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo > rImpl.java:1213) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java > :348) > at > org.orbeon.oxf.processor.serializer.legacy.HTMLSerializer.readInput(HTML > Serializer.java:54) > at > org.orbeon.oxf.processor.serializer.HttpTextSerializer$1.readImpl(HttpTe > xtSerializer.java:101) > at > org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo > rImpl.java:1213) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java > :348) > at > org.orbeon.oxf.processor.serializer.HttpSerializer.readInput(HttpSeriali > zer.java:42) > at > org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerial > izerBase.java:147) > at > org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorI > mpl.java:488) > at > org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSeriali > zerBase.java:138) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce > ssor.java:652) > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav > a:554) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces > sor.java:649) > at > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(C > oncreteChooseProcessor.java:229) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce > ssor.java:652) > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav > a:554) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces > sor.java:649) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce > ssor.java:652) > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav > a:554) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces > sor.java:649) > at > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(C > oncreteChooseProcessor.java:229) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce > ssor.java:652) > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav > a:554) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces > sor.java:649) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce > ssor.java:652) > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav > a:554) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces > sor.java:649) > at > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(C > oncreteChooseProcessor.java:229) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProce > ssor.java:652) > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.jav > a:554) > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProces > sor.java:649) > at > org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95) > at > org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) > at > org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.jav > a:148) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > tionFilterChain.java:269) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > erChain.java:188) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc > her.java:691) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio > nDispatcher.java:469) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp > atcher.java:403) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat > cher.java:301) > at > org.orbeon.oxf.servlet.OPSXFormsFilter.doFilter(OPSXFormsFilter.java:85) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > tionFilterChain.java:215) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > erChain.java:188) > at > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal( > CharacterEncodingFilter.java:78) > at > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequ > estFilter.java:77) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > tionFilterChain.java:215) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > erChain.java:188) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv > e.java:210) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv > e.java:174) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > :127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > :117) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. > java:108) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 > 51) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87 > 0) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc > essConnection(Http11BaseProtocol.java:665) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint > .java:528) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow > erWorkerThread.java:81) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool > .java:685) > at java.lang.Thread.run(Thread.java:595) > > > > Cheers > Gerrit > > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: Monday, November 12, 2007 23:10 PM > To: [hidden email] > Subject: Re: [ops-users] Illegal HTML character > > Could you provide a longer stack trace sowe can see who is calling that > code? > > It doesn't seem like the issue occurs at parsing time here. > > Note that adding an XML declarationt with "utf-8" is recommended, but > that's the default in XML if you omit the declaration. However, what is > important is that your JSP actually outputs the XML using the UTF-8 > encoding. Do the characters display correctly into a web browser if you > just send the XML from your -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |