You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems when calling net.sf.saxon.Query, the Processor object is not set on the `Configuration object, leading to this error. The solution for me was to set it manually while extending the class:
But I'm not sure where that leaves this though. Ideally the tree builder shouldn't rely on how you extend the net.sf.saxon.Query class, other than the fact that you're actually registering the extension function?
I tested XQuery after #4 and I am getting a NullPointerException here:
expath-tools-saxon/src/main/java/org/expath/tools/saxon/model/SaxonTreeBuilder.java
Lines 37 to 38 in 909e998
Apparently
ctxt.getConfiguration().getProcessor()
returns null, but I'm not sure why it does this under XQuery and not XSLT.(I am trying this from here: https://github.com/thms-rmb/xmlkit)
The text was updated successfully, but these errors were encountered: