- From: Jon Hanna <jon@hackcraft.net>
- Date: Wed, 31 Jan 2007 11:21:24 +0000
- To: w3c-wai-ig@w3.org
John Foliot wrote: > Pardon the off-topic post, but I figured this was a knowledgeable group to > query. > > Q: When declaring the value of DC.format for "traditional" web pages, two > choices seem (to me) to be appropriate: application or multi-part. Could > anyone suggest a "most appropriate" choice? I am thinking multi-part, yet > the "definition" for application looks more specific: > http://www.iana.org/assignments/media-types/application/ > > Choices: http://www.iana.org/assignments/media-types/ Application is most appropriate, and this is why application/xhtml+xml is now the MIME type used. text/html was used up until XHTML1.0 which is an overlap point - it can be used both with the application/xhtml+xml MIME type required for XHTML1.1 and later and the text/html required with HTML4.0 and earlier for backwards compatibility (side-note: some browsers that react to application/xhtml+xml by considering in a non-XML XML document can be made to behave well by assigning an XSLT transformation that does an identity transformation - as far as those browsers are concerned it received an XML document and then used it to produce an HTML document, which coincidentally looks exactly the same as the XML document it received :) Mixed is not for cases like HTML were a document references other items which are then mixed together in rendering, but for document types where other items are included in the document itself (e.g. a word processor document with images embedded into them, rather than linked to from them).
Received on Wednesday, 31 January 2007 11:22:12 UTC