Xspec test fail in Oxygen 21 because of saxon version

Here should go questions about transforming XML with XSLT and FOP.
NicoAMP
Posts: 97
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

Xspec test fail in Oxygen 21 because of saxon version

Post by NicoAMP »

Hi,

I try to run Xspec test using Oxygen 21 but I have following message :

Code: Select all

[java] Syntax error at char 55 near {... $context, function($} in expression in xsl:sequence/@select on line 621 column 24 of xxx.xsl:
[java] XPST0003: Inline functions require support for higher-order-functions, which needs
[java] Saxon-PE or higher
[java] Static error in {saxon:current-mode-name()} in expression in xsl:value-of/@select on line 128 column 104 of yyy.xsl:
[java] XPST0017: Cannot find a 0-argument function named
[java] {http://saxon.sf.net/}current-mode-name(). Saxon extension functions require a Saxon-PE or
[java] Saxon-EE license
If I run the same test with Oxygen 20 it works.
I try to reinstall Oxygen 21 and reinit global options but it still does not work.
How can I specify saxon version used with Xspec?

Do you have any ideas? Thanks.
Nicolas Delobel
AmeXio
nicolas.delobel at group.amexio.net
sorin_carbunaru
Posts: 398
Joined: Mon May 09, 2016 9:37 am

Re: Xspec test fail in Oxygen 21 because of saxon version

Post by sorin_carbunaru »

Hello Nico,

This issue has already been fixed on our side, and an oXygen 21 maintenance kit will soon be available on our website. We will let you know when this happens.

Untill then, you cand add the following libraries to your transformation scenario to make it work:
${oxygenHome}/lib/oxygen.jar
${oxygenHome}/lib/oxygenDeveloper.jar
${oxygenHome}/lib/oxygenEclipse.jar
${oxygenHome}/lib/oxygenDeveloperEclipse.jar
${oxygenHome}/lib/oxygen-sandbox.jar
Best wishes,
Sorin Carbunaru
oXygen XML
NicoAMP
Posts: 97
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

Re: Xspec test fail in Oxygen 21 because of saxon version

Post by NicoAMP »

Hello Sorin,

Thanks for your workaround, now it works :P
Nicolas Delobel
AmeXio
nicolas.delobel at group.amexio.net
sorin_carbunaru
Posts: 398
Joined: Mon May 09, 2016 9:37 am

Re: Xspec test fail in Oxygen 21 because of saxon version

Post by sorin_carbunaru »

Hi Nico,

An oXygen 21 maintenance kit is now available on our website, and the issue you reported should be fixed.

Best wishes,
Sorin C.
NicoAMP
Posts: 97
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

Re: Xspec test fail in Oxygen 21 because of saxon version

Post by NicoAMP »

Hi Sorin,

Thanks, now it works :)
Nicolas Delobel
AmeXio
nicolas.delobel at group.amexio.net
Post Reply