W3C home > Mailing lists > Public > public-webapi@w3.org > August 2007

Re: Fwd: Implementing HTMLDocument on all Documents (detailed review of the DOM)

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 21 Aug 2007 19:43:05 +0200
To: "Simon Pieters" <zcorpan@gmail.com>
Cc: "Web API public" <public-webapi@w3.org>
Message-ID: <t88mc3hap7ibilnm2sv6ilhsilj176rj3v@hive.bjoern.hoehrmann.de>

* Simon Pieters wrote:
>> would be any kind of improvement. You would have to explain why they
>> need to be on Document rather than on a DocumentWithUsefulStuff inter-
>> face. Clearly adding them to Document would make implementers who do
>> not and do not plan to implement HTMLDocument anywhere at all unhappy
>> (important reasons being that they are poorly designed and depend on
>> not particularily common features like interactivity).
>
>Indeed, I forgot to say this in my initial email. See:
>
>    http://www.w3.org/mid/op.txesk51widj3kv@hp-a0a83fcd39d2

Of course you would not require every DOM Core implementation to offer
interactivity. Could you elaborate on how that clarifies your proposal?

For example, in Java you cannot implement just a subset of an interface,
you have to implement everything, even if it's just a stub that raises
a "not supported" exception. Doing that, or, alternatively, having two
versions of the interface so avoid the problem, seems highly likely to
make those implementers and indeed their implementation's users unhappy.

It also does not explain why your proposal is the best one to address
whatever problem is to be solved here (as I said, I don't quite see the
problem).
-- 
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 Tuesday, 21 August 2007 17:43:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:58 GMT