HTML Specification

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 UTC