Dear Cocoon Users!
My setup: cocon 2.1.5.1, 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:act>
<map:generate src="xml/de/download/downloaderror.xml"/>
<map:transform src="xsl/de/download/downloaderror.xsl"/>
<map:serialize/>
</map:match>
where {1} is the path plus the filename, cocoon doesn't resolve the
pipeline key on the map:read construct, instead it produces the
errormessage:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]