GNOME Bugzilla – Bug 572505
'product-version' and other XSLT 2.0 system properties
Last modified: 2021-07-05 10:59:22 UTC
XSLT 2.0 defines some system properties (http://www.w3.org/TR/xslt20/#system-property) that are not in XSLT 1.0 (http://www.w3.org/TR/xslt#misc-func) that are actually useful for an XSLT 1.0 processor. (Some of the XSLT 2.0 system properties would be useful except that they have no standard meaning for XSLT 1.0 processors.) There's nothing in XSLT 1.0 that forbids additional properties in the 'xsl' namespace. The patch (once attached) adds the additional system properties (both useful and not so useful) to libxslt. Running a patched xsltproc on the stylesheet at http://www.mulberrytech.com/xsl/xsl-list/processor-version.xsl: ./xsltproc/xsltproc http://www.mulberrytech.com/xsl/xsl-list/processor-version.xsl http://www.mulberrytech.com/xsl/xsl-list/processor-version.xsl <?xml version="1.0"?> <html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><title>XSLT Processor Version</title> </head><body><p>XSL version: 1.0 </p><p>Vendor: libxslt </p><p>Vendor URL: http://xmlsoft.org/XSLT/ </p><p>Product name: libxslt </p><p>Product version: 10124-SVN1494 </p><p>Is schema-aware: no </p><p>Supports serialization: no </p><p>Supports backwards compatibility: no </p></body></html>
Created attachment 129108 [details] [review] Diff of libxslt/functions.c
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxslt/-/issues/ Thank you for your understanding and your help.