#27349 [NEW]: Invalid parsing of CDATA sections in XSL templates
| From: | kalita at implix dot com | Date: | Sun, 22 Feb 2004 14:24:04 +0000 |
| Subject: | #27349 [NEW]: Invalid parsing of CDATA sections in XSL templates | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-55315@lists.php.net to get a copy of this message | ||
From: kalita at implix dot com
Operating system: FreeBSD 4.9
PHP version: 4.3.5RC3
PHP Bug Type: DOM XML related
Bug description: Invalid parsing of CDATA sections in XSL templates
Description:
------------
With the most recent LibXML/LibXSLT libs CDATA sections in XSL templates
that are enclosed
in <xsl:text disable-output-escaping="yes"> give output
that IS escaped but shouldn't be.
I've been testing the transformation with xsltproc and
everything behaves correctly. That's why I assume that
this is incompatibility of the DOMXML extension with
the most recent LibXML/LibXSLT libs.
LibXML - 2.6.5
LibXSLT - 1.1.2
Note that this doesn't happen
with the LibXSLT branch 1.0.X
Reproduce code:
---------------
(...)
<xsl:text disable-output-escaping="yes">
<![CDATA[ <b> test </b> ]]>
</xsl:text>
(...)
Expected result:
----------------
<b>test</b>
Actual result:
--------------
<b>test</b>
--
Edit bug report at http://bugs.php.net/?id=27349&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27349&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27349&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27349&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27349&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27349&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27349&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27349&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27349&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27349&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27349&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27349&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27349&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27349&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27349&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27349&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27349&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27349&r=float