Bug #71497 [Opn]: DOMDocument::documentURI incorrect path converting
| From: | pvlgood at gmail dot com | Date: | Tue, 02 Feb 2016 09:03:48 +0000 |
| Subject: | Bug #71497 [Opn]: DOMDocument::documentURI incorrect path converting | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-198999@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71497&edit=1
ID: 71497
User updated by: pvlgood at gmail dot com
Reported by: pvlgood at gmail dot com
Summary: DOMDocument::documentURI incorrect path converting
Status: Open
Type: Bug
-Package: Doc Build problem
+Package: DOM XML related
Operating System: Windows 8.1
PHP Version: 5.6.17
Block user comment: N
Private report: N
New Comment:
sorry
Previous Comments:
------------------------------------------------------------------------
[2016-02-02 08:36:09] pvlgood at gmail dot com
Description:
------------
See code sample below
Test script:
---------------
<?php
$dd = new DOMDocument();
$dd->load('folder/file.xml');
echo $dd->documentURI;
echo file_exists($dd->documentURI);
/*
output:
file:/D:/folder/file.xml
false
should be:
file://D:/folder/file.xml
true
*/
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71497&edit=1