Re: Why does this validate?

From: L. David Baron (dbaron@fas.harvard.edu)
Date: Fri, Sep 24 1999


From: "L. David Baron" <dbaron@fas.harvard.edu>
Date: Fri, 24 Sep 1999 17:56:08 -0400 (EDT)
Message-Id: <199909242156.RAA21089@is04.fas.harvard.edu>
To: dreklind@btinternet.com, www-validator@w3.org
Subject: Re:  Why does this validate?

On Fri, 24 Sep 1999 17:25:42 -0400 (EDT), "Richard Savill"
(dreklind@btinternet.com) wrote:

> <td width="OK_buddy_I_want_50%_width">Test</td>

>     No errors found!
>  Congratulations, this document validates as HTML 4.0 Transitional!

> Second, in any case, percentage is illegal according to even the
> transitional DTD. I can't find where percentage is allowed here. Maybe I'm
> reading it wrong.

It's not illegal according to the DTD.  It's illegal according to the
language of the spec (and possibly comments in the DTD).  This language
could have been expressed in the DTD, but it wasn't.

See http://lists.w3.org/Archives/Public/www-validator/1999JanMar/0022.html
for a full explanation.

David

L. David Baron    Sophomore, Harvard (Physics)    dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.     <URL: http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                      <URL: http://www.webstandards.org/css/ >