#39625 [Fbk]: Apache crashes on importStylesheet call
| From: | tony2001@php.net | Date: | Fri, 24 Nov 2006 21:07:46 +0000 |
| Subject: | #39625 [Fbk]: Apache crashes on importStylesheet call | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105427@lists.php.net to get a copy of this message | ||
ID: 39625
Updated by: tony2001@php.net
Reported By: eugen dot shvatsky at gmail dot com
Status: Feedback
Bug Type: XSLT related
Operating System: suse 10
PHP Version: 5.2.0
New Comment:
Cannot reproduce with the code provided.
Previous Comments:
------------------------------------------------------------------------
[2006-11-24 21:03:42] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2006-11-24 19:18:30] eugen dot shvatsky at gmail dot com
Description:
------------
I'm trying to start the XSLT transformation
but apache has gone down!
Apache/2.0.54 (Suse10) PHP/5.2.0
Reproduce code:
---------------
$xsl = new DomDocument();
$xsl->load("file.xsl");
$proc = new XsltProcessor();
$xsl = $proc->importStylesheet($xsl); // on this line apache has gone
...
--------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ...
>
<xsl:template match="/">
<xsl:value-of select="document('some_xml.xml')" />
</xsl:template>
</xsl:stylesheet>
--------------------------------------
1. file some_xml.xml - dos't exist! but no error, only apache gone
down.
--------------------------------------
2. when I try to use diferent quotes in xsl or xml code!
--------------------------------------
3. if i try $proc->setParameter(null,"name","value");
and "value" have different quotes, i get error.
Expected result:
----------------
normal error in log!!! or exception
Actual result:
--------------
Apache GONE DOWN
NO ERROR MESSAGE
TRY CATCH DOEN'T WORK
MESSAGE "0 answer length by SQUID"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39625&edit=1