From: tkearns at fastmail dot fm Operating system: windows PHP version: 4.3.3 PHP Bug Type: DOM XML related Bug description: namespaces in general
Description: ------------ There is no way to detect existing namespace declarations in a domelement. see first user-note at http://www.php.net/manual/en/function.domnode-add-namespace.php The user-note also makes some comments on the bahaviour of set_namespace() but that issue is not as important as the lack of namespace declaration detectability. This is of particular importance when importanting exteernal XML data into DOMXML objects. Reproduce code: --------------- see first user-note at http://www.php.net/manual/en/function.domnode-add-namespace.php -- Edit bug report at http://bugs.php.net/?id=25569&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25569&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25569&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25569&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25569&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25569&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25569&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25569&r=support Expected behavior: http://bugs.php.net/fix.php?id=25569&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25569&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25569&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25569&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25569&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25569&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25569&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25569&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25569&r=float