View | Details | Raw Unified | Return to bug 54641
Collapse All | Expand All

(-)src/etc/junit-frames-xalan1.xsl (-5 / +5 lines)
Lines 2-8 Link Here
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3
    xmlns:lxslt="http://xml.apache.org/xslt"
3
    xmlns:lxslt="http://xml.apache.org/xslt"
4
    xmlns:redirect="org.apache.xalan.lib.Redirect"
4
    xmlns:redirect="org.apache.xalan.lib.Redirect"
5
    xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils"
5
    xmlns:string="xalan://java.lang.String"
6
    extension-element-prefixes="redirect">
6
    extension-element-prefixes="redirect">
7
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
7
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
8
<xsl:decimal-format decimal-separator="." grouping-separator=","/>
8
<xsl:decimal-format decimal-separator="." grouping-separator=","/>
Lines 705-714 Link Here
705
705
706
<xsl:template name="JS-escape">
706
<xsl:template name="JS-escape">
707
    <xsl:param name="string"/>
707
    <xsl:param name="string"/>
708
    <xsl:param name="tmp1" select="stringutils:replace(string($string),'\','\\')"/>
708
    <xsl:param name="tmp1" select="string:replace(string:new(string($string)),string:new('\'),string:new('\\'))"/>
709
    <xsl:param name="tmp2" select="stringutils:replace(string($tmp1),&quot;'&quot;,&quot;\&apos;&quot;)"/>
709
    <xsl:param name="tmp2" select="string:replace(string:new(string($tmp1)),string:new(&quot;'&quot;),string:new(&quot;\&apos;&quot;))"/>
710
    <xsl:param name="tmp3" select="stringutils:replace(string($tmp2),&quot;&#10;&quot;,'\n')"/>
710
    <xsl:param name="tmp3" select="string:replace(string:new(string($tmp2)),string:new(&quot;&#10;&quot;),string:new('\n'))"/>
711
    <xsl:param name="tmp4" select="stringutils:replace(string($tmp3),&quot;&#13;&quot;,'\r')"/>
711
    <xsl:param name="tmp4" select="string:replace(string:new(string($tmp3)),string:new(&quot;&#13;&quot;),string:new('\r'))"/>
712
    <xsl:value-of select="$tmp4"/>
712
    <xsl:value-of select="$tmp4"/>
713
</xsl:template>
713
</xsl:template>
714
714
(-)src/etc/junit-noframes.xsl (-5 / +5 lines)
Lines 1-7 Link Here
1
<?xml version="1.0"?>
1
<?xml version="1.0"?>
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3
        xmlns:lxslt="http://xml.apache.org/xslt"
3
        xmlns:lxslt="http://xml.apache.org/xslt"
4
        xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils">
4
        xmlns:string="xalan://java.lang.String">
5
<xsl:output method="html" indent="yes" encoding="UTF-8"
5
<xsl:output method="html" indent="yes" encoding="UTF-8"
6
  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
6
  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
7
<xsl:decimal-format decimal-separator="." grouping-separator="," />
7
<xsl:decimal-format decimal-separator="." grouping-separator="," />
Lines 439-448 Link Here
439
439
440
<xsl:template name="JS-escape">
440
<xsl:template name="JS-escape">
441
    <xsl:param name="string"/>
441
    <xsl:param name="string"/>
442
    <xsl:param name="tmp1" select="stringutils:replace(string($string),'\','\\')"/>
442
    <xsl:param name="tmp1" select="string:replace(string:new(string($string)),string:new('\'),string:new('\\'))"/>
443
    <xsl:param name="tmp2" select="stringutils:replace(string($tmp1),&quot;'&quot;,&quot;\&apos;&quot;)"/>
443
    <xsl:param name="tmp2" select="string:replace(string:new(string($tmp1)),string:new(&quot;'&quot;),string:new(&quot;\&apos;&quot;))"/>
444
    <xsl:param name="tmp3" select="stringutils:replace(string($tmp2),&quot;&#10;&quot;,'\n')"/>
444
    <xsl:param name="tmp3" select="string:replace(string:new(string($tmp2)),string:new(&quot;&#10;&quot;),string:new('\n'))"/>
445
    <xsl:param name="tmp4" select="stringutils:replace(string($tmp3),&quot;&#13;&quot;,'\r')"/>
445
    <xsl:param name="tmp4" select="string:replace(string:new(string($tmp3)),string:new(&quot;&#13;&quot;),string:new('\r'))"/>
446
    <xsl:value-of select="$tmp4"/>
446
    <xsl:value-of select="$tmp4"/>
447
</xsl:template>
447
</xsl:template>
448
448
(-)src/etc/junit-frames.xsl (-5 / +5 lines)
Lines 2-8 Link Here
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3
    xmlns:lxslt="http://xml.apache.org/xslt"
3
    xmlns:lxslt="http://xml.apache.org/xslt"
4
    xmlns:redirect="http://xml.apache.org/xalan/redirect"
4
    xmlns:redirect="http://xml.apache.org/xalan/redirect"
5
    xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils"
5
    xmlns:string="xalan://java.lang.String"
6
    extension-element-prefixes="redirect">
6
    extension-element-prefixes="redirect">
7
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
7
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
8
<xsl:decimal-format decimal-separator="." grouping-separator=","/>
8
<xsl:decimal-format decimal-separator="." grouping-separator=","/>
Lines 864-873 Link Here
864
864
865
<xsl:template name="JS-escape">
865
<xsl:template name="JS-escape">
866
    <xsl:param name="string"/>
866
    <xsl:param name="string"/>
867
    <xsl:param name="tmp1" select="stringutils:replace(string($string),'\','\\')"/>
867
    <xsl:param name="tmp1" select="string:replace(string:new(string($string)),string:new('\'),string:new('\\'))"/>
868
    <xsl:param name="tmp2" select="stringutils:replace(string($tmp1),&quot;'&quot;,&quot;\&apos;&quot;)"/>
868
    <xsl:param name="tmp2" select="string:replace(string:new(string($tmp1)),string:new(&quot;'&quot;),string:new(&quot;\&apos;&quot;))"/>
869
    <xsl:param name="tmp3" select="stringutils:replace(string($tmp2),&quot;&#10;&quot;,'\n')"/>
869
    <xsl:param name="tmp3" select="string:replace(string:new(string($tmp2)),string:new(&quot;&#10;&quot;),string:new('\n'))"/>
870
    <xsl:param name="tmp4" select="stringutils:replace(string($tmp3),&quot;&#13;&quot;,'\r')"/>
870
    <xsl:param name="tmp4" select="string:replace(string:new(string($tmp3)),string:new(&quot;&#13;&quot;),string:new('\r'))"/>
871
    <xsl:value-of select="$tmp4"/>
871
    <xsl:value-of select="$tmp4"/>
872
</xsl:template>
872
</xsl:template>
873
873

Return to bug 54641