Bug #2813
closedAssertionError: Internal error: no value for variable
0%
Description
~/z/data/kendata/dev/ubl/sgtg $ sh namespaceCheck.sh
Exception in thread "main" java.lang.AssertionError: Internal error: no value for variable $files at line 36 of file:/Users/admin/z/data/kendata/dev/ubl/sgtg/namespaceCheck.xsl
at net.sf.saxon.expr.VariableReference.iterate(VariableReference.java:488)
at net.sf.saxon.expr.SystemFunctionCall.evaluateArguments(SystemFunctionCall.java:360)
at net.sf.saxon.expr.FunctionCall.iterate(FunctionCall.java:544)
at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:754)
at net.sf.saxon.expr.AtomicSequenceConverter.evaluateItem(AtomicSequenceConverter.java:299)
at net.sf.saxon.expr.AtomicSequenceConverter.evaluateItem(AtomicSequenceConverter.java:32)
at net.sf.saxon.expr.Expression.evaluateAsString(Expression.java:850)
at net.sf.saxon.expr.instruct.SimpleNodeConstructor.processLeavingTail(SimpleNodeConstructor.java:186)
at net.sf.saxon.expr.instruct.ValueOf.processLeavingTail(ValueOf.java:283)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:653)
at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:711)
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:353)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:456)
at net.sf.saxon.Controller.transformDocument(Controller.java:2270)
at net.sf.saxon.Controller.transform(Controller.java:1847)
at net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(Xslt30Transformer.java:553)
at net.sf.saxon.Transform.processFile(Transform.java:1239)
at net.sf.saxon.Transform.doTransform(Transform.java:795)
at net.sf.saxon.Transform.main(Transform.java:77)
~/z/data/kendata/dev/ubl/sgtg $
Files
Updated by Michael Kay over 8 years ago
- Category set to Internals
- Status changed from New to In Progress
Thanks for reporting it, Ken.
Can't reproduce it on Saxon-EE 9.7.0.6. Could you confirm which version you are using please?
And does it depend at all on what is in the directory?
(Separate issue: I ran it without specifying a dir= parameter and was surprised to get no error message...)
Updated by Michael Kay over 8 years ago
- Status changed from In Progress to AwaitingInfo
Updated by Michael Kay over 8 years ago
Committed a patch that improves diagnostics but does not address the primary issue reported.
Updated by Michael Kay about 8 years ago
- Status changed from AwaitingInfo to Closed
Closing this as no further information has been forthcoming. Ken, please feel free to re-open it any time you have more info.
Please register to edit this issue