[Bug 6296] text/html with XHTML 1.0 doctype and HTML5 override validates as XHTML5

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6296





--- Comment #6 from Olivier Thereaux <ot@w3.org>  2008-12-10 16:39:03 ---
(In reply to comment #4)
> The validator *could* say that "well, this isn't XML, so I'm going to validate
> as HTML 4.01 instead" (or refuse to validate). But I digress.

I think it would be counter productive to do that. 

If I am declaring XHTML 1.0, authoring valid XHTML 1.0 but serving it as
text/html because I can't change my server config (the case for most people) or
because I want the pages to show in IE6, I wouldn't want the validator to tell
me "you suck! this is not valid HTML4.01". 

A bad way to alienate people, IMHO

> &debug=1 is good to know... However, my request still stands. There's no parser
> override. I believe it's quite possible to provide parser and MIME information
> while keeping the UI not-too-complicated.

Why not. I was about to ask for separate bugzilla items, but see you did that
already. Thanks!
Patches and/or UI suggestions welcome, too.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 10 December 2008 16:39:12 UTC