DITA OT 3.7.1 upgrade fail

36 views
Skip to first unread message

roop...@gmail.com

unread,
May 11, 2022, 6:14:35 AM5/11/22
to DITA-OT Users
Hi Developers,

I am upgrading DITA OT from 3.5.4 to 3.7.1 with the existing custom plugin. Output is failing with the below errors.  Need you support to troubleshoot the issue. 

transform.topic2fo.main.custom:
     [echo] C:\dita-ot-3.7.1\bin\..
     [xslt] Processing C:\out\temp\pdf\temp\stage1.xml to C:\out\temp\pdf\temp\temp\stage2.fo
     [xslt] Loading stylesheet C:\dita-ot-3.7.1\plugins\pdf-custom\xsl\fo\topic2fo_shell_ah.xsl
     [xslt] Failed to process C:\out\temp\pdf\temp\stage1.xml
Error: The following error occurred while executing this line:
C:\dita-ot-3.7.1\plugins\org.dita.base\build.xml:361: java.lang.reflect.InvocationTargetException


Regards
Roopesh

roop...@gmail.com

unread,
May 13, 2022, 1:52:40 AM5/13/22
to DITA-OT Users
Hi developers,

Any update on this? below is the build location which points during the publishing. I was able to run successfully in older versions of DITA OT but not in 3.7+

<xslt style="${temp.transformation.file}" in="${dita.temp.dir}/stage1.xml" out="${dita.temp.dir}/stage2.fo" classpath="${dita.dir}/lib">
      <factory name="com.saxonica.config.ProfessionalTransformerFactory">
            <attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>
        </factory>
      <param name="locale" expression="${document.locale}"/>
      <param name="customizationDir.url" expression="${customization.dir.url}" if="customization.dir"/>

Regards
Roopesh

roop...@gmail.com

unread,
May 23, 2022, 1:49:56 AM5/23/22
to DITA-OT Users
This issue seems to be resolve by adding saxon PE 10.8.
Thanks
Roopesh

Reply all
Reply to author
Forward
0 new messages