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=28076>. 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=28076 last() in templates stops further evaluation Summary: last() in templates stops further evaluation Product: Fop Version: 0.20.5 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The call When using fop with xml and xsl as input <xsl:apply-templates select='CRUISEALTITUDE|CRUISESPEED|CRUISEFUEL'/> to <xsl:template match='node()' > <xsl:value-of select="normalize-space(string())"/> <xsl:if test="not(position()=last())"> / </xsl:if> <!-- further evaluation --> </xsl:template> will produce only the first content and the '/'. No 'further evaluation' Problem occurs when using last(). Xalan e.g. renders a correct result. which may be renderd via fop.