Bug #5419
closedXX compiler version message is wrong
100%
Description
Running the transform command on the current build, from the command line with -t, I get
SaxonJS @@PRODVERSION@@ from Saxonica
Node.js version v14.9.0
Compiling stylesheet /Users/...../2022/5384-Sapov/origScoring/simpler-with-message.xsl
Stylesheet compilation time: 0.372s
SEF generated by SaxonJS 2.1 at 2022-03-24T10:07:35.561Z with -target:JS -relocate:true
I'm not sure where either the @@PRODVERSION@@ or the 2.1
come from, but both need fixing. And the command line didn't specify either -target or -relocate as explicit options.
Updated by Norm Tovey-Walsh over 2 years ago
That's really odd. I can see where @@PRODVERSION@@ did leak into the 2.1 release, but I don't see that in more recent builds. Is there any chance you've actually, accidentally got 2.1 in there somehow?
Updated by Debbie Lockett over 2 years ago
I can see the 2.1 in the XSLT-SEF-compiler.xsl stylesheet, where we have not supplied the stylesheet parameter $saxonjsVersion
. I'm working on fixing it.
Updated by Debbie Lockett over 2 years ago
I've committed a fix in build.gradle to supply the SaxonJS version number for the XX-compiler, which will correct the "2.1".
The -target
and -relocate
options are fixed for transform on the Node.js command line (as compared to real options for SaxonJS export). Should we just remove any mention of them in the message?
Updated by Michael Kay over 2 years ago
Yes, I would remove the options from the message.
Updated by Michael Kay over 2 years ago
- Status changed from New to Resolved
The compiler version has been upped to 2.4 and the options have been removed from the message.
Updated by Debbie Lockett over 2 years ago
- Applies to JS Branch 2, Trunk added
- Fix Committed on JS Branch 2, Trunk added
Updated by Debbie Lockett over 2 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to SaxonJS 2.4
Bug fix applied in the SaxonJS 2.4 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page