When a <testcase> contains an <error> or <failure>, a bug in phpunit2-[no]frames.xsl causes the XSLT conversion to fail. The patches are:
diff -C 5 -r1.1 phpunit2-frames.xsl
*** phpunit2-frames.xsl 2007/05/14 02:27:25 1.1
--- phpunit2-frames.xsl 2007/05/14 02:28:04
***************
*** 648,657 ****
--- 648,658 ----
<!--
template that will convert a carriage return into a br tag
@param word the text from which to convert CR to BR tag
-->
<xsl:template name="br-replace">
+ <xsl:param name="word"/>
<xsl:choose>
<xsl:when test="contains($word,'
')">
<xsl:value-of select="substring-before($word,'
')"/>
<br />
<xsl:call-template name="br-replace">
diff -C 5 -r1.1 phpunit2-noframes.xsl
*** phpunit2-noframes.xsl 2007/05/14 02:10:12 1.1
--- phpunit2-noframes.xsl 2007/05/14 14:07:29
***************
*** 406,415 ****
--- 406,416 ----
<!--
template that will convert a carriage return into a br tag
@param word the text from which to convert CR to BR tag
-->
<xsl:template name="br-replace">
+ <xsl:param name="word"/>
<xsl:choose>
<xsl:when test="contains($word,'
')">
<xsl:value-of select="substring-before($word,'
')"/>
<br />
<xsl:call-template name="br-replace">