mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
17.15.2012 b002eddf94ec3b320791999adbd905f99afc2884
opends/ext/ant/etc/junit-frames-xalan1.xsl
@@ -1,9 +1,10 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:lxslt="http://xml.apache.org/xslt"
    xmlns:redirect="org.apache.xalan.lib.Redirect"
    xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils"
    extension-element-prefixes="redirect">
<xsl:output method="html" indent="yes" encoding="US-ASCII"/>
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
<xsl:decimal-format decimal-separator="." grouping-separator=","/>
<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
@@ -96,14 +97,28 @@
            <xsl:apply-templates select="." mode="class.details"/>
        </redirect:write>
        <xsl:if test="string-length(./system-out)!=0">
            <redirect:write file="{$output.dir}/{$package.dir}/{@name}-out.txt">
                <xsl:value-of select="./system-out" />
            </redirect:write>
          <redirect:write file="{$output.dir}/{$package.dir}/{@name}-out.html">
            <html>
              <head>
                <title>Standard Output from <xsl:value-of select="@name"/></title>
              </head>
              <body>
                <pre><xsl:value-of select="./system-out"/></pre>
              </body>
            </html>
          </redirect:write>
        </xsl:if>
        <xsl:if test="string-length(./system-err)!=0">
            <redirect:write file="{$output.dir}/{$package.dir}/{@name}-err.txt">
                <xsl:value-of select="./system-err" />
            </redirect:write>
          <redirect:write file="{$output.dir}/{$package.dir}/{@name}-err.html">
            <html>
              <head>
                <title>Standard Error from <xsl:value-of select="@name"/></title>
              </head>
              <body>
                <pre><xsl:value-of select="./system-err"/></pre>
              </body>
            </html>
          </redirect:write>
        </xsl:if>
    </xsl:for-each>
</xsl:template>
@@ -263,7 +278,7 @@
            <xsl:if test="string-length(./system-out)!=0">
                <div class="Properties">
                    <a>
                        <xsl:attribute name="href">./<xsl:value-of select="@name"/>-out.txt</xsl:attribute>
                        <xsl:attribute name="href">./<xsl:value-of select="@name"/>-out.html</xsl:attribute>
                        System.out &#187;
                    </a>
                </div>
@@ -271,7 +286,7 @@
            <xsl:if test="string-length(./system-err)!=0">
                <div class="Properties">
                    <a>
                        <xsl:attribute name="href">./<xsl:value-of select="@name"/>-err.txt</xsl:attribute>
                        <xsl:attribute name="href">./<xsl:value-of select="@name"/>-err.html</xsl:attribute>
                        System.err &#187;
                    </a>
                </div>