You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Thorsten Mauch <ma...@imkenberg.de> on 2001/06/29 23:15:41 UTC

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


Re: I18nTransformer2 seeks null.xml

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
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" <ma...@imkenberg.de>
To: <co...@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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>