Page 1 of 1

Xspec test fail in Oxygen 21 because of saxon version

Posted: Thu Mar 28, 2019 6:54 pm
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.

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

Posted: Fri Mar 29, 2019 1:29 pm
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

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

Posted: Mon Apr 01, 2019 11:02 am
by NicoAMP
Hello Sorin,

Thanks for your workaround, now it works :P

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

Posted: Wed Apr 03, 2019 9:53 am
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.

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

Posted: Thu Apr 11, 2019 4:27 pm
by NicoAMP
Hi Sorin,

Thanks, now it works :)