You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Ferdinand Soethe <fe...@apache.org> on 2007/05/13 16:18:19 UTC

What is behind this?

I'm using a project sitemap with an entry

> <map:match pattern="**body-*.html">
>                 <map:select type="exists">
>                     <map:when test="{project:content.xdocs}{1}{2}.html">
>                         <map:generate src="{project:content.xdocs}{1}{2}.html"  />
>                         <map:transform type="xinclude"/>
>                         <map:transform src="{project:resources.stylesheets}/html2body.xsl" />
>                         <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html"/>
>                         <map:transform src="{forrest:stylesheets}/declare-broken-site-links.xsl" />
>                         <map:serialize type="xml" />
>                     </map:when>
>                 </map:select>
>             </map:match>

that creates a direct path for html-documents.
But when I process the documents I get this message from linkrewriter.

<link message="org.apache.avalon.framework.CascadingRuntimeException:
Error accessing attribute 'referenzrahmen' from input module 'site'.
Error using source
cocoon:/programm/GE/linkmap-auto_KD_A2_Englisch_Auffrischung.html"
uri="programm/GE/auto_KD_A2_Englisch_Auffrischung.html">

After some fiddling everything works fine in dynamic mode but it doesn't
in static mode. Any ideas?

Best regards,
Ferdinand Soethe