Hello,
I have successfully deployed the Orbeon JSR portlet in Vignette Portal, but i'm getting the next error running any of the examples, like the calculator. Orbeon Forms Error Type class org.orbeon.oxf.common.ValidationException Message line 144 of oxf:/processors.xml: Error attribute "as" has a bad value(schema: http://orbeon.org/oxf/xml/xslt-preferences-config) oxf:/processors.xml, line 144, column -1: Error attribute "as" has a bad value(schema: http://orbeon.org/oxf/xml/xslt-preferences-config) Location oxf:/processors.xml Line 144 Column -1 Stack Trace org.orbeon.oxf.common.ValidationException: line 144 of oxf:/processors.xml: Error attribute "as" has a bad value(schema: http://orbeon.org/oxf/xml/xslt-preferences-config) oxf:/processors.xml, line 144, column -1: Error attribute "as" has a bad value(schema: http://orbeon.org/oxf/xml/xslt-preferences-config) at org.orbeon.oxf.processor.validation.MSVValidationProcessor$3$2.error(MSVValidationProcessor.java:196) at com.sun.msv.verifier.Verifier.onError(Verifier.java:371) at com.sun.msv.verifier.Verifier.onError(Verifier.java:363) at com.sun.msv.verifier.Verifier.feedAttribute(Verifier.java:294) at com.sun.msv.verifier.Verifier.startElement(Verifier.java:221) at org.orbeon.oxf.xml.SimpleForwardingContentHandler.startElement(SimpleForwardingContentHandler.java:69) at org.orbeon.oxf.xml.ExceptionWrapperContentHandler.startElement(ExceptionWrapperContentHandler.java:45) at org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java:80) at org.orbeon.saxon.event.ContentHandlerProxy.startContent(ContentHandlerProxy.java:362) at org.orbeon.saxon.event.NamespaceReducer.startContent(NamespaceReducer.java:197) at org.orbeon.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:369) at org.dom4j.io.SAXWriter.startElement(SAXWriter.java:810) Can you give me any kind of help or clue? Thanks in advance. |
Administrator
|
I don't remember us having tested Orbeon Forms with Vignette Portal.
All the portals implement the same portlet API, but they sometimes do it in slightly different ways. At this point, you can either investigate this issue yourself (all the Orbeon Forms code is available, and open source), or we can take care of this for you under a Development support plan (http://www.orbeon.com/support-services/development). Alex On Thu, Apr 29, 2010 at 9:03 AM, sma <[hidden email]> wrote: > Hello, I have successfully deployed the Orbeon JSR portlet in Vignette > Portal, but i'm getting the next error running any of the examples, like the > calculator. Orbeon Forms Error Type class > org.orbeon.oxf.common.ValidationException Message line 144 of > oxf:/processors.xml: Error attribute "as" has a bad value(schema: > http://orbeon.org/oxf/xml/xslt-preferences-config) oxf:/processors.xml, line > 144, column -1: Error attribute "as" has a bad value(schema: > http://orbeon.org/oxf/xml/xslt-preferences-config) Location > oxf:/processors.xml Line 144 Column -1 Stack Trace > org.orbeon.oxf.common.ValidationException: line 144 of oxf:/processors.xml: > Error attribute "as" has a bad value(schema: > http://orbeon.org/oxf/xml/xslt-preferences-config) oxf:/processors.xml, line > 144, column -1: Error attribute "as" has a bad value(schema: > http://orbeon.org/oxf/xml/xslt-preferences-config) at > org.orbeon.oxf.processor.validation.MSVValidationProcessor$3$2.error(MSVValidationProcessor.java:196) > at com.sun.msv.verifier.Verifier.onError(Verifier.java:371) at > com.sun.msv.verifier.Verifier.onError(Verifier.java:363) at > com.sun.msv.verifier.Verifier.feedAttribute(Verifier.java:294) at > com.sun.msv.verifier.Verifier.startElement(Verifier.java:221) at > org.orbeon.oxf.xml.SimpleForwardingContentHandler.startElement(SimpleForwardingContentHandler.java:69) > at > org.orbeon.oxf.xml.ExceptionWrapperContentHandler.startElement(ExceptionWrapperContentHandler.java:45) > at > org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java:80) > at > org.orbeon.saxon.event.ContentHandlerProxy.startContent(ContentHandlerProxy.java:362) > at > org.orbeon.saxon.event.NamespaceReducer.startContent(NamespaceReducer.java:197) > at > org.orbeon.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:369) > at org.dom4j.io.SAXWriter.startElement(SAXWriter.java:810) Can you give me > any kind of help or clue? Thanks in advance. > ________________________________ > View this message in context: Error running Orbeon portlet > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hello,
Thanks for the reply... It's what i'm doing, viewing the source code... I am looking at epilogue-portlet.xpl and processors.xml but all seems right, i think this can be a problem with the Xalan, Xerces, Saxon etc... version, you don' have any clue to solve this problem? Thanks, Samuel |
Administrator
|
Samuel,
The exception says that the "attributes" input of the XSLT processor does not match the schema. The schema used to validate this input is xslt-preferences-config.rng. Most likely those are attributes passed to the XSLT engine through processors.xml. Now I am not sure why this wouldn't work on Vignette. This would need to be reproduced and debugged. http://wiki.orbeon.com/forms/doc/developer-guide/processors-xslt-jaxp Alex On Tue, May 4, 2010 at 1:45 AM, sma <[hidden email]> wrote: > > Hello, > > Thanks for the reply... > > It's what i'm doing, viewing the source code... > > I am looking at epilogue-portlet.xpl and processors.xml but all seems right, > i think this can be a problem with the Xalan, Xerces, Saxon etc... version, > you don' have any clue to solve this problem? > > Thanks, > > Samuel > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Error-running-Orbeon-portlet-tp2075773p2125183.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro,
Sorry for the delay, but the problem wasn't related to the validation of the xml, the real problem was that with Vignette Portal the portlets cannot load resources from the portlet directly by the path, like the xforms-range-yuicalendar-min.js. I have find a workaround for this, but now i always get an alert saying "Session has expired. Unable to process incoming request." and the next stack trace, org.orbeon.oxf.common.OXFException: Session has expired. Unable to process incoming request. at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:201) at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:63) at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:94) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445) Debugging and changing values in runtime a can step over the validation of the null session, and after that everything goes well, let me know if you have some clue to solve this please. Thanks. |
Administrator
|
Samuel,
This is a tough one as we don't know Vignette at all. Orbeon Forms requires a valid session for XForms processing, so I wouldn't recommend skipping that. It would be best to find why the portal does not keep a proper session. -Erik On Mon, May 10, 2010 at 3:28 AM, sma <[hidden email]> wrote: > > Hi Alessandro, > > Sorry for the delay, but the problem wasn't related to the validation of the > xml, the real problem was that with Vignette Portal the portlets cannot load > resources from the portlet directly by the path, like the > xforms-range-yuicalendar-min.js. > > I have find a workaround for this, but now i always get an alert saying > "Session has expired. Unable to process incoming request." > > and the next stack trace, > > org.orbeon.oxf.common.OXFException: Session has expired. Unable to process > incoming request. > at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:201) > at > org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:63) > at > org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:94) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238) > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445) > > Debugging and changing values in runtime a can step over the validation of > the null session, and after that everything goes well, let me know if you > have some clue to solve this please. > > Thanks. > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Error-running-Orbeon-portlet-tp2075773p2165218.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 > > -- 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 |