#26242 [Opn->Fbk]: XSLT instruction comment() doesn't work when libxslt is used
ID: 26242
Updated by: sniper@php.net
Reported By: apetrenko at tmsoft-ltd dot com
-Status: Open
+Status: Feedback
Bug Type: XSLT related
Operating System: Windows
PHP Version: 4.3.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
And make sure you first remove ALL old php dlls before installing the
snapshot.
Previous Comments:
------------------------------------------------------------------------
[2003-11-19 10:38:26] apetrenko at tmsoft-ltd dot com
Trying...
It has no effect.
------------------------------------------------------------------------
[2003-11-17 18:35:06] sniper@php.net
Try disabling the Zend Optimizer first..
------------------------------------------------------------------------
[2003-11-14 04:48:02] apetrenko at tmsoft-ltd dot com
Furthermore if I remove comment() instruction from XSTL template the
result in CGI mode is correct!
The part of XSLT template:
<xsl:template match="@*|node()">
<xsl:copy><xsl:apply-templates select="@*|node()"/>
</xsl:copy>
The result:
<?xml version="1.0" encoding="windows-1251"?> <root> <A>
<!-- COMMENT 1
//--> </A> </root>
------------------------------------------------------------------------
[2003-11-14 03:24:10] apetrenko at tmsoft-ltd dot com
Hello.
This note was sent to wrong section (for ALL user). May be you'll
receive it twice.
There is a new info: it works properly in CGI mode but incorrectly in
API mode (I use Apache 1.3.27).
phpinfo reference:
http://www.aesthetic.com.ua/misc/phpinfo.htm
Sorry for some skipped info - this was done by demand of our system
administrator.
------------------------------------------------------------------------
[2003-11-13 12:59:56] rrichards@php.net
Can you send a link to your phpinfo output? as I can't reproduce this
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26242
--
Edit this bug report at http://bugs.php.net/?id=26242&edit=1
Thread (10 messages)