You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Jaak <va...@hot.ee> on 2002/12/14 18:08:52 UTC
xslt and get
Hi!
I'm using EmbperlLibXSLT recipie with document.xsl and when quering page
via GET I revice error:
http://127.0.0.1/document.html?test=test+test
---
[1281]ERR: 58: document.xsl(1): LibXSLT Error: Error Invalid
expression: [1281]ERR: 58: document.xsl(1): LibXSLT Error: t:
[1281]ERR: 58: document.xsl(1): LibXSLT Error: e: [1281]ERR: 58:
document.xsl(1): LibXSLT Error: s: [1281]ERR: 58: document.xsl(1):
LibXSLT Error: t: [1281]ERR: 58: document.xsl(1): LibXSLT Error: :
[1281]ERR: 58: document.xsl(1): LibXSLT Error: t: [1281]ERR: 58:
document.xsl(1): LibXSLT Error: e: [1281]ERR: 58: document.xsl(1):
LibXSLT Error: s: [1281]ERR: 58: document.xsl(1): LibXSLT Error: t:
[1281]ERR: 58: document.xsl(1): LibXSLT Error: : [1281]ERR: 58:
document.xsl(1): LibXSLT Error: : [1281]ERR: 58: document.xsl(1):
LibXSLT Error: : [1281]ERR: 58: document.xsl(1): LibXSLT Error: :
[1281]ERR: 58: document.xsl(1): LibXSLT Error: : [1281]ERR: 58:
document.xsl(1): LibXSLT Error: : [1281]ERR: 58: document.xsl(1):
LibXSLT Error: ^:
---
While submitting form and using POST method everything works ok.
What is wrong?
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: xslt and get
Posted by Gerald Richter <ri...@ecos.de>.
Hi!
>
> > Could you try
> >
> > http://127.0.0.1/document.html?test='test+test'
> >
> > (Note the quotes arround test+test)
> >
> > Does this work?
> >
>
> Yes.
> Also http://127.0.0.1/document.html?test='test+test+%F6%F6%E4%E4%FC%FC'
> like things work.
>
>
%fdat is feed as parameters into libxslt. libxslt needs text to be quoted.
The best would be the change the line where %fdat is moved into xsltparam
(you have already changed it), so that every item is quoted, before it is
passed into xsltparam
Gerald
P.S. Please keep the discussion on the list
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: xslt and get
Posted by Gerald Richter <ri...@ecos.de>.
>
> I'm using EmbperlLibXSLT recipie with document.xsl and when quering page
> via GET I revice error:
>
> http://127.0.0.1/document.html?test=test+test
>
Could you try
http://127.0.0.1/document.html?test='test+test'
(Note the quotes arround test+test)
Does this work?
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org