Bug: DTD as Namespace

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 UTC