|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-02-21 17:16 UTC] rrichards@php.net
[2007-02-22 08:28 UTC] bpipe at mail dot ru
[2007-02-22 08:32 UTC] bpipe at mail dot ru
[2007-02-22 10:53 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 28 22:00:01 2025 UTC |
Description: ------------ DomDocument->CreateElement() I have a feature request, i think you should add a waring or notice when someone is calling CreateElement with ':' in node name. Like this one: $xsl->createElement('xsl:import'); instead of CreateElementNS, because this problem is hard to detect (document look like it should when you output it) I made this mistake myself and it took me 2 days to find out the problem, and only when i found the problem i managed to find any information about this in bugzilla. A notice when you create XML node with ':' in name could save 2 days of my life ) Really very hard to detect this mistake, i was googling, sitting in IRC and asking everyone for 48 hours without any result. And i think I'm not alone who "stepped on this rake"