Xspec test fail in Oxygen 21 because of saxon version

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

Xspec test fail in Oxygen 21 because of saxon version

Post by NicoAMP » Thu Mar 28, 2019 6:54 pm

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.

sorin_carbunaru
Site Admin
Posts: 226
Joined: Mon May 09, 2016 9:37 am

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

Post by sorin_carbunaru » Fri Mar 29, 2019 1:29 pm

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: 26
Joined: Tue Mar 06, 2018 2:07 pm

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

Post by NicoAMP » Mon Apr 01, 2019 11:02 am

Hello Sorin,

Thanks for your workaround, now it works :P

sorin_carbunaru
Site Admin
Posts: 226
Joined: Mon May 09, 2016 9:37 am

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

Post by sorin_carbunaru » Wed Apr 03, 2019 9:53 am

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: 26
Joined: Tue Mar 06, 2018 2:07 pm

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

Post by NicoAMP » Thu Apr 11, 2019 4:27 pm

Hi Sorin,

Thanks, now it works :)

Post Reply