|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19062 Display Sablotron version number to help diagnose problems
Submitted: 2002-08-23 01:22 UTC Modified: 2002-08-23 07:14 UTC
From: pmoulding at tedis dot com dot au Assigned:
Status: Closed Package: Sablotron XSL
PHP Version: 4.2.2 OS: Solaris and Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
10 + 2 = ?
Subscribe to this entry?

 [2002-08-23 01:22 UTC] pmoulding at tedis dot com dot au
I use PHP XSLT on Solaris, Linux, NT, and Windows 2000. On NT and Windows 2000 the version of Sablotron is usually in sync with PHP because they are installed form the same binary. On Linux and Solaris they may be miles apart because Sablotron is not automatically updated with PHP. phpinfo() does not display the Sablotron release so I do not know if the problems are caused by Sablotron being out of date. In cased where I do not have administrative access, 78.45301% of the time, I cannot tell why Sablotron is refusing to process XSLT that works on other servers.

If phpinfo() reported the Sablotron release, that would be a help. The alternative might be an xslt_info().

One thing I noticed on a server with a recent PHP, one that uses the new XSLT interface to Sablotron, and an older version of Sablotron, was the lack of error messages. There were many cases where the XSLT process returned false but there were no error messages. I ripped out a few hairs before realising it might be an old Sablotron release.

If this suggestion is not feasible then perhaps we could have a note on the PHP XSLT page along the lines of "PHP 4.2.2 tested with Sablotron 0.95".


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-23 07:14 UTC]
Someone just recently added  xslt_backend_version() and
xslt_backend_name() in CVS..just try this snapshot:

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 13:01:29 2024 UTC