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

Re: Error Message Help

From: Olivier Thereaux <ot@w3.org>
Date: Fri, 29 Apr 2005 11:43:46 +0900
To: Albert Chang <albert.chang@comcast.net>
Cc: www-validator@w3.org
Message-ID: <20050429024346.GA14617@w3.mag.keio.ac.jp>

Hello Albert,

On Thu, Apr 28, 2005, Albert Chang wrote:
> Ok, I'm trying to make my scripts into xhtml 1.1 strict.  I'm just 
> teaching myself.  I already have some knowledge of xhtml.  I've been 
> using 1.0 transitional for a while now.
> 
> The validator said that for xhtml 1.1, the anchor tag no longer supports 
> the name attribute.

Correct, see:
http://www.w3.org/TR/xhtml11/changes.html#a_changes

>  However, when I went to 
> http://www.domstyle.net/tuts/xhtml/xhtml3.html, the name attribute 
> bypassed the validator.  I would like to know why.

That document uses a bogus doctype. "-//W3C//DTD XHTML 1.1 Strict//EN"
is not a correct W3C FPI, "-//W3C//DTD XHTML 1.1//EN" is. In other
words, be aware that there is no such thing as XHTML 1.1 strict, only
XHTML 1.1.

Hope this helps.
-- 
olivier Thereaux - W3C / QA / Tools
              -----               
You can help improve the validator:
http://lists.w3.org/Archives/Public/www-validator/2005Apr/0031.html
Received on Friday, 29 April 2005 02:43:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:50 UTC