W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

HTML Specification

From: Werner Donne' <wdonne@ibm.net>
Date: Wed, 08 Apr 1998 17:49:00 +0200
Message-Id: <352B9C6C.F463A4B8@ibm.net>
To: dom <www-dom@w3.org>
Hi,

I have the following remarks about the HTML specification:

- Most interfaces in this specification are just enumerations of
attributes.
The Core specification already has a mechanism to treat SGML attributes
and
thus HTML attributes. I think that interfaces with hard coded versions
of these
are not necessary. The major disadvantage is that each time HTML changes
this
specification must change also. If only the standard attribute
manipulation
mechanism is offered it is likely no existing code will break.

- Inheritance is heavily used in the Core specification. It could then
also be
applied in the following case. The operations getItem and getTags appear
in
both the HTMLFormElement and HTMLSelectElement interfaces. They could be
put in
a seperate interface from which the two others could be derived.

With kind regards,

--
Werner Donne'
Re BVBA
Leuvenselaan 172
B-3300 Tienen
tel: (+32) 16 810203
fax: (+32) 16 820826
E-mail: wdonne@ibm.net
Received on Wednesday, 8 April 1998 12:36:00 GMT

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