W3C home > Mailing lists > Public > www-validator@w3.org > April 2002

Re: attributes with missing values yield different errors?

From: Jim Correia <correia@barebones.com>
Date: Thu, 4 Apr 2002 16:18:04 -0500
Cc: W3C Validator <www-validator@w3.org>
To: Liam Quinn <liam@htmlhelp.com>
Message-Id: <735ADFEE-4811-11D6-BFAA-003065B10AEA@barebones.com>
On Thursday, April 4, 2002, at 04:12  PM, Liam Quinn wrote:

> No.  <table border> is actually equivalent to <table frame=border>.  
> Note
> this comment from the HTML 4.01 DTD in describing the values for the
> "frame" attribute:
>
>  The value "border" is included for backwards compatibility with
>  <TABLE BORDER> which yields frame=border and border=implied
>  For <TABLE BORDER=1> you get border=1 and frame=implied. In this
>  case, it is appropriate to treat this as frame=border for backwards
>  compatibility with deployed browsers.

That is what the prose of the specification says. What I am trying to 
understand is how the DTD knows this, and doesn't complain?

Is the other obtuse error it reports for

<table summary>

actually just trying to tell me I should have supplied a value?

--
Jim Correia
correia@barebones.com
Received on Thursday, 4 April 2002 16:18:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT