cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/src/webapp/stylesheets/system error2html.xslt
Date Wed, 03 Sep 2003 10:50:48 GMT
bruno       2003/09/03 03:50:48

  Modified:    src/webapp/stylesheets/system error2html.xslt
  Log:
  Disabled returns2br stylesheet since it can cause StackOverflowErrors
  
  Revision  Changes    Path
  1.9       +7 -0      cocoon-2.1/src/webapp/stylesheets/system/error2html.xslt
  
  Index: error2html.xslt
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/stylesheets/system/error2html.xslt,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- error2html.xslt	2 Jul 2003 09:31:00 -0000	1.8
  +++ error2html.xslt	3 Sep 2003 10:50:48 -0000	1.9
  @@ -118,6 +118,12 @@
   
   <xsl:template name="returns2br">
     <xsl:param name="string"/>
  +  <xsl:value-of select="$string"/>
  +  <!--
  +    Disabled this template since it can cause a StackOverflowError on longer
  +    stacktraces, and doesn't seem to be needed anyhow.
  +  -->
  +  <!--
     <xsl:variable name="return" select="'&#xa;'"/>
     <xsl:choose>
       <xsl:when test="contains($string,$return)">
  @@ -131,6 +137,7 @@
         <xsl:value-of select="$string"/>
       </xsl:otherwise>
     </xsl:choose>
  +  -->
   </xsl:template>
   
   </xsl:stylesheet>
  
  
  

Mime
View raw message