bodewig     2005/06/21 05:09:25

  Modified:    .        WHATSNEW
               src/etc  junit-frames.xsl junit-noframes.xsl
  Log:
  fix PR 34963, create <br/> in stack-traces
  
  Revision  Changes    Path
  1.840     +5 -2      ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.839
  retrieving revision 1.840
  diff -u -r1.839 -r1.840
  --- WHATSNEW  6 Jun 2005 22:18:27 -0000       1.839
  +++ WHATSNEW  21 Jun 2005 12:09:24 -0000      1.840
  @@ -1,5 +1,5 @@
  -Changes from current Ant 1.6 CVS version to current CVS version
  -=============================================
  +Changes from current Ant 1.6.5 version to current CVS version
  +=============================================================
   
   Changes that could break older environments:
   --------------------------------------------
  @@ -113,6 +113,9 @@
   * <tar> / <untar> now accepts files upto 8GB, <tar> gives an error if larger 
     files are to be included. This is the POSIX size limit.
   
  +* <junitreport> removed line-breaks from stack-traces.  Bugzilla
  +  Report 34963.
  +
   Other changes:
   --------------
   
  
  
  
  1.25      +1 -2      ant/src/etc/junit-frames.xsl
  
  Index: junit-frames.xsl
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/junit-frames.xsl,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- junit-frames.xsl  14 Mar 2005 09:13:42 -0000      1.24
  +++ junit-frames.xsl  21 Jun 2005 12:09:24 -0000      1.25
  @@ -701,8 +701,7 @@
   -->
   <xsl:template name="br-replace">
       <xsl:param name="word"/>
  -    <xsl:param name="br"><br/></xsl:param>
  -    <xsl:value-of select='stringutils:replace(string($word),"&#xA;",$br)'/>
  +    <xsl:value-of disable-output-escaping="yes" 
select='stringutils:replace(string($word),"&#xA;","&lt;br/>")'/>
   </xsl:template>
   
   <xsl:template name="display-time">
  
  
  
  1.16      +2 -3      ant/src/etc/junit-noframes.xsl
  
  Index: junit-noframes.xsl
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/junit-noframes.xsl,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- junit-noframes.xsl        11 Nov 2004 16:04:43 -0000      1.15
  +++ junit-noframes.xsl        21 Jun 2005 12:09:24 -0000      1.16
  @@ -5,7 +5,7 @@
     doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
   <xsl:decimal-format decimal-separator="." grouping-separator="," />
   <!--
  -   Copyright 2001-2004 The Apache Software Foundation
  +   Copyright 2001-2005 The Apache Software Foundation
   
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
  @@ -447,8 +447,7 @@
   -->
   <xsl:template name="br-replace">
       <xsl:param name="word"/>
  -    <xsl:param name="br"><br/></xsl:param>
  -    <xsl:value-of select='stringutils:replace(string($word),"&#xA;",$br)'/>
  +    <xsl:value-of disable-output-escaping="yes" 
select='stringutils:replace(string($word),"&#xA;","&lt;br/>")'/>
   </xsl:template>
   
   <xsl:template name="display-time">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to