ID: 28415 Updated by: [EMAIL PROTECTED] Reported By: bgdeveloper at mail dot bg -Status: Feedback +Status: No Feedback Bug Type: XSLT related Operating System: Windows 2003 Server Enterprice PHP Version: 5CVS-2004-05-16 (dev) New Comment:
No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2004-05-18 14:19:41] [EMAIL PROTECTED] 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 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. ------------------------------------------------------------------------ [2004-05-16 14:26:11] bgdeveloper at mail dot bg Description: ------------ I'm trying to start the XSLT example from http://zend.com/php5/articles/php5-xmlphp.php#Heading17 but apache crashes... Apache/1.3.29 (Win32) PHP/5.0.0RC2 I tried the last snapshot but apache crashes during starting/stoping. the last open .DLL was php5ts.dll with the old php5ts.dll (from RC2) it was fine. Reproduce code: --------------- /* load the xml file and stylesheet as domdocuments */ $xsl = new DomDocument(); $xsl->load("articles.xsl"); $inputdom = new DomDocument(); $inputdom->load("articles.xml"); /* create the processor and import the stylesheet */ $proc = new XsltProcessor(); $xsl = $proc->importStylesheet($xsl); $proc->setParameter(null,"name","value"); /* transform and output the xml document */ $newdom = $proc->transformToDoc($inputdom); print $newdom->saveXML(); Expected result: ---------------- I expected the code to execute, though it's code from official ZEND article. I have the .xsl and .xml files in current directory. Actual result: -------------- Apache crashes on the following row: $xsl = $proc->importStylesheet($xsl); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28415&edit=1