Project

Profile

Help

Exception messages

Added by Anonymous over 15 years ago

Legacy ID: #6628954 Legacy Poster: zohar (zohar_amir)

Hello, I'm using Saxon as an XSLT engine. While I was transforming I got the following exception: ----------------------8<---------------------------------- Caused by: net.sf.saxon.trans.DynamicError: Cannot convert string "" to xs:decimal at net.sf.saxon.expr.Expression.dynamicError(Expression.java:780) at net.sf.saxon.expr.CastExpression.evaluateItem(CastExpression.java:302) at net.sf.saxon.expr.CastExpression.evaluateItem(CastExpression.java:278) at net.sf.saxon.expr.CastExpression.evaluateItem(CastExpression.java:278) at net.sf.saxon.expr.Expression.process(Expression.java:339) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:240) at net.sf.saxon.instruct.Instruction.process(Instruction.java:91) at net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:243) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:365) at net.sf.saxon.instruct.Instruction.process(Instruction.java:91) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:240) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:365) at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:405) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:365) at net.sf.saxon.instruct.Instruction.process(Instruction.java:91) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:240) at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:98) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:317) at net.sf.saxon.Controller.transformDocument(Controller.java:1705) at net.sf.saxon.Controller.transform(Controller.java:1513) ... ----------------------8<---------------------------------- Is there any way to get a more verbose exception message (for example line and column where this error occurred)? Thanks, Zohar.


Please register to reply