Hi Jérôme, hi Andy,
We have aligned all modules with the latest version of BaseX (including the FOP, FTP and Map module).
Hope this helps, Christian
On Tue, Dec 8, 2020 at 3:09 PM Jerome Chauveau jerome.chauveau@unicaen.fr wrote:
Hi,
I am trying to use the (too old ?) FOP module, but unsuccessfully. I copied that example :
import module namespace fop = 'org.basex.modules.fop.FOP'; let $xsl := xslt:transform('fop.xml', 'fop.xsl') let $pdf := fop:transform($xsl) return file:write-binary('fop.pdf', $pdf)
from this thead : https://mailman.uni-konstanz.de/pipermail/basex-talk/2014-February/006326.ht...
which generates that error (in a BaseX 9.3) :
[XPTY0004] class org.basex.modules.fop.FOP tried to access private method 'void org.basex.query.value.item.B64.<init>(byte[])' (org.basex.modules.fop.FOP and org.basex.query.value.item.B64 are in unnamed module of loader 'app'). Caused by: FOP:transform(document-node()).
Any suggestions on how to fix this ? Thanks
Regards
Jérôme