W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

Re: why is Tidy changing my 4.0 code into 3.2?

From: Charles Reitzel <creitzel@rcn.com>
Date: Wed, 23 Oct 2002 13:40:35 -0400
Message-Id: <4.3.2.7.2.20021023133802.0263b418@pop.rcn.com>
To: html-tidy@w3.org

Tidy has always preferred the lowest compatible version.  This follows the 
time honored Internet practice of tolerating newer format/protocol versions 
but not requiring them of others.

take it easy,
Charlie

At 05:20 AM 10/14/2002 +0200, Bjoern Hoehrmann wrote:

>* Terry Teague wrote:
> >At 12:05 PM -0400 6/18/02, Malcolm Pateman wrote:
> >>I have a simple question re. Tidy (I'm using the Mac BBEdit plugin) ...
> >>
> >>my code is HTML 4.0, but Tidy makes it into 3.2. Can someone help me?
> >>
> >>Here is an example:
> >>
> >><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
> >>   "http://www.w3.org/TR/REC-html40/strict.dtd">
> >><HTML>
> >><HEAD>
> >> <TITLE>Testing 123</TITLE>
> >> <META NAME="generator" CONTENT="BBEdit 5.0">
> >></HEAD>
> >><BODY>
> >>blah blah blah
> >></BODY>
> >></HTML>
> >
> >I reproduced your issue with the current (18 Jun 02) version of Tidy, but I
> >also checked the above sample with a Validator, and sorry but it does NOT
> >validate as 4.0 Strict, so Tidy changes the DOCTYPE to match the content :
>
>However, Tidy should resort to HTML 4.01 Transitional, not to HTML 3.2.
Received on Wednesday, 23 October 2002 13:27:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC