#29497 [Csd->Fbk]: xsltprocessor->setParameter() to accept an array
ID: 29497
Updated by: tony2001@php.net
Reported By: tony at marston-home dot demon dot co dot uk
-Status: Closed
+Status: Feedback
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 5.0.0
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2004-08-05 21:23:45] tony at marston-home dot demon dot co dot uk
I downloaded that snapshot and tried $xp->setParameter($namespace,
$array) instead of $xp->setParameter($namespace, 'name', $value) and it
worked.
However, several times something caused Apache to abort and restart. I
reverted to my old code and it still caused Apache to fail now and
then. There appears to be a bug somewhere else in this snapshot.
------------------------------------------------------------------------
[2004-08-05 16:50:51] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2004-08-02 19:17:20] tony at marston-home dot demon dot co dot uk
Description:
------------
The xsltprocessor->setParameter() method currently only accepts one
parameter at a time. It would be more convenient if this could also
accept an array of parameters in one go just like the xslt_process()
function in PHP4.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29497&edit=1
Thread (8 messages)