Actions
Bug #5929
closedSaxonC-EE and SaxonC-PE version prints HE for license=False
Start date:
2023-03-21
Due date:
% Done:
0%
Estimated time:
Found in version:
12.0
Fixed in version:
Platforms:
Description
Given the following python script:
from saxoncee import *
with PySaxonProcessor(license=False) as proc:
print(proc.version)
Outputs the message:
SaxonC-HE 12.1 from Saxonica
The question is should this be 'SaxonC-EE....' when the license=False or when the license is not available?
Updated by Michael Kay about 1 year ago
The identification comes from Configuration.getEditionCode(), so it depends on what kind of Configuration you have, not on what software package it was loaded from. SaxonJ-EE when run without a license from the command line outputs:
SaxonJ-EE 12.1 from Saxonica
Java version 13.0.11
No license file found - running with licensable features disabled
but if you instantiate it using new Processor(false)
it will say SaxonJ-HE even though it's loaded the EE JAR file.
Updated by O'Neil Delpratt 6 months ago
- Status changed from New to Closed
Closing this bug issue as it is how the product is designed.
Please register to edit this issue
Actions