#30218 [NEW]: xsltApplyOneTeplate warning c'se  

From: Date: Fri, 24 Sep 2004 11:10:12 +0000
Subject: #30218 [NEW]: xsltApplyOneTeplate warning c'se  
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66629@lists.php.net to get a copy of this message
From: robert dot dahlin at jerntorget dot se Operating system: Linux Slackware 2.6 PHP version: 5.0.1 PHP Bug Type: XSLT related Bug description: xsltApplyOneTeplate warning c'se &nbsp; Description: ------------ xsltApplyOneTemplate is always shown if i have an &nbsp; followed by for example <xsl:if test="object"> in an xsl file. xsltApplyOneTemplate: if was not compiled in (if can for example be apply-template or some other method), i've found that the problem seems to be an &nbsp; directly before the <xsl:if> or what ever "method" is causing the problem. One way to get thru the problem is to use span tags around &nbsp; like : <span>&nbsp;</span> but I don't think that it should be nessesary to do that. Reproduce code: --------------- <td>&nbsp;<xsl:apply-templates select="object"/></td> Expected result: ---------------- <td>(the value of object in xml)</td> Actual result: -------------- Warning: xsltApplyOneTemplate: if was not compiled in /www/include/xslttest.php on line 19 <td>(the value of object in xml)</td> -- Edit bug report at http://bugs.php.net/?id=30218&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30218&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30218&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30218&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30218&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30218&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30218&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30218&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30218&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30218&r=support Expected behavior: http://bugs.php.net/fix.php?id=30218&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30218&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30218&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30218&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30218&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30218&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30218&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30218&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30218&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30218&r=mysqlcfg

« previous php.bugs (#66629) next »