Hi,

I just checked in a patch that should fix this problem.
Could you please test it?

Thanks
Carsten

> -----Original Message-----
> From: Tuomo L [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 08, 2003 10:26 PM
> To: [EMAIL PROTECTED]
> Subject: getxml in XSP throws NPE if @path is invalid
>
>
> Hi,
>
> This gives me a nasty NPE in XSP:
>
> String foo = <xsp-session-fw:getxml context="authentication"
> path="/authentication/data/bar"/>;
>
> This does not:
>
> String foo = <xsp-session-fw:getxml context="authentication"
> path="/authentication/ID"/>;
>
> Shouldn't it return null, if the given path is not available? It seems
> that there's a bug. Could someone please fix this? I didn't find the cause
> to this by looking at the code.
>
> Using Cocoon-2.1.2.
>
> Thanks,
> Tuomo
>

Reply via email to