cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: I18nTransformer2 seeks null.xml
Date Wed, 04 Jul 2001 09:45:01 GMT
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" <mauch@imkenberg.de>
To: <cocoon-users@xml.apache.org>
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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message