After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572505 - 'product-version' and other XSLT 2.0 system properties
'product-version' and other XSLT 2.0 system properties
Status: RESOLVED OBSOLETE
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-19 23:40 UTC by Tony Graham
Modified: 2021-07-05 10:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Diff of libxslt/functions.c (1.17 KB, patch)
2009-02-19 23:41 UTC, Tony Graham
none Details | Review

Description Tony Graham 2009-02-19 23:40:03 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>
Comment 1 Tony Graham 2009-02-19 23:41:09 UTC
Created attachment 129108 [details] [review]
Diff of libxslt/functions.c
Comment 2 GNOME Infrastructure Team 2021-07-05 10:59:22 UTC
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.