Project

Profile

Help

Bug #4397

closed

Obscure issue when using "instance of" inside function on results of array:filter

Added by Priscilla Walmsley almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2019-11-27
Due date:
% Done:

0%

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

Description

The attached XSLT results run in oXygen 21 results in the following error:

Engine name: Saxon-PE 9.8.0.12 Severity: error Description: Internal error evaluating template rule at line 8 in module file:/C:/aaprojects/datypic/functx/functx/saxonissues.xsl

It seems like a very obscure issue because other calls to array:filter are fine, and "instance of" on the results works fine if it is not inside a function. Something to do with function conversion rules? But why this array and not others?

(This was originally part of a larger XSLT that tests my XQuery book examples in the context of FunctX, but I have distilled it down.) I can't test this on 9.9 because it requires PE and I don't have a license. Thanks!


Files

saxonissues.xsl (724 Bytes) saxonissues.xsl Priscilla Walmsley, 2019-11-27 17:41
dummyin.xml (66 Bytes) dummyin.xml Priscilla Walmsley, 2019-11-27 17:41

Please register to edit this issue

Also available in: Atom PDF