Re: Error Message Help

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