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=4638>. 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=4638 Semantic of last() inside a for-each guard Summary: Semantic of last() inside a for-each guard Product: XalanJ2 Version: 2.2.x Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The semantic of last() inside a for-each guard is flawed. (It was OK in previous releases of Xalan-J). In particular, the next two for-each should have the same semantics, but this is not the case. <xsl:variable name="last" select="count(*)"/> <xsl:for-each select="*[$last > position()]"> <xsl:for-each select="*[last() > position()]">
