[whatwg] text/html flavor conformance checkers and <foo />

Ian Hickson ian at hixie.ch
Fri Feb 24 15:44:39 PST 2006


On Mon, 25 Apr 2005, [ISO-8859-1] Olav Junker Kjær wrote:
>
> Both <foo /> and <foo/> are errors in HTML and should be flagged by a
> conformance checker.
> XHTML 1.0 appendix C arguably allows a hybrid syntax which is HTML and XHTML
> at the same time. This is not relevant for HTML5 though, since HTML5
> explicitly disallows serving XHTML as text/html, so a HTML5 document is always
> either HTML or XHTML dependent on the mime type.

Correct.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list