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

Re: Testing default attributes in HTML DOM.

From: Joe Kesselman <keshlam@alum.mit.edu>
Date: Thu, 7 Jun 2001 13:05:02 -0400 (EDT)
Message-ID: <3B1FB7E6.82A79FC5@alum.mit.edu>
To: w3c-dom-ig@w3.org
> because most of these attributes do not even supply
> default values, since they mostly have null values, which I believe is
> illegal for an Attr node

It is. No matter where we come down on whether it's
acceptable for them to be there, if they do exist they must
at least have the value ""; that's standard Attr behavior
and the DOM provides no alternative. And datatypes have to
be right. So these points need to be fixed whether or not
the extra attrs are considered acceptable.

BTW, note that if you take the out of saying "this a DOM
after it has been prepared for this application", that
permits doing almost anything to the document... which would
make testing against a source document something of a moot
point. That's either a problem or an escape hatch, depending
on your point of view...

> There are plenty of ways to extend the
> standard without becoming non-compliant.

For me, that's the key point. The downside of standards is
that you have to live with them, at least until you can
convince everyone to amend them. The upside is that so does
everyone else, which is a win for the customers.
Received on Thursday, 21 June 2001 10:29:26 GMT

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