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

Re: [dom3core] getAttribute

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 02 Dec 2005 19:51:00 +0100
To: Robin Berjon <robin.berjon@expway.fr>
Cc: <www-dom@w3.org>
Message-ID: <5i51p1pldgjoj38ltcg0npjrhul1jsunvd@hive.bjoern.hoehrmann.de>

* Robin Berjon wrote:
>I haven't seen anyone address Maciej's suggestion of only doing this  
>change for Javascript (perhaps in the language binding). I think it's  
>a fair compromise that solves a real-world problem in a pragmatic  
>manner, but I would like to see more discussion.

That depends on what you are concerned about. E.g. MSXML returns `null`
regardless whether you access the COM objects through JScript, C++, or
whatever, likewise .NET returns the empty string regardless of which
language is used. Many DOM implementations can be used from multiple
languages, changing such implementations to behave differently for some
languages is likely non-trivial.

>So we have several hundred million copies of broken software out  
>there. In most cases this would indicate that changing the spec is  
>easier. However there also are, fewer but still quite a few, non- 
>broken implementations that could cause trouble if this change were  
>applied. Thankfully, all those on the former side use Javascript (and  
>perhaps VBScript), while all those on the other side use Java (and  
>sometimes C#).

This isn't really the case.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Saturday, 3 December 2005 16:38:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:58 GMT