[oXygen-user] Transformation via CLI

Oxygen XML Editor Support support at oxygenxml.com
Thu Oct 17 07:08:39 CDT 2013

Hello Matt,

You won't be able to use the exact command line used by Oxygen, because 
Oxygen uses a version of Saxon-EE licensed to be used only from within 
the Oxygen GUI.
When you run the ANT transformation in the CLI, Saxon fallbacks to the 
Saxon-HE profile which does not support extensions (hence the error).
You'll either need a separate license for Saxon-PE/EE, or you can use 
the old Saxon-B that supports extensions:
Replace Oxygen's 'saxon9ee.jar' from the classpath with the one you have.


Adrian Buza
oXygen XML Editor and Author Support

Tel: +1-650-352-1250 ext.202
Fax: +40-251-461482
support at oxygenxml.com

On 16.10.2013 21:33, KAATMAN Matthew wrote:
> I've been trying to copy/paste the first line from the oxygen transformation into the CLI with the intention of setting up a script to run the transformation across 30 or so translated ditamaps in series.
> "c:\pfw\oxygen xml editor 15\jre/bin/java" etc.
> It fails with a saxon error.
> flag-module:
> [preprocess_flag] Transforming into C:\temp\temp\pdf
> [preprocess_flag] Processing C:\temp\temp\pdf\en\common\Liability_Disclaimer.xml  to C:\temp\temp\pdf\en\common\Liability_Disclaimer.xml.flag
> [preprocess_flag] Loading stylesheet C:\PFW\Oxygen XML Editor 15\frameworks\dita\DITA-OT\xsl\preprocess\flag.xsl
> [preprocess_flag] C:\PFW\Oxygen XML Editor 15\frameworks\dita\DITA-OT\xsl\preprocess\flagImpl.xsl:98: Fatal Error! Cannot find a matching 1-argument function named {http://exslt.org/common}node-set(). There is no Saxon extension function with the local name node-set
> [preprocess_flag] Failed to process null
> C:\PFW\Oxygen XML Editor 15\frameworks\dita\DITA-OT\build.xml:56: The following error occurred while executing this line:
> C:\PFW\Oxygen XML Editor 15\frameworks\dita\DITA-OT\plugins\org.dita.base\build_preprocess.xml:339: Fatal error during transformation
> Is there any way I can pull this off? I think it would save me time vs opening each map individually and copying the PDF after it's created, etc.
> Thanks!
> Matt
> AVIS : Ce courrier et ses pieces jointes sont destines a leur seul destinataire et peuvent contenir des informations confidentielles appartenant a bioMerieux. Si vous n'etes pas destinataire, vous etes informe que toute lecture, divulgation, ou reproduction de ce message et des pieces jointes est strictement interdite. Si vous avez recu ce message par erreur merci d'en prevenir l'expediteur et de le detruire, ainsi que ses pieces jointes.
> NOTICE: This message and attachments are intended only for the use of their addressee and may contain confidential information belonging to bioMerieux. If you are not the intended recipient, you are hereby notified that any reading, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender immediately and delete this message, along with any attachments.
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user

More information about the oXygen-user mailing list