- From: Bertilo Wennergren <bertilow@hem.passagen.se>
- Date: Sun, 21 May 2000 12:40:31 +0200
- To: <html-tidy@w3.org>
It seems the 30th April version of Tidy still gets XHTML Doctypes wrong - at least it always says "...appears to be XHTML 1.0 Transitional" on my XHTML Strict documents. Actually this seems to hinge on the use of div-elements. Here's a simple doc that Tidy say is XHTML strict: <!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> <p>Hi, Tidy! What am I?</p> </body> </html> But this one is Transitional, according to Tidy (but it does not change the DOCTYPE in the output): <!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>Hi, Tidy! What am I?</div> </body> </html> ##################################################################### Bertilo Wennergren <http://purl.oclc.org/net/bertilo> <bertilow@hem.passagen.se> #####################################################################
Received on Sunday, 21 May 2000 06:36:44 UTC