Bug #17216 Updated: DOM XML uses non-DOM compliant calls
| From: | hubweb at hotmail dot com | Date: | Fri, 17 May 2002 16:29:43 +0000 |
| Subject: | Bug #17216 Updated: DOM XML uses non-DOM compliant calls | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7938@lists.php.net to get a copy of this message | ||
ID: 17216
Updated by: hubweb@hotmail.com
Reported By: bmatzelle@yahoo.com
Status: Open
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.2.1
New Comment:
On s'en sacre-tu rien qu'un peu ??? Tant que ça marche batard, c'est
parfait ! Non ???
Previous Comments:
------------------------------------------------------------------------
[2002-05-14 16:30:33] bmatzelle@yahoo.com
I could not help but notice that all DOM XML calls use an
underscore-based convention:
i.e.
$mynode->append_child($achild);
I am no language lawyer but if you read the DOM Core documentation
(http://www.w3.org/TR/DOM-Level-3-Core/core.html) it suggests a
case-based (no underscore) convention:
i.e.
$mynode->appendChild($achild);
Also, every DOM compliant library that I've looked at uses this same
convention. Will the case-based convention be used in PHP 4.3.0? If
not then it should be considered as it seems to be a violation of the
DOM.
Warm regards,
Brent
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17216&edit=1