schema.org HTML doctype

It has been suggested by a few folk that the schema.org site ought to
have an HTML5 doctype.

ie. <!DOCTYPE html>

Currently the top of pages looks like

"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>..."

AFAIK nothing in the site's main page content is heavily XMLish,
although my preference is that each page ought to at least parse as
well-formed XML.

My inclination (and I have no strong expertise on the current
subtleties of this choice) would be to switch to the simpler <!DOCTYPE
html> doctype. Also to lose the xmlns= declaration, and then per
http://www.w3.org/TR/html-polyglot/#language-attributes to use both
xml:lang and lang, so the document has both an XML and HTML reading.
How does this sound? Am I missing any 'gotchas'?

Feedback welcomed.

Dan

Received on Wednesday, 8 August 2012 20:55:24 UTC