W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 1999

URI for XHTML DTD output by tidy

From: Steinar Kjærnsrød <steinar@infostream.no>
Date: Thu, 20 May 1999 15:02:07 +0200 (MET DST)
To: html-tidy@w3.org
Message-ID: <Pine.GSO.4.05.9905201449310.13198-100000@tycho.oslo.infostream.no>
I'm new to this list today, so I can not follow up on the previous message
by Brad Simpson on May 11 reporting this (bug?).

The URI output by tidy is

 http://www.w3.org/TR/WD-html-in-xml/DTD/xhtml1-transitional.dtd

The correct URI should probably be

 http://www.w3.org/TR/xhtml1/DTD/transitional.dtd

At least, there is a DTD for XHTML 1.0 at this URI.

Documents cleaned and translated into XHTML  by tidy fail to pass the
validating services at validator.w3.org because of this bad URI.

It is trivial to correct this in the lexer.c file in the tidy
distribution though. The same goes for the namespace URI, which probably
should be

 http://www.w3.org/TR/xhtml1/

My guess is that these URIs changed as of the release of the newest WD of
May 5th?

--
Steinar Kjærnsrød <steinar@infostream.no>
InfoStream AS
http://priv.infostream.no/~steinar/
Received on Thursday, 20 May 1999 09:02:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT