From:             mfladischer at gmx dot net
Operating system: WinXP SP1
PHP version:      4.3.3
PHP Bug Type:     DOM XML related
Bug description:  domxml_open_file() does not work when using relative paths

Description:
------------
I get a bool(false) when trying to open a xml-file with a relative path.
It works as expected with FQ paths.

Reproduce code:
---------------
<?php
// example.xml is in the same directory as this script
var_dump(domxml_open_file("example.xml"));
?>

Expected result:
----------------
A DOM-document object:
object(domdocument)....

Actual result:
--------------
bool(false)

-- 
Edit bug report at http://bugs.php.net/?id=25508&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25508&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25508&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25508&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25508&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25508&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25508&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25508&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25508&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25508&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25508&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25508&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25508&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25508&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25508&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25508&r=gnused

Reply via email to