cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandhu@terra-firma" <san...@apparelxml.net>
Subject Reading session values - last char lost !
Date Sat, 21 Dec 2002 06:09:11 GMT
Hi all ,

We are using the authentication f/w for sessions and same works fine except
for wierd problem of Last char of retrieved value being cut off as below :

In one case , the foll values inserted into a <code> tag as :

<authentication>
    <data>
         <customers>
                <code>jhn</code>
                <code>btx</code>
                <code>pkt</code>
          </customers>
    </data>
</authentication>

For retrieving these session values in an action (since we use aggregate and
<xsp-session:getxml /> does not work in aggregated pipes)  we use

org.w3c.dom.node.getNodeValue() to put session values
into comma delimited string  :

the problem is one value retrieved is always cut off :

  jhn,bt,pkt   when it should :  jhn,btx,pkt

the LAST character of the SECOND VALUE IS ALWAYS LOST .

In another case of a single session value again the LAST CHARACTER is lost.

Any pointers will be greatly appreciated.

B.rgds,

Sandhu




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message