Hi,
I have an application that allow a user to search for a society detail. If I access this application directly via Orbeon, everything works fine, but if I access it from the Liferay Portal via the Orbeon Forms Portlet, an error will occur. Error details below: 2009-08-09 09:01:12,630 INFO ProcessorService - /society-common/getSocName - Timing: 1108 - Cache hits for cache.main: 343, fault: 55, adds: 51, expirations: 0, success rate: 86% 2009-08-09 09:01:12,661 WARN XFormsServer - XForms - submission - error while parsing response body as XML, defaulting to plain text. org.orbeon.oxf.common.OXFException: org.xml.sax.SAXParseException: Premature end of file. at org.orbeon.oxf.xml.TransformerUtils.readTinyTree(TransformerUtils.java:379) at org.orbeon.oxf.xml.TransformerUtils.readTinyTree(TransformerUtils.java:359) at org.orbeon.oxf.xforms.event.events.XFormsSubmitErrorEvent.<init>(XFormsSubmitErrorEvent.java:92) at org.orbeon.oxf.xforms.submission.InstanceReplacer.deserializeInstance(InstanceReplacer.java:85) at org.orbeon.oxf.xforms.submission.InstanceReplacer.deserialize(InstanceReplacer.java:51) at org.orbeon.oxf.xforms.submission.OptimizedSubmission.connect(OptimizedSubmission.java:191) at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:432) 2009-08-09 09:01:12,677 DEBUG XFormsServer - XForms - submission - external submission time including handling returned body {time: "1170"} 2009-08-09 09:01:12,677 ERROR XFormsServer - XForms - submission - xforms-submit-error throwable: org.xml.sax.SAXParseException: The prefix "f" for element "f:xml-source" is not bound. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.orbeon.saxon.event.Sender.sendSAXSource(Sender.java:269) at org.orbeon.saxon.event.Sender.send(Sender.java:144) at org.orbeon.saxon.IdentityTransformer.transform(IdentityTransformer.java:29) I have tried to add in xmlns:f to the bind declaration of the XPL but it did not help to resolve the error. <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:sql="http://orbeon.org/oxf/xml/sql" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xi="http://www.w3.org/2001/XInclude"> Any suggestions on how I can resolve this error. Thanks and regards. Hoi Chong -- 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
|
Hoi,
The exception is not very telling. Maybe someone else here has already seen this and can give you some feedback. Otherwise there isn't much we can do without being able to precisely reproduce the issue. Alex |
Free forum by Nabble | Edit this page |