Bug #17216 Updated: DOM XML uses non-DOM compliant calls

From: Date: Sat, 08 Jun 2002 14:55:32 +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-9859@lists.php.net to get a copy of this message
ID: 17216 Updated by: bigredlinux@yahoo.com Reported By: bmatzelle@yahoo.com Status: Open Bug Type: Feature/Change Request Operating System: All PHP Version: 4.2.1 New Comment: You can pray all you want, this isn't going to change. I suggest we close this bug. PHP has adoped the standard of underscore seperated words and not the humpback method. It would be ridiculous for a single php extension to use this method and no others. Remember, it is a DOM recommendation, not a law! Previous Comments: ------------------------------------------------------------------------ [2002-05-17 12:29:43] hubweb@hotmail.com On s'en sacre-tu rien qu'un peu ??? Tant que ça marche batard, c'est parfait ! Non ??? ------------------------------------------------------------------------ [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

« previous php.bugs (#9859) next »