#36369 [NEW]: built in tempaltes pass parameters through in conflict to rfc
| From: | bugs at forestfactory dot de | Date: | Sat, 11 Feb 2006 22:47:46 +0000 |
| Subject: | #36369 [NEW]: built in tempaltes pass parameters through in conflict to rfc | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-93163@lists.php.net to get a copy of this message | ||
From: bugs at forestfactory dot de
Operating system: Windows XP
PHP version: 5.1.2
PHP Bug Type: XSLT related
Bug description: built in tempaltes pass parameters through in conflict to rfc
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 bug report at http://bugs.php.net/?id=36369&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36369&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36369&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36369&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36369&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36369&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36369&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36369&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36369&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36369&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36369&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36369&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36369&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36369&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36369&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36369&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36369&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36369&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36369&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36369&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36369&r=mysqlcfg