cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Bug? Foreign SourceResolver in Generator.configure()
Date Fri, 11 Jun 2004 10:45:37 GMT
Reinhard Poetz wrote:
> 
> To make sure we all speak about the same:
> 
> main-sitemap:
> <map:components>
>   <map:generator type="xyz" src="XyzGenerator">
>     <confFile>myConfFile.txt</confFile>
>   </map:generator>
> </map:components>
> 
> some sub-sitemap:
> <map:generator type="xyz">
>   <map:parameter name="confFile" value="confFile2.txt"/> 
> </map:generator>
You mean map:generate, right :)

> 
> myConfFile is located relativ to the main-sitemap myConfFile 
> is located relativ to the sub-sitemap
> 
> That's the way *I* expect it. Another behaviour is IMHO a bug 
> because I wouldn't have a chance to set a global 
> configuration file, would I?
Yes, I agree with you - and I think as well that it's a bug.
As a workaround you could use "context://" in the first case
and perhaps that's what the user currently use and that's
why noone has the problem right now?

> 2.2 gives us the chance to correct it.
> 
That's true.

Carsten


Mime
View raw message