#26242 [Opn->Bgs]: XSLT instruction comment() doesn't work when libxslt is used

From: Date: Mon, 01 Dec 2003 13:44:48 +0000
Subject: #26242 [Opn->Bgs]: XSLT instruction comment() doesn't work when libxslt is used
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51471@lists.php.net to get a copy of this message
 ID:               26242
 Updated by:       sniper@php.net
 Reported By:      apetrenko at tmsoft-ltd dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         DOM XML related
 Operating System: Windows
 PHP Version:      4.3.4
 New Comment:

Tested with latest CVS myself on Windows and could not reproduce with
the provided example script.

Make sure you REALLY replaced ALL the related DLLs. INCLUDING the
libxslt.dll and libxml2.dll and iconv.dll..



Previous Comments:
------------------------------------------------------------------------

[2003-12-01 07:34:47] apetrenko at tmsoft-ltd dot com

There are no changes. :-(( What do I wrong? All dll's were deleted
first. Then I unpacked files into php dir and restarted web server.

------------------------------------------------------------------------

[2003-11-30 04:23:44] sniper@php.net

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.


------------------------------------------------------------------------

[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>

------------------------------------------------------------------------

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)

« previous php.bugs (#51471) next »