At the moment (sp/->xdmvalue [1 2 3]) throws
Execution error (IllegalArgumentException) at sigel.protocols/eval10142$fn (protocols.clj:64). No matching ctor found for class net.sf.saxon.s9api.XdmAtomicValue
which is weird.
But if I do
(extend-protocol sp/XMLValue
PersistentVector
(->xdmvalue [xdmvalue]
(XdmValue/makeSequence xdmvalue)))
(sp/->xdmvalue [1 2 3]) works fine
=> #object [net.sf.saxon.s9api.XdmValue 0x30e4991a "1\n2\n3"]
At the moment
(sp/->xdmvalue [1 2 3])throwswhich is weird.
But if I do
(sp/->xdmvalue [1 2 3])works fine