#23313 [NEW]: Missing DomNode->get_namespace()
| From: | markus dot pfefferle at web dot de | Date: | Wed, 23 Apr 2003 11:56:03 +0000 |
| Subject: | #23313 [NEW]: Missing DomNode->get_namespace() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-38207@lists.php.net to get a copy of this message | ||
From: markus dot pfefferle at web dot de
Operating system: Windows 2000
PHP version: 4.3.1
PHP Bug Type: DOM XML related
Bug description: Missing DomNode->get_namespace()
It's nice that you can create nodes with namespaces, using
DomDocument->create_element_ns() and DomNode->add_namespaces(), but for
actually reading them, there is no counterpart method (other than
prefix(), which is not very safe).
My specific problem is that I want to clone a node without its child
nodes, but can't use DomNode->clone_node(false), since this does not copy
any namespace declarations and attributes either.
Adding a DomNode->get_namespace() in future versions would be greatly
appreciated.
--
Edit bug report at http://bugs.php.net/?id=23313&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23313&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23313&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23313&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23313&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23313&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23313&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23313&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23313&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23313&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23313&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23313&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23313&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23313&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23313&r=gnused