Thanx Konstantin
You are absolutly right. The prob is related
to the matcher. Unfortunaly i didn't understand
that cocoon stores the arguments in a stack.
I changed the
<map:generate type="serverpages" src="catalog/{../1}.xml"/>
and it works :)
Thanx again
Thorsten
-----Urspr�ngliche Nachricht-----
Von: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 4. Juli 2001 11:45
An: Thorsten Mauch
Cc: [EMAIL PROTECTED]
Betreff: Re: I18nTransformer2 seeks null.xml
Hi!
This can be a problem with the substitution params of your matcher pipeline?
Somewhere here: <map:generate type="serverpages" src="catalog/{1}.xml"/> -
for some reason {1} evaluates to <null>. Are you sure that the problem is in
I18nTransformer2?
Btw, you are using old version of C2 - in the current version
I18nTransformer2 replaced completely the old one and was renamed to
I18nTrasnformer.
Regards,
Konstantin Piroumian.
----- Original Message -----
From: "Thorsten Mauch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 30, 2001 1:15 AM
Subject: I18nTransformer2 seeks null.xml
> Hi All
> I try to create a Internatinal webapp.
> I use the I18nTransformer2 for tranlation
> but i get:
> org.apache.cocoon.ResourceNotFoundException:
> /C:/tomcat/webapps/shop/shop/null.xml (Das System kann die
> angegebene Datei nicht finden):java.io.FileNotFoundException:
> /C:/tomcat/webapps/shop/shop/null.xml (Das System kann die angegebene
Datei
> nicht finden)
>
> my pipeline looks like:
> <map:match pattern="catalog/*.xml*">
> <map:act type="lang-select">
> <map:generate type="serverpages" src="catalog/{1}.xml"/>
> <map:transform type="i18n">
> <map:parameter name="src"
> value="catalog/translations/dict.xml"/>
> </map:transform>
> </map:act>
> <map:transform src="catalog/{1}.xsl"/>
> <map:serialize type="html"/>
> </map:match>
>
> Why cocoon seeks the null.xsl ?
>
> Thanks Thorsten
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>