W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

RE: Relation between core DOM and HTML DOM

From: <keshlam@us.ibm.com>
Date: Thu, 15 Oct 1998 08:50:07 -0400
To: www-dom@w3.org
Message-ID: <8525669E.0045FA52.00@us.ibm.com>
>  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 GMT

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