Project

Profile

Help

Bug #6067

closed

NullPointerException with upper-case function

Added by Shuxin Li over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2023-06-07
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

On Saxon-HE 12.2 from Java,

XML document:

<L2 id="1"/>

XPath:

//*[contains(upper-case(@f1), "a")]

Saxon gave unexpected exception:

java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "net.sf.saxon.expr.elab.UnicodeStringEvaluator.eval(net.sf.saxon.expr.XPathContext)" is null

Please register to edit this issue

Also available in: Atom PDF