Actions
Feature #5709
openCompiler and target processor information from fn:system-property()
Start date:
2022-10-04
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
Add more (saxon namespace) properties to return compile-time infomation about the target processor and compiler using fn:system-property()
. Currently we have xsl:product-name
and xsl:product-version
: when XJ-compiling for JS, evaluated statically these return for instance "SAXON"
and "JS 11.4"
. Note that the xsl:product-version
value is made up of the target edition and compiler version number; but we don't get the compiler edition (EE). The property saxon:platform
can also be used (with SaxonJS) to get run-time information about the platform ("Node.js" or "Browser").
(As originally suggested in SaxonJS Bug #5698: Changes for system-property().)
Related issues
Please register to edit this issue
Actions