cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira" ...@upaya.co.uk>
Subject Re: Problem with cocoon:// xsl generation
Date Thu, 31 Jul 2003 12:25:10 GMT
I've just updated the Wiki page below to include this reference to
Xalan/XSLTC. Could you guys check that what I've said is correct?

http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets

Thanks, Upayavira

On Thu, 31 Jul 2003 14:19:14 +0200, "Olivier Billard"
<obillard@rennes.jouve.fr> said:
> You won the jackpot, Joerg !
> 
> But what's wrong with this damned xsltc ??
> 
> --
> Olivier
> 
> 
> Joerg Heinicke wrote:
> 
> > 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
> 
> 

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


Mime
View raw message