Hi,
I have a stylesheet, which is giving me an exception when
running on the latest Saxon, but I don't know what it is referring to as it
doesn't give me a line number
java.lang.NullPointerException
at net.sf.saxon.expr.AxisExpression.typeCheck(AxisExpression.java:128)
at net.sf.saxon.expr.PathExpression.typeCheck(PathExpression.java:331)
at net.sf.saxon.expr.PathExpression.typeCheck(PathExpression.java:310)
at net.sf.saxon.style.StyleElement.typeCheck(StyleElement.java:980)
at
net.sf.saxon.style.XSLApplyTemplates.validate(XSLApplyTemplates.java:117)
at
net.sf.saxon.style.StyleElement.validateSubtree(StyleElement.java:1172)
at
net.sf.saxon.style.StyleElement.validateChildren(StyleElement.java:1205)
at
net.sf.saxon.style.StyleElement.validateSubtree(StyleElement.java:1181)
at net.sf.saxon.style.XSLStylesheet.preprocess(XSLStylesheet.java:670)
at
net.sf.saxon.PreparedStylesheet.setStylesheetDocument(PreparedStylesheet.jav
a:295)
at
net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:127)
at
net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java
:135)
at net.sf.saxon.Transform.doTransform(Transform.java:462)
at com.saxonica.Transform.main(Transform.java:45)
Can anyone help with how to debug this?
Thanks
Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
* rpuddephatt@...
* 01506 407 110
7 01506 407 108
|