Date: 01/17/01
- Next message: kappa <email protected>: "[PHP-DEV] PHP 4.0 Bug #8758 Updated: Lots of zero-sized files remain in directory for tmp files uploaded via POST"
- Previous message: Boian Bonev: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/vpopmail .cvsignore CREDITS Makefile.in config.m4 php_vpopmail.c php_vpopmail.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 8759
User Update by: andre <email protected>
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 <email protected>
And the error reporting mechanism was just fixed in CVS... ;)
---------------------------------------------------------------------------
[2001-01-17 09:11:34] derick <email protected>
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 <email protected>
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: kappa <email protected>: "[PHP-DEV] PHP 4.0 Bug #8758 Updated: Lots of zero-sized files remain in directory for tmp files uploaded via POST"
- Previous message: Boian Bonev: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/vpopmail .cvsignore CREDITS Makefile.in config.m4 php_vpopmail.c php_vpopmail.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

