ID: 36369 Updated by: [EMAIL PROTECTED] Reported By: bugs at forestfactory dot de -Status: Open +Status: Feedback Bug Type: XSLT related Operating System: Windows XP PHP Version: 5.1.2 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 to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2006-02-11 23:47:46] bugs at forestfactory dot de Description: ------------ As of http://www.w3.org/TR/xslt#built-in-rule, the built in templates should just call any subordinated templates, but in PHP it passes parameters through. Reproduce code: --------------- (to be short, this are just XML fragments) XML: <first> <second> <third/> </second> </first> XSLT: <template match="first"> <apply-template select="second"> <with-param name="foo" select="'bar'"/> </apply-template> </template> <template match="third"> <param name="foo"/> <value-of select="$foo"/> </template> Expected result: ---------------- No output as $foo should not be set. Actual result: -------------- Outputs "bar" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36369&edit=1