cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap SwitchSelectNode.java
Date Tue, 29 Jul 2003 08:50:42 GMT
Carsten Ziegeler wrote:

>Sylvain Wallez wrote:
>  
>
>>Carsten,
>>
>>I couldn't find Volker's report, but I think it's the selector's
>>responsibility to handle the case when it returns a null context object
>>and that the sitemap should not enforce a failure in that case.
>>Furthermore, this modification prevents execution of the statements in
>><map:otherwise> when the context object is null.
>>
>>What do you think ?
>>    
>>
>Ok, Volker wrote it to me privately :) and I haven't thought about it
>when committing.
>  
>

Volker, please report bugs on the list. More eyes on a problem never 
cause harm ;-)

>After thinking, I don't have an idea why the context of a selector could
>be null, so I think this is the error.
>As I'm currently in the release process I will revert the change and release
>the version with the old behaviour.
>
>We can then discuss what's the correct approach.
>  
>

Ok. Preparing the champagne ;-)

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



Mime
View raw message