testing problems with validation

I know this is a bit late in the day, but we're getting errors 
complaining about missing messages when they are present.  The xsl 
appears to be wrong. I'm assuming everyone's been running with 
validation enabled?

For example, we see lots of the following:

   testcase test1140 is missing message number 2..

The following template from the stylesheet appears to be indiscriminate 
and matches all test1140 messages instead of counting them.  It looks 
like it gets triggered when it is run for message number 1.

   <xsl:template match="log:message[@testcase='test1140']" 
priority="3999" mode="M43">
      <xsl:choose>
         <xsl:when test="@message='2'"/>
         <xsl:otherwise>testcase test1140 is missing message number 2..
</xsl:otherwise>
      </xsl:choose>
      <xsl:apply-templates mode="M43"/>
   </xsl:template>

Mark.

Received on Thursday, 2 March 2006 10:16:53 UTC