Re: Validator fails code but does not give error message

On 2005-08-10 07:38, Paula Thomas wrote:

> I was validating my first piece of XHTML code using the w2c validator
> earlier today and got the following confusing output from the validator :-

[...]

> Doctype:
> 
> -//w3c//DTD XHTML 1.0 Strict//EN

This is called the formal public identifier, and it's case sensitive.

The correct form is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Notice the uppercase "W" and "C" in W3C.

-- 
David Håsäther

Received on Wednesday, 10 August 2005 14:05:43 UTC