RE: Relation between core DOM and HTML DOM

>  if(xmlElement instanceof HTMLElement)
>    // possibly false (ie. implementation dependent)

OK, we're back in synch.

> if you can't guarantee that an interface *is* supported you'd be well
> advised to assume that it *isn't*

Minor rephrasing: You'd be well advised to assume that you can't assume
either way. A programmer may _expect_ that it isn't, but since the next
release of the package (never mind switching to another package) may be
implemented completely differently, code that relies on this may break
unexpectedly.

Thanks for bringing this up; being forced to think it through again was
helpful for me!
______________________________________
Joe Kesselman  / IBM Research
Unless stated otherwise, all opinions are solely those of the author.

Received on Thursday, 15 October 1998 15:28:57 UTC