ID: 22137 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: XSLT related Operating System: Linux PHP Version: 4.3.0 New Comment:
If you're using Sablotron 0.97 there should be a section on how Sablotron was configured in phpinfo() output. Could you paste that as well as the output of the 'Configure command'? There's something really off here, since neither ilia nor me can reproduce what you're seeing, on totally different systems. Could you confirm if the ISP is WideXs (I might be able to get a shell on such a box then)? Previous Comments: ------------------------------------------------------------------------ [2003-02-10 18:16:05] [EMAIL PROTECTED] I'm using Sablotron version 0.97. I don't know if wchar.h is present on my system because the error occured on the machine of my ISP. ------------------------------------------------------------------------ [2003-02-10 16:47:10] [EMAIL PROTECTED] Please also report the Sablotron version you're using and whether wchar.h is present on your system? ------------------------------------------------------------------------ [2003-02-10 09:52:37] [EMAIL PROTECTED] 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 Cannot replicate the bug using the latest snapshot. ------------------------------------------------------------------------ [2003-02-09 18:03:00] [EMAIL PROTECTED] Thanks for your reply. I made a script to reproduce the problem. On php version 4.2.1 on windows it works fine. On php version 4.3.0 on linux it will hang. With kind regards, Paul van Gils <?php $xml="<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>". "<articlelist>". "<articles>". "<article>". "<text1>Hello world!</text1>". "<number></number>". "</article>". "</articles>". "</articlelist>"; $xsl="<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n". "<xsl:stylesheet version=\"1.0\"\n". "xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n". "xmlns:fo=\"http://www.w3.org/1999/XSL/Format\">\n". "<xsl:output method=\"html\"/>\n". "<xsl:template match=\"/\">\n". "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n". "<xsl:for-each select=\"articlelist/articles/article\">\n". "<xsl:sort select=\"number\"/>\n". "<tr>\n". "<td valign='top'>\n". "Hello world!\n". "</td>\n". "</tr>\n". "</xsl:for-each>\n". "</table>\n". "</xsl:template>\n". "</xsl:stylesheet>\n"; // $xml and $xsl contain the XML and XSL data $arguments = array( '/_xml' => $xml, '/_xsl' => $xsl ); // Allocate a new XSLT processor $xh = xslt_create(); $result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL, $arguments); echo "<html><body>Gereed</body></html>"; ?> ------------------------------------------------------------------------ [2003-02-09 16:24:43] [EMAIL PROTECTED] Is this reproducable with sabcmd? If not, please provide sample files. If they're long, post a url where they can be downloaded. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22137 -- Edit this bug report at http://bugs.php.net/?id=22137&edit=1