|
*** Internal Saxon error: local variable encountered whose binding has been deleted
|
|
Variable name: vv:loc1506809545
|
|
Line number of reference: 2 in file:/C:/Temp/Saxon-internal-error.xq
|
|
Line number of declaration: 2 in file:/C:/Temp/Saxon-internal-error.xq
|
|
DECLARATION:
|
|
<let xmlns:vv="http://saxon.sf.net/generated-variable" baseUri="file:/C:/Temp/Saxon-internal-error.xq" ns="fn=http://www.w3.org/2005/xpath-functions xs=http://www.w3.org/2001/XMLSchema saxon=http://saxon.sf.net/ err=http://www.w3.org/2005/xqt-errors local=http://www.w3.org/2005/xquery-local-functions xsi=http://www.w3.org/2001/XMLSchema-instance" line="2" var="vv:loc1506809545" as="xs:integer" slot="-999" eval="8">
|
|
<slash>
|
|
<treat as="node()" diag="1|0|XPTY0019|/">
|
|
<varRef name="j" slot="0"/>
|
|
</treat>
|
|
<fn name="string-length">
|
|
<treat as="xs:string" diag="0|0||string-length">
|
|
<cvUntyped to="xs:string">
|
|
<data>
|
|
<dot type="node()"/>
|
|
</data>
|
|
</cvUntyped>
|
|
</treat>
|
|
</fn>
|
|
</slash>
|
|
<slash>
|
|
<treat as="node()" diag="1|0|XPTY0019|/">
|
|
<varRef name="j" slot="0"/>
|
|
</treat>
|
|
<fn name="substring">
|
|
<treat as="xs:string" diag="0|0||substring">
|
|
<cvUntyped to="xs:string">
|
|
<data>
|
|
<dot type="node()"/>
|
|
</data>
|
|
</cvUntyped>
|
|
</treat>
|
|
<varRef name="vv:loc1506809545" slot="-999"/>
|
|
</fn>
|
|
</slash>
|
|
</let>
|
|
java.lang.IllegalStateException: *** Internal Saxon error: local variable encountered whose binding has been deleted
|
|
at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:771)
|
|
at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:780)
|
|
at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:780)
|
|
at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:780)
|
|
at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:780)
|
|
at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:780)
|
|
at net.sf.saxon.query.XQueryExpression.<init>(XQueryExpression.java:96)
|
|
at com.saxonica.ee.optim.XQueryExpressionEE.<init>(XQueryExpressionEE.java:54)
|
|
at com.saxonica.config.EnterpriseConfiguration.makeXQueryExpression(EnterpriseConfiguration.java:1702)
|
|
at net.sf.saxon.query.XQueryParser.makeXQueryExpression(XQueryParser.java:175)
|
|
at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:589)
|
|
at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:652)
|
|
at net.sf.saxon.s9api.XQueryCompiler.compile(XQueryCompiler.java:606)
|
|
at net.sf.saxon.Query.compileQuery(Query.java:795)
|
|
at net.sf.saxon.Query.doQuery(Query.java:343)
|
|
at net.sf.saxon.Query.main(Query.java:111)
|
|
Fatal error during query: java.lang.IllegalStateException: *** Internal Saxon error: local variable encountered whose binding has been deleted
|