ID: 25268 Updated by: [EMAIL PROTECTED] Reported By: racca at dico dot unimi dot it -Status: Open +Status: Feedback Bug Type: DOM XML related Operating System: linux 2.4 PHP Version: 4.3.3 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 An additional option paramter has been added to the process method. It indicates wether the doc should be copied (defaults to FALSE for BC). When using xsl:key, set it to TRUE to copy the doc as there is an issue with libxslt when using keys. change the following using the latest snaps: $process=$xsl->process($xml); to $process=$xsl->process($xml, NULL, NULL, NULL, TRUE); Previous Comments: ------------------------------------------------------------------------ [2003-08-27 12:33:28] racca at dico dot unimi dot it I use xsl lib end not sablotron. You can find the tar.gz package at http://islab.dico.unimi.it/~gianpaolo/phpbug/files.tar.gz I updated libxml and libxslt to the latest releases. My config options are: ./configure --with-apxs --prefix=/usr/local/php-4.3.0/ --with-pgsql --with-dom --with-dom-xslt --with-dom-exslt --with-config-file-path=/etc/php/ --enable-track-vars --enable-trans-sid --enab le-ftp --with-wddx --enable-ctype --with-gd --with-freetype-dir=/usr --with-zlib-dir=/usr --enab le-gd-native-ttf --with-expat-dir=/usr --with-imagemagick ------------------------------------------------------------------------ [2003-08-27 12:20:04] [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. ------------------------------------------------------------------------ [2003-08-27 12:18:55] [EMAIL PROTECTED] Put that package online somewhere. And also, which sablot version are you using? ------------------------------------------------------------------------ [2003-08-27 04:56:37] racca at dico dot unimi dot it Description: ------------ I get a segmentation fault applying an xsl stylesheet to a xml file, when using xsl:key. The same code worked well in php-4.3.1 and with xsltproc. With php from the command line and as apache module I get a segmentation. I can provide a tar.gz file with xsl, xml and php code ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25268&edit=1