PHP 4.0 Bug #8759 Updated: xslt_process doesn't work at all

From: Date: Wed, 17 Jan 2001 15:14:19 +0000
Subject: PHP 4.0 Bug #8759 Updated: xslt_process doesn't work at all
Groups: php.dev 
Request: Send a blank email to php-dev+get-44377@lists.php.net to get a copy of this message
ID: 8759 User Update by: andre@promediasystems.de Status: Closed Bug Type: Sablotron XSL Description: xslt_process doesn't work at all Oh man! I got the problem. This xslt funtion doesn't recognize the xml header!!! Try it out. Place in the first line of your xsl/xml-buffer: <?xml version="1.0"?> an this strange "msgtype" error will appear... Uahhrggh. Have a nice day :-) Andre Previous Comments: --------------------------------------------------------------------------- [2001-01-17 09:18:39] sterling@php.net And the error reporting mechanism was just fixed in CVS... ;) --------------------------------------------------------------------------- [2001-01-17 09:11:34] derick@php.net This indicates probably an error in your xsl stylesheet, but that errormessage is not correct and thus a bug. (I get that strange message for every error too) --------------------------------------------------------------------------- [2001-01-17 09:08:23] andre@promediasystems.de The example-script in the current php manual returns a strange error: <?php $xslData = ' ... a xsl stylesheet ...'; $xmlData = ' ... insert some xml data ...'; xslt_process($xslData, $xmlData, $result) or die(xslt_error()); ?> PHP comes back with a Fatal error: msgtype: error in /home/shop/public_html/xml/test2.php on line xxx xxx is the line containing the "xslt_process" command. My configure line: ./configure --with-mysql=/usr --with-tiff-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-imap=yes --with-xml --with-ttf --without-gd --with-ftp --with-ndbm --with-snmp --with-gdbm --with-mm --with-config-file-path=/etc/httpd --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/lib/apache/bin --enable-versioning --enable-yp --enable-trans-sid --enable-inline-optimization --enable-track-vars --enable-magic-quotes --enable-safe-mode --enable-sysvsem --enable-sysvshm --enable-bcmath --enable-calendar --enable-ftp --enable-memory-limit --enable-wddx --with-readline i386-suse-linux-gnu --with-sablot --enable-sablot-errors-descriptive --enable-sockets --with-dom=/usrl --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8759

« previous php.dev (#44377) next »