You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Nicolas Richeton <ni...@smile.fr> on 2004/05/06 18:44:06 UTC
Lenya and Xopus
Hi
I'm trying to get Xopus 2.1.64 work with lenya 1.2RC3.
(JDK 1.4.1, Windows)
I used the small tutorial on lenya website (http://cocoon.apache.org/lenya/docs/components/editors/xopus.html).
When i select "Edit with xopus", xopus starts to load and fails with this error : Xopus could not start because: Xopus could not find a pipeline definition, or the pipeline definition was not well-formed XML
Several parameters seem to be empty when calling lenya/xslt/authoring/edit/xopus-xhtml.xsl.
As a result, the following lines
<param name="contextprefix"><xsl:value-of select="$contextPrefix"/></param>
<param name="publicationid"><xsl:value-of select="$publicationId"/></param>
<param name="completearea"><xsl:value-of select="$completeArea"/></param>
are replaced by invalid XML (tags are not closed)
<param name="contextprefix">
<param name="publicationid">
<param name="completearea">
I tryed to add some char to prevent the parameters to be empty.
ex : <param name="contextprefix"><xsl:value-of select="$contextPrefix"/>1</param>
Now xopus loads further, but fails with another error :
An unknown error has occured:'undefined' a la valeur Null ou n'est pas un objet (yes, in french ;-) )
'undefined' is null or is not an object.
Has anybody managed to run xopus with lenya ?
Any ideas about these empty parameters ?
xopus-xhtml.xsl is called from usecase.xmap :
<map:transform src="xslt/authoring/edit/xopus-xhtml.xsl">
<map:parameter name="contextPrefix" value="{request:contextPath}"/>
<map:parameter name="publicationId" value="{page-envelope:publication-id}"/>
<map:parameter name="completeArea" value="authoring"/>
<map:parameter name="documentUrl" value="{page-envelope:document-url}"/>
<map:parameter name="documentType" value="{request-param:doctype}"/>
<map:parameter name="xopusContext" value="{xopus:context}"/>
</map:transform>
I don't understand why these parameters are empty, especially completeArea.
Does a working example exist ?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Lenya and Xopus
Posted by Michael Wechner <mi...@wyona.com>.
Nicolas Richeton wrote:
>Hi
>
>I'm trying to get Xopus 2.1.64 work with lenya 1.2RC3.
>(JDK 1.4.1, Windows)
>
>
maybe 1.2RC3 has not been built with the Xopus property
(build.properties) enabled.
I think two files should be configured during the build process. Do a
grep on src/targets for Xopus.
HTH
Michi
>I used the small tutorial on lenya website (http://cocoon.apache.org/lenya/docs/components/editors/xopus.html).
>When i select "Edit with xopus", xopus starts to load and fails with this error : Xopus could not start because: Xopus could not find a pipeline definition, or the pipeline definition was not well-formed XML
>
>Several parameters seem to be empty when calling lenya/xslt/authoring/edit/xopus-xhtml.xsl.
>
>As a result, the following lines
>
><param name="contextprefix"><xsl:value-of select="$contextPrefix"/></param>
><param name="publicationid"><xsl:value-of select="$publicationId"/></param>
><param name="completearea"><xsl:value-of select="$completeArea"/></param>
>
>
>are replaced by invalid XML (tags are not closed)
><param name="contextprefix">
><param name="publicationid">
><param name="completearea">
>
>I tryed to add some char to prevent the parameters to be empty.
>ex : <param name="contextprefix"><xsl:value-of select="$contextPrefix"/>1</param>
>
>Now xopus loads further, but fails with another error :
>An unknown error has occured:'undefined' a la valeur Null ou n'est pas un objet (yes, in french ;-) )
>'undefined' is null or is not an object.
>
>Has anybody managed to run xopus with lenya ?
>
>Any ideas about these empty parameters ?
>xopus-xhtml.xsl is called from usecase.xmap :
><map:transform src="xslt/authoring/edit/xopus-xhtml.xsl">
> <map:parameter name="contextPrefix" value="{request:contextPath}"/>
> <map:parameter name="publicationId" value="{page-envelope:publication-id}"/>
> <map:parameter name="completeArea" value="authoring"/>
> <map:parameter name="documentUrl" value="{page-envelope:document-url}"/>
> <map:parameter name="documentType" value="{request-param:doctype}"/>
> <map:parameter name="xopusContext" value="{xopus:context}"/>
> </map:transform>
>I don't understand why these parameters are empty, especially completeArea.
>
>Does a working example exist ?
>
>Thanks
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org