cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Unico Hommes <un...@hippo.nl>
Subject Re: Default ProcessingPipline implementation?
Date Thu, 04 Mar 2004 11:45:50 GMT


Joerg Heinicke wrote:

> On 29.02.2004 14:53, Unico Hommes wrote:
> 
>>>> See the root sitemap where it says:
>>>>
>>>>   <map:pipes default="caching">
>>>>
>>>> ;-)
>>>>
>>>> Unico
>>>>
>>> And what happens if I dont specify an element <map:pipes/> in the 
>>> root sitemap? ;-)
>>> Which ProcessingPipeline is will be used then?
>>>
>>
>> AFAICT this would generate an error. Doesn't it?
> 
> 
> Yes, it does. I came across this when setting up my first real life 
> project with Cocoon 2.1. I got a nearly meaningless error message 
> (something like null hint) when moving my "block" out of the Cocoon 
> deployment to its own place, so the block subsitemap became a root 
> sitemap. What I want to point at is the poor error message. AFAIK it's 
> much more expressive e.g. when the default generator is not set. Is it 
> possible to express a real error message for map:pipes too? I guess so, 
> just need somebody who does this for me :)

LOL. Hopefully someone is listening :-)

This wouldn't be restricted to processing pipeline BTW. I'm guessing it 
is the same message for other missing sitemap component sections. Don't 
think it is a _very_ simple change though. I'll check it out.

Unico

Mime
View raw message