Req #23313 [Opn->Wfx]: Missing DomNode->get_namespace()
| From: | rrichards@php.net | Date: | Tue, 11 Jan 2011 17:58:34 +0000 |
| Subject: | Req #23313 [Opn->Wfx]: Missing DomNode->get_namespace() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157819@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=23313&edit=1
ID: 23313
Updated by: rrichards@php.net
Reported by: markus dot pfefferle at web dot de
Summary: Missing DomNode->get_namespace()
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: DOM XML related
Operating System: *
PHP Version: *
Block user comment: N
Private report: N
New Comment:
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.
Previous Comments:
------------------------------------------------------------------------
[2003-04-23 06:56:03] markus dot pfefferle at web dot de
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 this bug report at http://bugs.php.net/bug.php?id=23313&edit=1