[Mono-devel-list] Another small change for corecompare

Andreas Nahr ClassDevelopment at A-SoftTech.com
Sat Jul 12 13:27:44 EDT 2003


This will change the percentage complete values that corecompare displays on the webpage to the total percentage.
That means if the assembly says: 100% complete, then there is nothing left to do.
With the current solution it can say 100% but still miss hundereds or thouthands of members.

Andreas


Index: cormissing.xsl
===================================================================
RCS file: /cvs/public/mcs/tools/corcompare/cormissing.xsl,v
retrieving revision 1.10
diff -u -r1.10 cormissing.xsl
--- cormissing.xsl 8 Jan 2003 18:00:00 -0000 1.10
+++ cormissing.xsl 12 Jul 2003 17:35:39 -0000
@@ -416,11 +416,11 @@
  </xsl:template>
 
  <xsl:template name="status">
-  <xsl:if test="@complete and @complete != 0">
+  <xsl:if test="@complete_total and @complete_total != 0">
    <SPAN class="st">
     <img src="cm/sc.gif"/>
     <xsl:text>: </xsl:text>
-    <xsl:value-of select="@complete"/>
+    <xsl:value-of select="@complete_total"/>
     <xsl:text>%</xsl:text>
    </SPAN>
   </xsl:if>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030712/916b08e2/attachment.html 


More information about the Mono-devel-list mailing list