Copy link to clipboard
Copied
Hi everybody!
We have several FM2015 (including a FMserver) and one FM2019 installations. Our publishing script does not work with the FM2019 and I do not understand why it fails.
The error message is the following:
XSLT Processor Messages
Error reported by XML parser processing
FWK005 parse may not be called while parsing.
Internal error evaluating template rule
I checked the relevant configurations files, i.e., maker.ini, structapps.fm, and ditafm-output.ini.
Our JSX invokes a rather big XSLT template (600lines) to perform the publication and according to the console, the problem lies around that xslt operation. So I changed the original processor path in the maker.ini to a path from a saxon processor which I downloaded separately (same version: saxon9he.jar).
Then the console output gives me this (only with FM2019, FM2015 works with both saxon paths):
XSLT Processor Messages
Failed to initialize: javax.xml transform.TransformerFactory
What could be the difference between FM2015 and FM2019 that makes our script fail?
Best Regards,
Fabian
Actually, check your FrameMaker installation. I just checked my latest 2019 install and it has this as the alternate Saxon processor: SaxonHE9-7-0-20J.
Copy link to clipboard
Copied
Hi Fabian,
I had this exact problem with a client project when they switched from 2015 to 2019. The solution was to add this to the [XSLTProcessors] section of the user's maker.ini:
SAXON=fminit\XSLT\XSLTProcessors\saxon\saxonhe9-3-0-5j\saxon9he.jar, net.sf.saxon.TransformerFactoryImpl, Default
I commented out the reference to the other SAXON entry.
Copy link to clipboard
Copied
Actually, check your FrameMaker installation. I just checked my latest 2019 install and it has this as the alternate Saxon processor: SaxonHE9-7-0-20J.