You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ba...@locus.apache.org on 2000/07/11 07:17:34 UTC
cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java sql.xsl
balld 00/07/10 22:17:33
Modified: src/org/apache/cocoon/processor/xsp/library/java sql.xsl
Log:
removed normalize-space from get-nested-string template since it was causing some carefully constructed sql queries to barf due to whitespace tripping, argh!
PLEASE let me know if this causes any trouble for you!
Revision Changes Path
1.15 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/sql.xsl
Index: sql.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/sql.xsl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- sql.xsl 2000/07/06 03:40:20 1.14
+++ sql.xsl 2000/07/11 05:17:33 1.15
@@ -27,7 +27,7 @@
+ <xsl:apply-templates select="."/>
</xsl:when>
<xsl:otherwise>
- + "<xsl:value-of select="normalize-space(translate(.,'	 ',' '))"/>"
+ + "<xsl:value-of select="translate(.,'	 ',' ')"/>"
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>