W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2005

Re: Browser implementors? Re: [dom3core] getAttribute

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 02 Dec 2005 22:59:30 +0100
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>
Cc: www-dom@w3.org
Message-ID: <op.s06fdgna64w2qv@id-c0020.oslo.opera.com>

On Fri, 02 Dec 2005 22:56:28 +0100, Bjoern Hoehrmann <derhoermi@gmx.net>  
> * Anne van Kesteren wrote:
>> I'm not an Opera developer, but I'm wondering why getAttribute is
>> obsolete. I'd also rather have them consistently implemented.
> Using getAttribute and most other namespace-unaware methods makes your
> scripts less robust; while many implementations consider getAttribute(x)
> to mean getAttributeNS(null, x), this is not guranteed, so if the script
> depends on this assumption, it might break at some point in some user
> agent.

Indeed, I noticed this too. I believe the same is true for  
createElement(). These are also cases worthy of clarification imho.

Anne van Kesteren
Received on Friday, 2 December 2005 21:59:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC