Hello, > I cannot possibly put in some entity reference because the href is user input driven
If the href is user input driven then you have two choices: 1) Upon submitting the form, that sends the user input, use the onSubmit event to trigger some client-side scripting that converts troublesome characters in the URL into HTTP encodings e.g. (& = %26) 2) If the output of your JSP page is generating some markup that is then being processed by a cocoon pipeline, do something similar in your JSP. Hope this helps. Regards Phil Fennell -----Original Message----- From: kranga [mailto:[EMAIL PROTECTED] Sent: 08 September 2004 19:54 To: [EMAIL PROTECTED] Subject: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
