Validador HTML / XHTML / WML / XML

Publicat el 08/04/2007

Validome

Aquest validador a diferència del validador del W3C detecta l'ús del MIME Type i el contrasta amb el Doctype usat. Si s'està usant XHTML 1.0 servit com a text/html apareix el següent missatge:

This XHTML 1.0 document was delivered with MIME-Type text/html. This MIME-Type should not be used, if the document does not correspond to the HTML Compatibility Guidelines.

Però si s'està usant XHTML 1.1 amb text/html l'alerta, tot i no mostrar-se com a error (que ho hauria de fer) com a mínim és més contundent:

This XHTML 1.1-Document was delivered with the MIME-Type "text/html", what is not recommended. Please change the MIME-Type in the HTTP-Header (Content-Type=xxx) to "application/xhtml+xml".