Actions
Bug #4730
closedClassCastException: net.sf.saxon.expr.instruct.CopyOf cannot be cast to net.sf.saxon.expr.AxisExpression
Start date:
2020-09-11
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
10, 9.9, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:
Description
See https://saxonica.plan.io/boards/3/topics/7998
In a rather complicated setup of using XSLT to transform a Schematron schema to streamable XSLT and then run that against an input document to be validated against the Schematron schema I run into a java.lang.ClassCastException: net.sf.saxon.expr.instruct.CopyOf cannot be cast to net.sf.saxon.expr.AxisExpression
with both Saxon 10.2 EE and 9.9.1.7 EE.
The stack trace is
java.lang.ClassCastException: net.sf.saxon.expr.instruct.CopyOf cannot be cast to net.sf.saxon.expr.AxisExpression
at net.sf.saxon.expr.SlashExpression.lambda$iterate$0(SlashExpression.java:948)
at net.sf.saxon.expr.MappingIterator.next(MappingIterator.java:60)
at net.sf.saxon.om.SequenceIterator.forEachOrFail(SequenceIterator.java:135)
at net.sf.saxon.expr.Expression.process(Expression.java:949)
.....
Please register to edit this issue
Actions