cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject RE: Big XSP Problem with backslashes or double quotes in attribut e values.
Date Tue, 16 Jan 2001 06:47:01 GMT
On Mon, 15 Jan 2001, Dylan Walsh wrote:

> Thanks to Michael Bierenfield who pointed out that the Java files are
> generated with an XSL transformation:
> org/apache/cocoon/processor/xsp/xsp-java.xsl.
>
> 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
> location.

i just checked these changes into xsp-java.xsl for c1. dylan, thanks for
your persistance and solution. seems to work like a charm.

- donald


Mime
View raw message