db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu" <sean.xx....@gmail.com>
Subject [test] Fail to generate the junit report
Date Thu, 21 Jun 2007 08:05:04 GMT
have somebody encountered this problem?

     [java] junitreport:
     [java] [junitreport] Transform time: 1161ms
     [java]      [xslt] Processing
/derby-test/junit_20070621_1040/overview-frame.html to
/home/sean/harmony/buildtest2/build/checkouts/derby-test/junit_20070621_1040/overview-frame2.html
     [java]      [xslt] Loading stylesheet
/derby-test/tools/ant/xsl/sysinfo_junitreport.xsl
     [java]      [xslt] : Error! Attribute name "nowrap" associated
with an element type "td" must be followed by the ' = ' character.
     [java]      [xslt] : Error!
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException:
Attribute name "nowrap" associated with an element type "td" must be
followed by the ' = ' character.
     [java]      [xslt] Failed to process
/derby-test/junit_20070621_1040/overview-frame.html

I have not modify the derby-test/tools/ant/xsl/sysinfo_junitreport.xsl
file. It's content is

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<!--
 |   XSL Stylesheet for inserting a link to sysinfo output into junitreport
 |   output HTML files.
 |-->

<xsl:output method="xml" encoding="utf-8"/>

<!-- copy everything -->
<xsl:template match="*|@*">
  <xsl:copy>
    <xsl:apply-templates select="@*"/>
    <xsl:apply-templates select="node()"/>
  </xsl:copy>
</xsl:template>

<!-- insert sysinfo link into first h2 element. -->
<xsl:template match="h2[1]">
  <xsl:copy>
    <xsl:copy-of select="*"/><br/>
    <a href="sysinfo.txt" target="classFrame">sysinfo</a>
  </xsl:copy>
</xsl:template>

</xsl:stylesheet>

Thanks.

-- 
Sean Qiu

Mime
View raw message