Re: [dom3core] getAttribute

* 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 UTC