Page 1 of 1

Getter:get, Setter:set

Posted: Mon Dec 16, 2019 5:08 pm
by ckabstein
Hi,

In my automatic build, I get the following errors:

Code: Select all

transform.topic2fo.main:
 [pipeline] Static error in {Setter:set('pi-stack', ())} in expression in xsl:value-of/@select on line 38 column 68 of review-utils.xsl:
 [pipeline]   XPST0017: Cannot find a 2-argument function named
 [pipeline]   {java:com.oxygenxml.dita.xsltextensions.Setter}set(). Reflexive calls to Java methods are
 [pipeline]   not available under Saxon-HE
 [pipeline] Static error in {Getter:get('pi-stack')[1} in expression in xsl:when/@test on line 49 column 57 of review-utils.xsl:
 [pipeline]   XPST0017: Cannot find a 1-argument function named
 [pipeline]   {java:com.oxygenxml.dita.xsltextensions.Getter}get(). Reflexive calls to Java methods are
 [pipeline]   not available under Saxon-HE 
 etc...
 
What do I need to do to make it go away? :-) I can send you the full log if required.

We are currently working on a switch to DITA OT 3.3.1. Local builds with Oxygen XML Editor 21.1 seem to be no problem.

Thanks,
Christina

Re: Getter:get, Setter:set

Posted: Tue Dec 17, 2019 9:59 am
by Radu
Hi Christina,

if you copied to your custom DITA OT this plugin:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT3.x\plugins\com.oxygenxml.pdf.review

you should also copy this one:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT3.x\plugins\com.oxygenxml.common

as it has various Java extension functions used in the PDF review plugin XSLTs.

Regards,
Radu

Re: Getter:get, Setter:set

Posted: Tue Dec 17, 2019 11:57 am
by ckabstein
Hi Radu,

Thanks for your quick reply.
It looks like I already have the latest plugins that you mention. I've downloaded the latest files from here:
https://www.oxygenxml.com/xml_webhelp/d ... bhelp.html
What else could be the problem?

Thanks,
Christina

Re: Getter:get, Setter:set

Posted: Tue Dec 17, 2019 1:27 pm
by Radu
Hi Christina,

Not sure, did you run the DITA OT integrator after adding the "com.oxygenxml.commons" plugin?
Also, how exactly are you running the transformation? Are you using the "dita" command or some other way? Because if you have some custom way of running the DITA OT you would need to also add the com.oxygenxml.common\lib\oxygen-dita-publishing-xslt-extensions.jar to the classpath.

Regards,
Radu

Re: Getter:get, Setter:set

Posted: Tue Dec 17, 2019 6:30 pm
by ckabstein
Hi Radu,

problem solved. My mistake. :-) PDF is building properly now.

Thanks for your help!

Christina