cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandhu@terra-firma" <san...@apparelxml.net>
Subject Re: Reading session values - last char lost !
Date Mon, 23 Dec 2002 05:09:59 GMT
Hi Antonio,

We use the <xsp-session:getxml>,tks,its great - no problem there .

The prob was using org.w3c.dom.node.getNodeValue() .
Anyway we changed to session object.

Sandhu

----- Original Message -----
From: "Antonio Gallardo" <agallardo@agsoftware.dnsalias.com>
To: <cocoon-users@xml.apache.org>
Sent: Saturday, December 21, 2002 11:42 PM
Subject: Re: Reading session values - last char lost !


> Hi.
>
> I built the <xsp-session:getxml>. The tag does not cut any chars. Then I
> think the problem can be in other part of the code. Maybe not your code.
>
> Antonio Gallardo.
>
> sandhu@terra-firma dijo:
> > 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>
>
>
>
>
> ---------------------------------------------------------------------
> 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>
>
>
>



---------------------------------------------------------------------
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