Getter:get, Setter:set

Post here questions and problems related to editing and publishing DITA content.
ckabstein
Posts: 142
Joined: Fri Apr 24, 2015 12:28 pm

Getter:get, Setter:set

Post 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
oXygen XML Editor 25.0 build 2023013006
DITA OT 3.7.3
Radu
Posts: 9071
Joined: Fri Jul 09, 2004 5:18 pm

Re: Getter:get, Setter:set

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ckabstein
Posts: 142
Joined: Fri Apr 24, 2015 12:28 pm

Re: Getter:get, Setter:set

Post 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
oXygen XML Editor 25.0 build 2023013006
DITA OT 3.7.3
Radu
Posts: 9071
Joined: Fri Jul 09, 2004 5:18 pm

Re: Getter:get, Setter:set

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ckabstein
Posts: 142
Joined: Fri Apr 24, 2015 12:28 pm

Re: Getter:get, Setter:set

Post by ckabstein »

Hi Radu,

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

Thanks for your help!

Christina
oXygen XML Editor 25.0 build 2023013006
DITA OT 3.7.3
Post Reply