div is transitional, says Tidy

Tidy mistakenly sees my Strict XHTML docs as Transitional.
I finally found that this is caused by using "div" elements.
E.g.:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
</head>
<body>

<div>Test</div>

</body>
</html>

If I use Tidy on the above Tidy reports:

Tidy (vers 4th August 2000) Parsing "C:\WINDOWS\Skrivbord\test.html"

C:\WINDOWS\Skrivbord\test.html: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN"
C:\WINDOWS\Skrivbord\test.html: Document content looks like XHTML 1.0 Transitional
no warnings or errors were found

It doesn't matter if I set the config option "doctype" to "strict", "loose" 
or "auto".

I want Tidy to warn me if I use Transitional markup in my Strict docs. Now 
it won't give any warnings or flag any errors since it interprets the doc 
as being Transitional.

#####################################################################
                         Bertilo Wennergren
                 <http://purl.oclc.org/net/bertilo>
                        <bertilow@chello.se>
#####################################################################

Received on Friday, 26 January 2001 09:37:26 UTC