cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ba...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java sql.xsl
Date Thu, 30 Mar 2000 04:59:10 GMT
balld       00/03/29 20:59:10

  Modified:    src/org/apache/cocoon/processor/xsp/library/java sql.xsl
  Log:
  While the normalize-whitespace was nice, it generated invalid SQL sometimes
  since it dropped whitespace between text and elements that turned into text.
  
  Revision  Changes    Path
  1.8       +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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- sql.xsl	2000/03/29 06:31:57	1.7
  +++ sql.xsl	2000/03/30 04:59:10	1.8
  @@ -27,7 +27,7 @@
   						+ <xsl:apply-templates select="."/>
   					</xsl:when>
   					<xsl:otherwise>
  -						+ "<xsl:value-of select="normalize-space(translate(.,'&#9;&#10;&#13;','
  '))"/>"
  +						+ "<xsl:value-of select="translate(.,'&#9;&#10;&#13;','   ')"/>"
   					</xsl:otherwise>
   				</xsl:choose>
   			</xsl:for-each>
  
  
  

Mime
View raw message