jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22765] - Wrong values from position() and last() functions with forEach
Date Thu, 07 Dec 2006 01:12:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=22765>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=22765





------- Additional Comments From bayard@apache.org  2006-12-06 17:12 -------
Impressive, in 1.1 this is no longer the case! Now we get:

-1. James
-1. Asgeir 

Progress. When testing in Xalan with the following xsl:

<xsl:template match="names/name">
    <xsl:value-of select="position()"/>. <xsl:value-of select="."/>
</xsl:template>

I get:

  2. James
  4. Asgeir

Playing around - that's due to whitespace in the xml document counting as elements.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message