Re: DOM XML uses non-DOM compliant calls
| From: | derick@php.net | Date: | Tue, 14 May 2002 19:52:52 +0000 |
| Subject: | Re: DOM XML uses non-DOM compliant calls | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-84063@lists.php.net to get a copy of this message | ||
Hello,
can you file a change/feature request for this @ bugs.php.net ?
Derick
On Tue, 14 May 2002, Brent R. Matzelle wrote:
> 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
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
---------------------------------------------------------------------------
Did I help you? http://www.jdimedia.nl/derick/link.php?url=giftlist
Frequent ranting: http://www.jdimedia.nl/derick/
---------------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---------------------------------------------------------------------------