|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #37546 DOMDocumentFragment->appendXML namespace support
Submitted: 2006-05-21 18:38 UTC Modified: 2011-02-21 21:26 UTC
Avg. Score:4.3 ± 0.9
Reproduced:9 of 9 (100.0%)
Same Version:2 (22.2%)
Same OS:2 (22.2%)
From: spam01 at pornel dot net Assigned:
Status: Open Package: DOM XML related
PHP Version: 6CVS-2006-05-21 (snap) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: spam01 at pornel dot net
New email:
PHP Version: OS:


 [2006-05-21 18:38 UTC] spam01 at pornel dot net
DOMDocumentFragment->appendXML() creates elements in default namespace (if they don't have namespace set explictly, ofcourse).

However elements in XML fragments may just rely on namespace being set on parent element and don't  define their own namespace, so it would be very useful it if was possible to specify implied namespace, eg.


should be equivalent to

$fragment->appendXML('<p xmlns="">test</p>');


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 21:26 UTC]
-Package: Feature/Change Request +Package: DOM XML related
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 16:01:28 2024 UTC