W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Bug: DTD as Namespace

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 31 Aug 2000 08:28:08 +0200
Message-ID: <001601c01318$5fc06100$55a3b43e@de>
To: <html-tidy@w3.org>
Tidy does not insert a DTD for the following case, but it uses the DTD URI as
Namespace.

[...]
Q:\xml\source\xml-stylesheet>tidy

Tidy (vers 4th August 2000) Parsing console input (stdin)
<?xml version="1.0" encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml">
^Z
line 2 column 1 - Warning: inserting missing 'title' element
line 2 column 1 - Warning: html namespace doesn't match content

stdin: Document content looks like XHTML 1.0 Strict
2 warnings/errors were found!

<?xml version="1.0" encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org" />
<title></title>
</head>
</html>
[...]

regards,
--
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote +{i}
                           --- feedelity ---
Received on Thursday, 31 August 2000 02:55:41 GMT

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