Solved
it....there was a / missing in the end of the URL.
Thanks,
Dave
-----Original Message-----
From: Rajeev Dave
Sent: Wednesday, August 06, 2003 5:09 PM
To: '[EMAIL PROTECTED]'
Subject: executing the Hello world example given in docs gives errorHi,I am running OXF2.0.2 on tomcat 4.1.27.I am unable to execute the Hello example given in docs as the "first application with OXF"I have followed what was written in the documentation but still unable to get the result....The following is the trace. Pl. help.
class org.orbeon.oxf.common.ValidationExceptionMessage Condition failed for every branch of choose: [(string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.gif') or (string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.css') or (string-length(/request/request-path) >= 3 and substring(/request/request-path, string-length(/request/request-path) - 2, 3) = '.js') or (string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.png') or (string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.jpg') or (string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.dtd') or (string-length(/request/request-path) >= 5 and substring(/request/request-path, string-length(/request/request-path) - 4, 5) = '.wsdl') or (string-length(/request/request-path) >= 5 and substring(/request/request-path, string-length(/request/request-path) - 4, 5) = '.html'), (/request/request-path = '/')] Java Exception org.orbeon.oxf.common.ValidationException: Condition failed for every branch of choose: [(string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.gif') or (string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.css') or (string-length(/request/request-path) >= 3 and substring(/request/request-path, string-length(/request/request-path) - 2, 3) = '.js') or (string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.png') or (string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.jpg') or (string-length(/request/request-path) >= 4 and substring(/request/request-path, string-length(/request/request-path) - 3, 4) = '.dtd') or (string-! length(/request/request-path) >= 5 and substring(/request/request-path, string-length(/request/request-path) - 4, 5) = '.wsdl') or (string-length(/request/request-path) >= 5 and substring(/request/request-path, string-length(/request/request-path) - 4, 5) = '.html'), (/request/request-path = '/')] at org.orbeon.oxf.processor.pipeline.ChooseProcessor$ConcreteChooseProcessor.start(ChooseProcessor.java:375) at org.orbeon.oxf.processor.pipeline.ChooseProcessor$3.readImpl(ChooseProcessor.java:310) at org.orbeon.oxf.processor.ProcessorImpl$5.read(ProcessorImpl.java:784) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:898) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:283) at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$100(TeeProcessor.java:18) at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:33) at org.orbeon.oxf.processor.ProcessorImpl$5.read(ProcessorImpl.java:784) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:898) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:283) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:300) at org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:324) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:371) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsDOM4J(ProcessorImpl.java:322) at org.orbeon.oxf.processor.pipeline.ChooseProcessor$ConcreteChooseProcessor.start(ChooseProcessor.java:354) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:474)
Rgds,
Dave
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
