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

Re: Strict Not so strict.

From: Thanasis Kinias <tkinias@optimalco.com>
Date: Thu, 23 May 2002 10:16:54 -0700
To: Jamey Weare <jamey.weare@santafe.cc.fl.us>
Cc: www-validator@w3.org
Message-ID: <20020523101654.A8969@glaux.ph.cox.net>
scripsit Jamey Weare:
> 
>    I was demonstrating to my students the validator for
>    strict XHTML today and found it to not be so strict.
>    It allowed align, valign, border, and width attributes.

The Strict DTD [1] gives, for example:

# <!ATTLIST table
#   %attrs;
#   summary     %Text;         #IMPLIED
#   width       %Length;       #IMPLIED
#   border      %Pixels;       #IMPLIED
#   frame       %TFrame;       #IMPLIED
#   rules       %TRules;       #IMPLIED
#   cellspacing %Length;       #IMPLIED
#   cellpadding %Length;       #IMPLIED
#   >

Tables are an exception to the elimination of presentational markup in
Strict.

>    I was under the understanding that all of those attributes
>    were deprecated. I seem to remember these being found
>    as errors in the past. Is there a bug or is it now allowed?

On <img>, for example, `border' is disallowed.  See [2].

1. http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
2.
http://validator.w3.org/check?uri=http%3A%2F%2F68.2.212.230%3A8000%2Ftest.html&charset=%28detect+automatically%29&doctype=Inline

-- 
Thanasis Kinias
Web Developer, Information Technology
Graduate Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.

Ash nazg durbatulūk, ash nazg gimbatul,
Ash nazg thrakatulūk agh burzum-ishi krimpatul
Received on Thursday, 23 May 2002 13:18:11 GMT

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