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 Wed, 10 Mar 2004 23:40:02 GMT


Joerg Heinicke wrote:

> On 04.03.2004 12:45, Unico Hommes wrote:
> 
>>>>> And what happens if I dont specify an element <map:pipes/> in the

>>>>> root sitemap? ;-)
>>>>
>>>>
>>>> AFAICT this would generate an error. Doesn't it?
>>>
>>>
>>> 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.
> 
> 
> For not setting default pipe I get:
> 
> org.apache.avalon.framework.component.ComponentException: pipes: 
> ComponentSelector Attempted to retrieve component with null hint.
> 
> For not setting default generator I get:
> 
> org.apache.avalon.framework.configuration.ConfigurationException: No 
> default type exists for 'generate' at 
> file:/D:/cocoon-2.1/build/webapp/sitemap.xmap:496:42
> 
> Guess which one I like more :)
> 

Not setting a default pipeline now produces:

No default type exists for 'pipeline' at 
file:/D:/code/cocoon-2.1/build/webapp/sitemap.xmap:438:17

Happy? ;-)

--
Unico

Mime
View raw message