ID: 26690 Updated by: [EMAIL PROTECTED] Reported By: info at sovall dot cz -Status: Open +Status: Closed Bug Type: *XML functions Operating System: win2k PHP Version: 5.0.0b2 (beta2) New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-12-22 07:54:07] info at sovall dot cz Description: ------------ php_xsl xsltProcessor->transformToUri not working (win). php 5.0.0 beta3 apache 2.0.48 windows 2000 Reproduce code: --------------- <?php $xml = new domDocument; $xml->loadXML('<root>test</root>'); $xsl = new domDocument; $xsl->loadXML('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/"><xsl:value-of select="root"/></xsl:template></xsl:stylesheet>'); $pro = new xsltProcessor; $pro->importStylesheet($xsl); $pro->transformToUri($xml,'test.txt'); print file_get_contents('test.txt'); ?> Expected result: ---------------- test Actual result: -------------- Warning: file_get_contents(test.txt) [function.file-get-contents]: failed to open stream: No such file or directory in C:\doc\usr\_www\xsl\index.php on line 9 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26690&edit=1