cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Luta <>
Subject [PATCH] XSP doesn't like 'xsp' in PIs
Date Wed, 12 Apr 2000 14:38:25 GMT
There's a bug in the XSP library (Cocoon 1.7) which prevents the use of the string
'xsp' in PIs after they've been processed by xsp-java.xsl.

This may cause future processing of the document to fail if the stylesheet URL 
contains this string.

The following patch should correct the issue:

cvs -z9 diff xsp-java.xsl (in directory
Index: xsp-java.xsl
RCS file:
retrieving revision 1.14
diff -r1.14 xsp-java.xsl
<         <xsl:for-each select="/processing-instruction()[not(contains(.,'xsp'))]">
>         <xsl:for-each select="/processing-instruction()[not(starts-with(.,'xsp') or
(contains(.,'cocoon-process') and contains(.,'xsp')))]">

Raphaël Luta -

View raw message