Project

Profile

Help

Bug #6211

closed

Saxon return wrong error position in XPath expression

Added by Gerben Abbink 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2023-10-02
Due date:
% Done:

100%

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

Description

I have found two XPath expressions with an error where Saxon returns a wrong error position (there's a small offset).

1 instance of array(xs:NMTOKENS) == Saxon reports 20, I think 21 is better.
[1, 2, 3] instance of function(xs:IDREFS) as xs:IDREFS == Saxon reports 31, I think 32 is better.

Please register to edit this issue

Also available in: Atom PDF