Project

Profile

Help

Bug #3279

closed

Query evaluation continues though positional filter can no longer be satisfied

Added by Gunther Rademacher almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Streaming
Sprint/Milestone:
-
Start date:
2017-06-14
Due date:
% Done:

100%

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

Description

In previous releases, the evaluation of this query

for $x in saxon:stream(doc('uriresolver:resolve')/*/*)[position() <= 1]
return $x

With Saxon-EE 9.7 and earlier, all of these filters had this behaviour:

	[1]
	[position() = 1]
	[position() <= 1]
	[position() le 1]

I am attaching a TestNG test that demonstrates this.


Files

TestPositionalFilter.java (3.46 KB) TestPositionalFilter.java Gunther Rademacher, 2017-06-14 09:53

Please register to edit this issue

Also available in: Atom PDF