You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by kranga <kr...@k2d2.org> on 2004/09/08 20:53:34 UTC
Problem dealing with & ampersand - HELP
I have a jsp page that produces a href element that has some query
parameters. Unfortunately the cocoon pipeline throws an error:
org.apache.cocoon.ProcessingException: SAXException while parsing JSPEngine
output: null:102:135:org.xml.sax.SAXParseException: The reference to entity
"subsect" must end with the ';' delimiter.
The href element has a URL of the form xyz.com?test=1&subsect=go
How do I get around this? I cannot possibly put in some entity reference
because the href is user input driven.
Thanks
K
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Problem dealing with & ampersand - HELP
Posted by Dale Christ <gr...@gmail.com>.
On Wed, 8 Sep 2004 14:53:34 -0400, kranga <kr...@k2d2.org> wrote:
> I have a jsp page that produces a href element that has some query
substitute your '&' for '&' like this:
xyz.com?test=1&subsect=go
>
> org.apache.cocoon.ProcessingException: SAXException while parsing JSPEngine
> output: null:102:135:org.xml.sax.SAXParseException: The reference to entity
> "subsect" must end with the ';' delimiter.
>
> The href element has a URL of the form xyz.com?test=1&subsect=go
>
> How do I get around this? I cannot possibly put in some entity reference
> because the href is user input driven.
>
> Thanks
> K
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org