At least this tells you that the default file generator receives the parameter 
correctly as default the filegenerator will look for the file starting with 
COB-INF as root folder.

Robby

-----Original Message-----
From: Andre Juffer [mailto:[email protected]] 
Sent: Monday, November 07, 2011 12:49 PM
To: [email protected]
Subject: Re: [ cocoon3 ] map parameters

On 11/07/2011 01:43 PM, Francesco Chicchiriccò wrote:
> On 07/11/2011 12:35, Andre Juffer wrote:
>
> What happens if you use one of standard generators - like the XML
> generator in the first example? I mean:
>
> <map:match pattern="create/image/creator/*">
> <map:generate src="sax-pipeline/{map:1}.xml" />
>
> You should now get an exception for something missing: is it
> "sax-pipeline/3276800.xml" or "sax-pipeline/null.xml"?
>

This is exactly the error I get. I tried:

<map:generate src="{map:1}.xml" />

The exception I get

Caused by: java.io.FileNotFoundException: 
/home/juffer/TriBC/projects/cocoon3-webapp/tribc-img/src/main/resources/COB-INF/3276800.xml
 
(No such file or directory)

-- 
Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: [email protected]
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat                   | WWW: www.strubiocat.oulu.fi
Triacle Biocomputing         | WWW: www.triacle-bc.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to