<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06.11.2012 09:30, Michael[tm] Smith
wrote:<br>
</div>
<blockquote cite="mid:20121106083054.GA54462@sideshowbarker"
type="cite">Actually I realize now that upstream
<a class="moz-txt-link-freetext" href="http://validator.nu/">http://validator.nu/</a> does that as
expected. The bad behavior you're seeing is only in the W3C Nu
validator
and so is a bug that I need to figure out the cause of and fix.
Sorry that
you had to be the one to discover it but I will try to get a fix
made asap
so that others don't get bit by it.<br>
</blockquote>
<br>
I tried <a class="moz-txt-link-freetext" href="http://validator.nu/">http://validator.nu/</a> now and I'm getting a very strange
error there too. I checked two *identical* files against the XHTML5
preset. The only difference is that one file I named .html and the
other .xhtml. The .xhtml one would validate just as expected, but
the .html one would give me this error:<br>
<p>IO Error: <span>Non-XML Content-Type: <code>text/html</code>.</span></p>
<p>Are you sure that the validator at <a class="moz-txt-link-freetext" href="http://validator.nu/">http://validator.nu/</a> works as
intended? It seems to me this one falls back to checking the file
extension as well. (Or maybe I'm doing something wrong here.)<br>
</p>
<br>
</body>
</html>