Project

Profile

Help

Bug #2344

closed

Expression 'position() eq last()' wrongly evaluated inside an xsl:result-document instruction

Added by Debbie Lockett over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
XSLT conformance
Sprint/Milestone:
Start date:
2015-03-31
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

Description

When an expression 'position() eq last()' (or similarly 'position() ne last()') is used inside the body of an xsl:result-document instruction (for example as the select attribute of an xsl:value-of), but the context for these functions is outside the instruction, the wrong results are produced.

Bug found when running the 9.7 development branch, but also appears to be a bug in 9.5 and 9.6.

Please register to edit this issue

Also available in: Atom PDF