|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26690 php_xsl xsltProcessor->transformToUri not working (win)
Submitted: 2003-12-22 07:54 UTC Modified: 2003-12-22 11:28 UTC
From: info at sovall dot cz Assigned:
Status: Closed Package: *XML functions
PHP Version: 5.0.0b2 (beta2) OS: win2k
Private report: No CVE-ID: None
 [2003-12-22 07:54 UTC] info at sovall dot cz
php_xsl xsltProcessor->transformToUri not working (win).

php 5.0.0 beta3
apache 2.0.48
windows 2000

Reproduce code:
$xml = new domDocument;
$xsl = new domDocument;
$xsl->loadXML('<xsl:stylesheet version="1.0" xmlns:xsl=""><xsl:template match="/"><xsl:value-of select="root"/></xsl:template></xsl:stylesheet>');
$pro = new xsltProcessor;
print file_get_contents('test.txt');

Expected result:

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-22 11:28 UTC]
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
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 23:03:39 2023 UTC