Project

Profile

Help

Bug #3508

closed

Internal error evaluating template rule (involves xsl:next-match)

Added by Michael Kay about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2017-11-01
Due date:
% Done:

100%

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

Description

Failure with stack trace

java.lang.IndexOutOfBoundsException: Index: 12, Size: 4

at java.util.ArrayList.rangeCheck(ArrayList.java:653)

at java.util.ArrayList.get(ArrayList.java:429)

at net.sf.saxon.expr.XPathContextMajor.getTargetComponent(XPathContextMajor.java:693)

at net.sf.saxon.expr.UserFunctionCall.getTargetComponent(UserFunctionCall.java:601)

at net.sf.saxon.expr.UserFunctionCall.callFunction(UserFunctionCall.java:524)

at net.sf.saxon.expr.UserFunctionCall.iterate(UserFunctionCall.java:487)

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

at net.sf.saxon.expr.instruct.Choose.choose(Choose.java:902)

at net.sf.saxon.expr.instruct.Choose.processLeavingTail(Choose.java:877)

at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:347)

at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:502)

at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:66)

at net.sf.saxon.expr.instruct.NextMatch.processLeavingTail(NextMatch.java:93)

at net.sf.saxon.expr.instruct.Choose.processLeavingTail(Choose.java:880)

Fails with 9.7 and 9.8.


Related issues

Related to Saxon - Bug #3706: Array out of bounds exception results from function in template predicateClosedMichael Kay2018-02-28

Actions

Please register to edit this issue

Also available in: Atom PDF