Ovidiu Predescu wrote:
>Hi everyone,
>
>I've just finished adding the continuations-based control flow on the
>main trunk. Everything that was in the Schecoon directory is now in
>the main trunk of Cocoon; the code in the schecoon/ directory will be
>removed shortly.
>
>
<snip/>
>Please let me know how things work for you.
>
The sitemap for the flow sample uses incorrect paths to some
stylesheets; e.g. instead of
"../../../documentation/stylesheets/site2xhtml.xsl", this stylesheet is
located at "../../../documentation/stylesheets/site2xhtml.xsl". After
fixing this quickly, I tried the calculator example. When entering
number a and submitting it, I received the following exception:
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error
> compiling getNumberB_xsp:
> ERROR 1
>
>(/var/src/production/tomcat/work/localhost/cocoon/cocoon-files/org/apache/cocoon/www/file_/var/src/production/tomcat/webapps/cocoon/samples/flow/examples/calc/getNumberB_xsp.java):
> ...
> // expressions used by this page.
>
> CompiledExpression
> jxpath_a
>
> // start error (lines 92-92) " method compile(java.lang.String) not
> found in class org.apache.commons.jxpath.JXPathContext"
> = jxpathContext.compile("a");
>
> // end error
>
>
> this.contentHandler.startDocument();
> AttributesImpl xspAttr = new AttributesImpl();
>
> ...
> Line 92, column 22: method compile(java.lang.String) not found in
> class org.apache.commons.jxpath.JXPathContext
> Line 0, column 0:
> 1 error
The cause of the problem were two JARs containing an implementation, the
right one laying around at /lib/optional/commons-jpath-1.0b1.jar, the
other, older one at /src/scratchpad/lib/commons-JXPath-20020320.jar.
Removing the seemingly outdated commons-JXPath-20020320.jar solved this
problem, too. Finally, the calculator example worked fine - very
interesting !
>Greetings,
>
Best regards,
Michael Hartle,
Hartle & Klug GbR
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]