php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31841 Sablotron test fails: [ext/xslt/tests/xslt_set_object.phpt]
Submitted: 2005-02-04 09:36 UTC Modified: 2006-07-23 12:35 UTC
Votes:5
Avg. Score:4.0 ± 0.9
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:0 (0.0%)
From: afrosit at afros dot it Assigned:
Status: Wont fix Package: XSLT related
PHP Version: 4CVS-2005-02-04 OS: *
Private report: No CVE-ID: None
 [2005-02-04 09:36 UTC] afrosit at afros dot it
Description:
------------
We tried to rebuild the PHP 3.4.10 with Sablotron 1.0.2 from the sources on a Fedora Core 3 machine adding the following options in the php configure:

    --enable-xslt --with-xlst-sablot --with-sablot-js 

but we get always an error is the test section (see below).

We have also installed "sablotron" 1.0.2, "js" 1.5 and "expat" 1.95.7 and the related headers files and libraries.

If we disable the xslt component tests during the compilation time, the PHP is compiled correctly and it works fine!
So there is a problem in the following test code: ../ext/xslt/tests/xslt_set_object.php



Actual result:
--------------
... (skip) ...

SKIP PEAR_Installer test #2 [pear/tests/pear_installer2.phpt]
SKIP PEAR_Installer test #3 File Transactions [pear/tests/pear_installer3.phpt]
SKIP PEAR_Installer test #4: PEAR_Installer::install() [pear/tests/pear_installer4.phpt]
SKIP PEAR_Installer test #5: test directory tracking/deletion of installation [pear/tests/pear_installer5.phpt]
SKIP PEAR_Packager test [pear/tests/pear_packager.phpt]
SKIP PEAR_Registry [pear/tests/pear_registry.phpt]
SKIP System commands tests [pear/tests/pear_system.phpt]

=====================================================================
TIME END 2005-01-31 12:28:59
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :   56
Exts tested     :   31
---------------------------------------------------------------------
Number of tests :  608
Tests skipped   :  204 (33.6%)
Tests warned    :    0 (0.0%)
Tests failed    :    1 (0.2%)
Tests passed    :  403 (66.3%)
---------------------------------------------------------------------
Time taken      :   43 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
xslt_set_object function [ext/xslt/tests/xslt_set_object.phpt]
=====================================================================
make: *** [test] Error 1
+ set +x
TEST FAILURE: ../ext/xslt/tests/xslt_set_object.diff --
001- OK
001+ Warning: Sablotron error on line 1: XML parser error 3: no element found in /usr/src/redhat/BUILD/php-4.3.10/ext/xslt/tests/xslt_set_object.php on line 19
002- OK
002+
003+ Warning: Sablotron error on line 1: XML parser error 3: no element found in /usr/src/redhat/BUILD/php-4.3.10/ext/xslt/tests/xslt_set_object.php on line 30
004+ OK
005+ OK-- ../ext/xslt/tests/xslt_set_object.diff result ends.
error: Bad exit status from /var/tmp/rpm-tmp.48369 (%check)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.48369 (%check)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-04 11:51 UTC] sniper@php.net
This test has failed for as long as I can remember..

 [2005-02-04 14:13 UTC] afrosit at gmail dot com
So, why nobody delete it from the PHP sources?
 [2006-07-23 12:35 UTC] sniper@php.net
This is not critical bug and wont be "fixed". Move to PHP 5 which has better XSL support.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 15:01:32 2024 UTC