Project

Profile

Help

Bug #2554

closed

ArrayIndexOutOfBoundsException while evaluating JAXP XPath expression with a variable reference

Added by Benjamin Graf almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JAXP Java API
Sprint/Milestone:
-
Start date:
2015-12-20
Due date:
% Done:

100%

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

Description

Failure exists since latest version 9.7. See test case in attachement

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1

at net.sf.saxon.value.Closure.saveContext(Closure.java:121)

at net.sf.saxon.value.Closure.make(Closure.java:97)

at net.sf.saxon.expr.parser.ExpressionTool.evaluate(ExpressionTool.java:280)

at net.sf.saxon.expr.parser.ExpressionTool.lazyEvaluate(ExpressionTool.java:418)

at net.sf.saxon.expr.FunctionCall.evaluateArguments(FunctionCall.java:558)

at net.sf.saxon.expr.FunctionCall.iterate(FunctionCall.java:544)

at net.sf.saxon.expr.Expression.effectiveBooleanValue(Expression.java:828)

at net.sf.saxon.xpath.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:202)

at test.test.Main.main(Main.java:36)

Files

Test.zip (7.95 KB) Test.zip Benjamin Graf, 2015-12-20 17:29

Please register to edit this issue

Also available in: Atom PDF