cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dylan Walsh <>
Subject RE: Big XSP Problem with backslashes or double quotes in attribut e values.
Date Mon, 15 Jan 2001 10:32:42 GMT
Thanks to Michael Bierenfield who pointed out that the Java files are
generated with an XSL transformation:

I changed the template for attributes, and put in some code to escape
backslashes and quotes in attribute values. The search and replace is based
on an example from the XSLT FAQ. I regenerated the Cocoon.jar with the new
xsp-java.xsl. I have tested this and it fixes the problem.

Here is the corrected version of the file. Please feel free to use this in
future versions of Cocoon, if you wish. Note that the version below is for
Cocoon 1.7.4, however the changes can be applied to the 1.8 version, and the
modified templates have comments with "DW" at the start of them for easy


> -----Original Message-----
> From:	Robin Green []
> Sent:	Friday, January 12, 2001 9:20 PM
> To:
> Cc:
> Subject:	Re: Big XSP Problem with backslashes or double quotes in
> attribute va lues.
> Thanks, this is a confirmed bug. You can track progress here:

View raw message