You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Viktors Rotanovs <vi...@riga.nu> on 2000/09/10 04:01:11 UTC

bug?

Hi,

I'm new to cocoon, but isn't that a bug?
response.xsl, line 320
-----------------
String.valueOf(<xsl:copy-of select="$url"/>),
-----------------
seems like there should be no comma at the end of this
(and encode-redirect-url should finally work).
Cocoon 1.8-dev, xml-cocoon_20000906221458.tar.gz

-- 
Best Wishes,
Viktors Rotanovs
I create websites that attract more clients. http://riga.nu/
Riga Latvia +371, Phone 7377-142, GSM 9173-000, FAX 7377-472

Re: bug?

Posted by sudhi <su...@insage.com>.
Hi,
I thinks, its JSDK2.0 and JSDK2.2 problem. Since Cocoon 1.X is JSDK2.0
compatible, it should support it.
TIA
Sudhi

Viktors Rotanovs wrote:
> 
> Hi,
> 
> response.encodeUrl is deprecated by encodeURL, and works
> OK on jdk1.3 (but I didn't test it on 1.2 or 1.1.8).
> 
> On Mon, 11 Sep 2000, you wrote:
> > Hi,
> > Even I had the same problem in response.xsl. There were two problem, one
> > is yours and the other is in line 355.
> >           response.encodeURL(
> >             String.valueOf(<xsl:copy-of select="$url"/>)
> >           )
> > where as it should be
> >            response.encodeUrl(
> >             String.valueOf(<xsl:copy-of select="$url"/>)
> >           )
> >
> > When I reported these problem, I think Robin or Donald asked the cocoon
> > dev list to fix this. And really dont know whether its fixed or not.
> >
> > I just looked into
> >
> > http://xml.apache.org/websrc/cvsweb.cgi/xml-cocoon/src/org/apache/cocoon/pr
> >ocessor/xsp/library/java/response.xsl?rev=1.8&content-type=text/vnd.viewcvs-
> >markup
> >
> > and its still not fixed. Can somebody fix it please ?
> >
> > Thanks
> > Sudhi
> >
> > Viktors Rotanovs wrote:
> > > Hi,
> > >
> > > I'm new to cocoon, but isn't that a bug?
> > > response.xsl, line 320
> > > -----------------
> > > String.valueOf(<xsl:copy-of select="$url"/>),
> > > -----------------
> > > seems like there should be no comma at the end of this
> > > (and encode-redirect-url should finally work).
> > > Cocoon 1.8-dev, xml-cocoon_20000906221458.tar.gz
> > >
> > > --
> > > Best Wishes,
> > > Viktors Rotanovs
> > > I create websites that attract more clients. http://riga.nu/
> > > Riga Latvia +371, Phone 7377-142, GSM 9173-000, FAX 7377-472
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> --
> Best Wishes,
> Viktors Rotanovs
> I create websites that attract more clients. http://riga.nu/
> Riga Latvia +371, Phone 7377-142, GSM 9173-000, FAX 7377-472
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Re: bug?

Posted by Viktors Rotanovs <vi...@riga.nu>.
Hi,

response.encodeUrl is deprecated by encodeURL, and works
OK on jdk1.3 (but I didn't test it on 1.2 or 1.1.8).

On Mon, 11 Sep 2000, you wrote:
> Hi,
> Even I had the same problem in response.xsl. There were two problem, one
> is yours and the other is in line 355.
>           response.encodeURL(
>             String.valueOf(<xsl:copy-of select="$url"/>)
>           )
> where as it should be
>            response.encodeUrl(
>             String.valueOf(<xsl:copy-of select="$url"/>)
>           )
>
> When I reported these problem, I think Robin or Donald asked the cocoon
> dev list to fix this. And really dont know whether its fixed or not.
>
> I just looked into
>
> http://xml.apache.org/websrc/cvsweb.cgi/xml-cocoon/src/org/apache/cocoon/pr
>ocessor/xsp/library/java/response.xsl?rev=1.8&content-type=text/vnd.viewcvs-
>markup
>
> and its still not fixed. Can somebody fix it please ?
>
> Thanks
> Sudhi
>
> Viktors Rotanovs wrote:
> > Hi,
> >
> > I'm new to cocoon, but isn't that a bug?
> > response.xsl, line 320
> > -----------------
> > String.valueOf(<xsl:copy-of select="$url"/>),
> > -----------------
> > seems like there should be no comma at the end of this
> > (and encode-redirect-url should finally work).
> > Cocoon 1.8-dev, xml-cocoon_20000906221458.tar.gz
> >
> > --
> > Best Wishes,
> > Viktors Rotanovs
> > I create websites that attract more clients. http://riga.nu/
> > Riga Latvia +371, Phone 7377-142, GSM 9173-000, FAX 7377-472
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

-- 
Best Wishes,
Viktors Rotanovs
I create websites that attract more clients. http://riga.nu/
Riga Latvia +371, Phone 7377-142, GSM 9173-000, FAX 7377-472

Re: bug?

Posted by sudhi <su...@insage.com>.
Hi,
Even I had the same problem in response.xsl. There were two problem, one
is yours and the other is in line 355.
          response.encodeURL(
            String.valueOf(<xsl:copy-of select="$url"/>)
          )
where as it should be
           response.encodeUrl(
            String.valueOf(<xsl:copy-of select="$url"/>)
          )

When I reported these problem, I think Robin or Donald asked the cocoon
dev list to fix this. And really dont know whether its fixed or not.

I just looked into 

http://xml.apache.org/websrc/cvsweb.cgi/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/response.xsl?rev=1.8&content-type=text/vnd.viewcvs-markup

and its still not fixed. Can somebody fix it please ?

Thanks
Sudhi 

Viktors Rotanovs wrote:
> 
> Hi,
> 
> I'm new to cocoon, but isn't that a bug?
> response.xsl, line 320
> -----------------
> String.valueOf(<xsl:copy-of select="$url"/>),
> -----------------
> seems like there should be no comma at the end of this
> (and encode-redirect-url should finally work).
> Cocoon 1.8-dev, xml-cocoon_20000906221458.tar.gz
> 
> --
> Best Wishes,
> Viktors Rotanovs
> I create websites that attract more clients. http://riga.nu/
> Riga Latvia +371, Phone 7377-142, GSM 9173-000, FAX 7377-472
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org