You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Armaz Mellati <Ar...@uninett.no> on 2005/09/02 15:05:08 UTC

BUG in session-fw

Hi 


I think I have found a bug in session-fw block. However I am amazed why nobody else has found it yet !

I have already reported it as a bug in bugzilla (Sorry, should have discussed it here first according to Contribution document, but
I didn't see that at first)

http://issues.apache.org/bugzilla/show_bug.cgi?id=36471

In short: 
Transforming <session:getxml ... > doesn't return text elements. Therefore 
<session:getxml context="authentication" path="/authentication/ID"/>
doesn't work. However this works :
<session:getxml context="authentication" path="/authentication/" />

I have already found out how to fix it. Attached to this mail you find the patch.

Not sure if this is the best way of fixing it or if the real problem is the includeNode method of
org.apache.cocoon.xml.IncludeXMLConsumer. 

Regards,
Armaz Mellati