AssertionError in Value#getIterator
Added by Anonymous over 19 years ago
Legacy ID: #3061283 Legacy Poster: marcvc (marcvc)
Michael, consider the following query (not the original one initiating the error) for $i in "1" return for $j in ("aa","b") order by fn:string-length($j) return $j Saxon 8.3 reports: Exception in thread "main" java.lang.AssertionError: Unknown value representation at net.sf.saxon.value.Value.getIterator(Value.java:207) at net.sf.saxon.value.Value.asItem(Value.java:81) at net.sf.saxon.expr.VariableReference.evaluateItem(VariableReference.java:203) at net.sf.saxon.functions.StringLength.evaluateItem(StringLength.java:76) at net.sf.saxon.expr.ExpressionTool.eagerEvaluate(ExpressionTool.java:273) at net.sf.saxon.expr.ExpressionTool.lazyEvaluate(ExpressionTool.java:213) at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:104) at net.sf.saxon.expr.LetExpression.process(LetExpression.java:123) at net.sf.saxon.instruct.DocumentInstr.evaluateItem(DocumentInstr.java:217) at net.sf.saxon.instruct.DocumentInstr.processLeavingTail(DocumentInstr.java:152) at net.sf.saxon.instruct.Instruction.process(Instruction.java:87) at net.sf.saxon.query.XQueryExpression.run(XQueryExpression.java:279) at net.sf.saxon.Query.doMain(Query.java:389) at net.sf.saxon.Query.main(Query.java:76) Thanks, Marc
Replies (1)
RE: AssertionError in Value#getIterator - Added by Anonymous over 19 years ago
Legacy ID: #3061643 Legacy Poster: Michael Kay (mhkay)
I have posted this bug and a source fix at https://sourceforge.net/tracker/index.php?func=detail&aid=1168552&group_id=29872&atid=397617 Michael Kay
Please register to reply