Re: [office-comment] OpenDocument Draft 3: Use "application/xml" instead of "text/xml"

From
David Faure <>
Date
2005-03-06T13:02:28+00:00
ID
Thread
Re: [office-comment] OpenDocument Draft 3: Use "application/xml" instead of "text/xml"
On Saturday 05 March 2005 19:06, Dave Hodder wrote:
> Hello,
> 
> Section 1.7 of OpenDocument 1.0 Committee Draft 3 states: "For office 
> documents that conform to this specification but are not contained in a 
> package, it is RECOMMENDED to use the MIME type text/xml."
> 
> May I respectfully suggest that the "application/xml" MIME type is 
> mentioned instead?
> 
> Although "text/xml" is a legal media type, the W3C recommends against 
> its use, and there's a good chance it will be depreciated in future. 
> (Over the web, anything advertised with text/* media types can be 
> transcoded by intermediate proxies, etc. which is potentially problematic.)

This makes sense.
However I don't see why non-packaged OpenDocument files ("flat xml") shouldn't
use a real OASIS mimetype instead of text/xml or application/xml.
After all we want to launch OpenDocument-aware applications (e.g. OOo or KOffice)
when clicking on such files, not raw XML editors.

-- 
David Faure, , sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).