W3C home > Mailing lists > Public > www-qa@w3.org > June 2005

Re: [Tidy-dev] DTD after cleanup without URL ? is it a bug ?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 23 Jun 2005 00:43:04 +0200
To: Marc Gueury <mgueury@skynet.be>
Cc: tidy-develop@lists.sourceforge.net, a.jones@hccnet.nl, www-qa@w3.org
Message-ID: <42bbe800.227290906@smtp.bjoern.hoehrmann.de>

* Marc Gueury wrote:
>I got  a question from a tidy user saying this.
>
>After cleaning up a page, tidy add a DOCTYPE at the top that is not listed
>here : http://www.w3.org/QA/2002/04/valid-dtd-list.html
>
>For example :
> From tidy output:
>
><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>
>
> From the doc above:
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>   "http://www.w3.org/TR/html4/loose.dtd">
>
>I must say that I have no idea at all if it is the URL to the dtd is
>mandatory at all. I looked in the HTML spec but did not found anything about it.
>I tried also to find this in a SGML documentation but could not find it.
>
>Should I log a bug about it ?

The system identifier is considered optional. Tidy has some logic to
determine whether it should specify one but I do not have the details
handy. http://www.w3.org/QA/2002/04/valid-dtd-list.html should probably
be clarified that the list is "incomplete" and informative.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Wednesday, 22 June 2005 22:43:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 12:14:01 GMT