Sylvain Wallez wrote:
Carsten,Ok, Volker wrote it to me privately :) and I haven't thought about it
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 ?
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