This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / tools / corcompare / mono-api.xsl
index b0fefcd4e1da06e3007b78bc5257c6d22932aefa..3084ed00017de3fe3c616521855acb35702a4f55 100644 (file)
                                        </xsl:element>
                                </xsl:when>
                                <xsl:when test="@error = 'todo'">
-                                       <img src="cm/st.gif" class="t"/>
+                                       <xsl:element name="img">
+                                               <xsl:attribute name="src">cm/st.gif</xsl:attribute>
+                                               <xsl:attribute name="class">t</xsl:attribute>
+                                               <xsl:if test="@comment">
+                                                       <xsl:attribute name="title"><xsl:value-of select="@comment"/></xsl:attribute>
+                                               </xsl:if>
+                                               <xsl:if test="not(@comment)">
+                                                       <xsl:attribute name="title">No TODO description</xsl:attribute>
+                                               </xsl:if>
+                                       </xsl:element>
                                </xsl:when>
                                <xsl:when test="@presence = 'missing'">
                                        <img src="cm/sm.gif" class="t"/>