Project

Profile

Help

Feature #5709

open

Compiler and target processor information from fn:system-property()

Added by Debbie Lockett about 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
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

Related to SaxonJS - Bug #5698: Changes for system-property()ClosedDebbie Lockett2022-09-28

Actions

Please register to edit this issue

Also available in: Atom PDF