[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


Dean Edridge <dean@dean.org.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dean@dean.org.nz




--- Comment #8 from Dean Edridge <dean@dean.org.nz>  2009-01-03 13:51:56 ---
> 
> Nevertheless, this is likely to be a bit of a pain, since the criteria to
> determine "is it XML" are different between html5 (media type) and the rest of
> the HTML family (media type, doctype, xml declaration...)
> 

I don't see how that is relevant. Any web page using the new HTML doctype (aka
the HTML5 doctype "<!DOCTYPE html>") should be passed over to the Validator.nu
side of the W3C's validator. It's the Validator.nu that should be "deciding" if
the document is HTML5 or XHTML5, *not* the W3C's validator. There has been
hundreds of hours put in to programming the validator.nu, it works perfectly on
http://validator.nu. There's no need for the W3C's validator to mimic all those
algorithms. Is that what's being suggested, or am I missing something here?

Here is all the W3C's validator needs to do. 

if document is normal HTML4/XHTML1 etc

    do the normal validator.w3.org stuff

if document is using HTML5 doctype

    send it over to the validator.nu part of the validator to sort out.

Then the validator.nu part of the W3C's validator can determine whether it is
HTML5 or XHTML5 based on the mime type, file ext etc.

I was under the impression that this was the way it was set up already.

Of course, there's the issue of XHTML5 without a doctype, but I'll comment on
that on the other bug report. :)


-- 
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 Saturday, 3 January 2009 13:52:07 UTC