You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/04/12 20:02:41 UTC
DO NOT REPLY [Bug 8030] New: -
Problem with nodeset returned from xalan:distinct() function
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: xalan-dev@xml.apache.org
ReportedBy: Rick.Bullotta@lighthammer.com
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>