cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armaz Mellati" <Armaz.Mell...@uninett.no>
Subject BUG in session-fw <session:getxml ...>
Date Fri, 02 Sep 2005 13:05:08 GMT
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

Mime
View raw message