do not warn about packages referenced multiple times anymore - we have too much of them now for the warning to be useful

This commit is contained in:
nim 2007-11-26 21:23:31 +00:00
parent 62915685ea
commit c3ed88ed9e

View File

@ -118,7 +118,7 @@
<xsl:template match="category/grouplist/groupid[generate-id(.) != generate-id(key('unique-group-entries',concat(../../id/text(),'/',text()))[1])]" priority="1">
<xsl:message> ☹ Ignoring duplicate reference to group <xsl:value-of select="text()"/> in category <xsl:value-of select="concat(../../_name/text(),' (',../../id/text(),')')"/>.</xsl:message>
</xsl:template>
<!-- Warn about packages referenced several times -->
<!-- Warn about packages referenced several times
<xsl:template match="packagereq[generate-id(.) = generate-id(key('unique-packages',text())[2])]" priority="1">
<xsl:variable name="dupes" select="key('unique-packages',text())"/>
<xsl:message> ☹ Package <xsl:value-of select="text()"/> is referenced in <xsl:value-of select="count($dupes)"/> groups:</xsl:message>
@ -127,5 +127,5 @@
<xsl:message><xsl:value-of select="@type"/> package in group <xsl:value-of select="concat(../../_name/text(),' (',../../id/text(),')')"/></xsl:message>
</xsl:for-each>
<xsl:apply-templates select="." mode="normalize"/>
</xsl:template>
</xsl:template> -->
</xsl:stylesheet>