You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2006/06/09 12:18:23 UTC

svn commit: r412996 - /forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl

Author: thorsten
Date: Fri Jun  9 03:18:23 2006
New Revision: 412996

URL: http://svn.apache.org/viewvc?rev=412996&view=rev
Log:
Fixing FOR-839.
projectInfo plugin does not list all Contributors.
I am using the Muenchian Method for grouping.
There is still a small issue with the last ',' which should not be displayed on the last entry.

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl?rev=412996&r1=412995&r2=412996&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl Fri Jun  9 03:18:23 2006
@@ -135,7 +135,7 @@
        contributions.</p>
 
        <p>
-         <xsl:for-each select="action[generate-id()=generate-id(key('distinct-contributor', @due-to))]">
+         <xsl:for-each select="action[@due-to and count(. | key('distinct-contributor', @due-to)[1]) = 1 and not(@due-to='')]">
            <xsl:sort select="@due-to"/>
            <xsl:value-of select="@due-to"/>
            <xsl:text>, </xsl:text>