Why is this invalid XHTML?

On the Structured Blogging mailing list the question keeps coming up on whether the plugins will generate valid XHTML. Well, until this is considered valid XHTML, I doubt they will.

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

I have a real problem with this as it severely restricts what you can do with XHTML documents. As far as I'm concerned the XHTML validator is broken. What's the point of converting the thing into XML, if you're going to simply make the use of XML extensibility mechanisms invalid?

Posted by Kimbro Staken

Wednesday May 17, 2006 at 0:06 PM
Recommended Sites