W3C home > Mailing lists > Public > www-validator@w3.org > June 2011

Re: FPI and URI for dtd

From: David Dorward <david@dorward.me.uk>
Date: Wed, 8 Jun 2011 18:52:26 +0100
Message-Id: <39274392-1167-4B91-B609-A79ED72A9E80@dorward.me.uk>
To: "Przybylo, Pamela (DOT)" <pprzybylo@dot.state.ny.us>, "www-validator@w3.org Community" <www-validator@w3.org>

On 7 Jun 2011, at 14:14, Przybylo, Pamela (DOT) wrote:
> In search of enlightenment.  I, and my staff, are tasked with validating HTML .  Our developers have recently been instructed that we will standardize on HTML 4.01 strict dtd.  I see they are using  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
> I am not familiar with this combination of Transitional FPI and strict DTD; I thought it was either one or the other.

It is. The Doctype is nonsensical. 

>   How is this read; won’t the strict.dtd be ignored? 

If the validator you use has Transitional DTD in its catalog, then it will use that. Otherwise it will hit the URL for the strict DTD and use that.

> Do we test it as Transitional, strict, or both?

Pick one (Strict is usually the sane choice), change the Doctype to match, then use that.


David Dorward
Received on Wednesday, 8 June 2011 17:53:02 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:37 UTC