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

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