|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63410 DOMElement is missing method for fetching all inscope namespaces
Submitted: 2012-11-01 10:59 UTC Modified: -
From: jirka at kosek dot cz Assigned:
Status: Open Package: DOM XML related
PHP Version: 5.4.8 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: jirka at kosek dot cz
New email:
PHP Version: OS:


 [2012-11-01 10:59 UTC] jirka at kosek dot cz
If XML documents you are processing are using QNames inside attribute or element values there is need to get list of all XML namespaces declared for a particular element inside DOM.

libxml2 has function for this

Unfortunately this function is not exposed in PHP DOM extensions and there is no other way how to get namespaces inscope for some element.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 27 03:03:34 2022 UTC