cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Lange <>
Subject problem with wildcard and pipeline keys
Date Thu, 25 Aug 2005 14:31:26 GMT
Dear Cocoon Users!
My setup: cocon, tomcat 5.5.4,  jdk 1.5.0.
I experience the following problem: using the match pattern

      <map:match pattern="download/**.pdf">
      <map:act type="downloadAction">
          <map:parameter name="file" value="{1}"/>
      <map:read src="{1}.pdf" mime-type="application/pdf"/>
        <map:generate src="xml/de/download/downloaderror.xml"/>
             <map:transform src="xsl/de/download/downloaderror.xsl"/>

where {1} is the path plus the filename, cocoon doesn't resolve the 
pipeline key on the map:read construct, instead it produces the 

org.apache.cocoon.ResourceNotFoundException: Error during resolving of 
the input stream: org.apache.excalibur.source.SourceNotFoundException: 
file:/opt/abs/serverFramework/application.efonds/.pdf doesn't exist.

The parameter is saved as the variable file -> the first time it works, 
but the second pipeline key resolves nothing.

Does anyone know why, or have the solution?

Yours sincereley, Ralph Lange

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message