cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Problem with cocoon:// xsl generation
Date Thu, 31 Jul 2003 12:14:59 GMT
Try to use Xalan instead of XSLTC for this transformation.

Joerg

Olivier Billard wrote:

> Ok :)
> Lets do it without the stack trace.
> Here is my sitemap cut :
> 
>            <map:match select="requests">
>               <map:generate src="..."/>
> (*)              <map:transform src="cocoon:/picto-filter.xsl">
>                   <map:parameter name="profile" 
> value="{session-attr:profile}"/>
>               </map:transform>
>               <map:serialize type="xml"/>
>            </map:match>
> 
>            <map:match pattern="picto-filter.xsl">
> (**)|           <map:generate src="resources/workflow.xconf"/>
>    |           <map:transform 
> src="stylesheets/picto-filter-generator.xsl"/>
>    |           <map:serialize type="xml"/>
>            </map:match>
> 
> The exception raised is EmptyStackException... coming from the core of 
> the xsltc.
> But when I replace (*) by :
> <map:transform src="http://localhost:8888/picto-filter.xsl">
> it works well. So it seems that the file "workflow.xconf" is found.
> 
> And it also works when I replace (**) with a call to a static file :
>                <map:generate src="temp/picto-filter.xsl"/>
>                <map:serialize type="xml"/>
> 
> 
> May it come from the parser, the xsl processor or the excalibur source ?
> 
> -- 
> Olivier


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message