atom feed4 messages in org.oasis-open.lists.office-commentRe: [office-comment] OpenDocument Dra...
FromSent OnAttachments
Dave HodderMar 5, 2005 10:05 am 
David FaureMar 6, 2005 5:02 am 
John CowanMar 6, 2005 6:19 am 
David FaureMar 6, 2005 6:37 am 
Subject:Re: [office-comment] OpenDocument Draft 3: Use "application/xml" instead of "text/xml"
From:David Faure (fau@kde.org)
Date:Mar 6, 2005 5:02:06 am
List:org.oasis-open.lists.office-comment

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.