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=27429>. 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=27429 last() breaks nodeset position Summary: last() breaks nodeset position Product: XalanJ2 Version: CurrentCVS Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This might be a dupe of #22949, but I'm not sure. My XML is: <xml> <section name="name1"> <section name="name2"></section> <section name="name3"></section> </section> </xml> My transform does a: <xsl:apply-templates select="section | section/section"/> ... <xsl:template match="section"> <xsl:value-of select="position()"/> - <xsl:value-of select="last()"/> </xsl:template> The 'last()' call seems to upset the current position in the nodeset and only the first section will match. Will attach my test JSTL transform.
