DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8030>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8030 Problem with nodeset returned from xalan:distinct() function Summary: Problem with nodeset returned from xalan:distinct() function Product: XalanJ2 Version: 2.3Dx Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The following expression evaluated properly in 2.3.1 and earlier, and returns, of all things "-1" in the 4/10 nightly build. <xsl:variable name="UniqueSystemIDCount" select="count (xalan:distinct/Rowsets/Rowset/Row/System))"/> A similar bug exists in the last() function. The following will return "-1" for last(): <xsl:for-each select="xalan:distinct(/Rowsets/Rowset/Row/System)"> <xsl:value-of select="position()"/> of <xsl:value-of select="last()"/> </xsl:for-each>
