Project

Profile

Help

Bug #6207

closed

Filter expression not working properly

Added by Johan Gheys 8 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2023-09-22
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
11, 12, trunk
Fix Committed on Branch:
11, 12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

I have tried to make as simple a test case as possible (see attachment), with both Saxon-EE 11.6 and 12.3 generating the following output:

Batch execution starting...
count($line) = 1
count($line[@id = 1]) = 1
count($line[@id = (1, 1)]) = 1
*** Processing 2023-01-01
*** count($line) = 1
*** count($line[@id = 1]) = 1
*** count($line[@id = (1, 1)]) = 2
*** count($line[@id = (1, 1)]/.) = 1
Batch execution succeeded
Execution time: 0.209s

Note that count($line[@id = (1, 1)]) suddenly becomes equal to 2, depending on the nested level.


Files

filter-expression.zip (2.01 KB) filter-expression.zip Johan Gheys, 2023-09-22 21:59

Please register to edit this issue

Also available in: Atom PDF