Custom Saxon engine with external libraries
Posted: Wed Mar 14, 2018 10:49 am
Hi,
I want to use the latest Saxon-HE version (9.8.0.8) with oXygen using my own configuration file that registers extension functions. Thus, I also need to use an additional library that implements these functions.
I already managed to configure SaxonHE-9.8.0.8 as a custom XSLT engine but I can't get it to use my library. Instead, I get this error:
Any idea what I have to do to let saxon find my library DitaSemiaDiff.jar?
Thanks and regards,
Patrik
I want to use the latest Saxon-HE version (9.8.0.8) with oXygen using my own configuration file that registers extension functions. Thus, I also need to use an additional library that implements these functions.
I already managed to configure SaxonHE-9.8.0.8 as a custom XSLT engine but I can't get it to use my library. Instead, I get this error:
My command line looks like this:Invalid configuration property extensionFunction. Supplied value 'org.DitaSemia.Diff.GetHashFromStringDef', required value is the name of a class that implements 'net.sf.saxon.lib.ExtensionFunctionDefinition'
Code: Select all
java -cp ${pd}/java/DitaSemiaDiff.jar -jar ${pd}\java\lib\saxonHE-9.8.0.8.jar "-s:${xml}" "-xsl:${xsl}" "-o:${out}" "-config:${pd}/saxon-config.xml
Thanks and regards,
Patrik