Yes, I know but in this case, I need a string.
In fact the logicsheet is not safe enough because the java generated is
((DocumentFragment) blahblah).getFirstChild().getNodeValue(); 
Laurent

> -----Message d'origine-----
> De : Antonio Gallardo [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 16 décembre 2003 14:06
> À : [EMAIL PROTECTED]
> Objet : Re: [xsp-session-fw] NPE when use getxml with empty tag
> 
> Laurent Trillaud dijo:
> > Hi
> >>From the portal engine, for example, when I use <xsp-session-fw:getxml
> > as="string" context="authentication" path="/authentication/data/title"/>
> I
> > got an NPE if this tag is empty.
> > If I put something on it in the sunrise-user.xml from the portal sample,
> > it's working fine.
> > Any idea?
> 
> Try:
> 
> as="object"
> 
> More info @ http://wiki.cocoondev.org/Wiki.jsp?page=XspSessionFw
> 
> Best Regards,
> 
> Antonio Gallardo
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to