Project

Profile

Help

Bug #5929

closed

SaxonC-EE and SaxonC-PE version prints HE for license=False

Added by O'Neil Delpratt about 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Low
Category:
Saxon-C Internals
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?

Actions #1

Updated by O'Neil Delpratt about 1 year ago

  • Description updated (diff)
Actions #2

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.

Actions #3

Updated by O'Neil Delpratt 5 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

Also available in: Atom PDF