Bug #17216: DOM XML uses non-DOM compliant calls
| From: | bmatzelle at yahoo dot com | Date: | Tue, 14 May 2002 20:30:33 +0000 |
| Subject: | Bug #17216: DOM XML uses non-DOM compliant calls | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7670@lists.php.net to get a copy of this message | ||
From: bmatzelle@yahoo.com
Operating system: All
PHP version: 4.2.1
PHP Bug Type: Feature/Change Request
Bug description: DOM XML uses non-DOM compliant calls
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 bug report at http://bugs.php.net/?id=17216&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17216&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17216&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17216&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17216&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17216&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17216&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17216&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17216&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17216&r=globals