Project

Profile

Help

Bug #4029

closed

saxon:path() is broken in 9.9

Added by David Sewell over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Saxon extensions
Sprint/Milestone:
-
Start date:
2018-11-15
Due date:
% Done:

100%

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

Description

I see that saxon:path() has been obsolete since fn:path() was introduced. However, it was working in 9.8 but appears to be entirely broken in 9.9 (Saxon-PE 9.9.0.2J) as I discovered when running an older XSLT transform. For the simple test files attached, 9.8 produces the expected message:

Found a nugget at /doc/p[3]/i[1]

while 9.9 outputs

Found a nugget at /doc/p187/i185

If it is not worth fixing perhaps it should simply be removed?


Files

test.xml (98 Bytes) test.xml saxon:path() test XML David Sewell, 2018-11-15 20:31
test.xsl (517 Bytes) test.xsl saxon:path() test XSLT David Sewell, 2018-11-15 20:31

Related issues

Has duplicate Saxon - Bug #4073: Invalid XPath expression in error messageDuplicateMichael Kay2018-12-19

Actions

Please register to edit this issue

Also available in: Atom PDF