Actions
Feature #5709
open![Author: Debbie Lockett](https://www.gravatar.com/avatar/9c2ec304a5bec55af709863d87d5f6b7?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Compiler 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