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=11629>. 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=11629 XPath position() function returns twice the position Summary: XPath position() function returns twice the position Product: XalanC Version: 1.3.x Platform: Other OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: XPathC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Given the following input XML : <?xml version="1.0"?> <list> <item/> <item/> <item/> <item/> </list> and the following XSLT <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" /> <xsl:template match="item"> Item <xsl:value-of select="position()"/> </xsl:template> <xsl:template match="/"> <html> <body> <xsl:apply-templates /> </body> </html> </xsl:template> </xsl:stylesheet> The output is <html> <body> Item 2 Item 4 Item 6 Item 8 </body> </html> It should be 1,2,3,4
