Re: [widgets] Content-type sniffing and file extension to MIME mapping

Marcos Caceres schreef:
>> 2. The XHTML mapping should also appear in the file identification table
>> [2].
>
> What version of XHTML should I be pointing to? 1.0 or 1.1?

Short version:

XHTML 1.1.

Long version:

The XHTML 1.0 spec has some interesting informative prose in section 4, 
“differences with HTML 4”, but that is probably repeated somewhere in 
HTML 5 (and generally common sense). The Appendix C HTML Compatibility 
Guidelines and the optional text/html MIME type do not apply in this case.

XHTML 1.1 is XHTML 1.0 expressed using XHTML Modularization (something 
that is unfortunately lost in HTML5, it seems), and in addition to some 
minor modifications removes all the deprecated transitional stuff. As we 
all know, just because XHTML 1.1 removes the deprecated elements doesn’t 
mean that UAs no longer need to support it, but for authoring it seems 
good practice.

Neither specification can be used stand-alone by the way; XHTML 1.0 
references HTML4 and XHTML 1.1 references XHTML Modularization which 
references XHTML 1.0.

~Laurens

-- 
Note: New email address! Please update your address book.

~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, student, university of Utrecht, the Netherlands
Website: www.grauw.nl. Backbase employee; www.backbase.com

Received on Friday, 6 March 2009 14:45:18 UTC