DTD after cleanup without URL ? is it a bug ?

Marc Gueury <[email protected]> Wed, 22 Jun 2005 23:55:21 +0200
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
Hi all,

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 ?

Thanks by advance,

Marc





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click