[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Media type (MIME) of XML in MS Word? in Notepad? when comp
Note that the specific reference to windows is based on the reference to MS word in the original mail, since otherwise the mail had nothing to do with Microsoft. Some of the problems you discuss here are touched on by Elliot Rusty Harold in an article for IBM http://www-128.ibm.com/developerworks/xml/library/x-mxd2.html However it is a short article, and could easily be expanded to 200 pages to really get at the problems. On 6/10/06, bryan rasmussen <rasmussen.bryan@g...> wrote: > Since the Windows operating system doesn't map mime types in itself > but is more concerned with the extension of something then I think the > question is somewhat not pertinent. In the context of a Windows system > where IIS is installed the mime types traditionally (without > programmer interference) map to particular extensions, so then the > question is what are the default mappings of file extensions to mime > types when served via IIS. > > Perhaps this woeful lack of OS mime type support is saved by Windows vista. > > As an aside the current mime type system does not seem adequate to > handle various markup formats, because there is no way (as far as I > know, maybe something has been done in the past view years) to define > a cascade of mime types, from least specific type to most specific. > > however text/xml is deprecated. > > MVH > Bryan Rasmussen > On 6/10/06, Costello, Roger L. <costello@m...> wrote: > > > > > > > > > > Hi Folks, > > > > > > > > Question #1 > > > > > > > > In the list [1] of media types (MIME) it shows two different media types for > > XML: > > > > > > > > application/xml > > > > text/xml > > > > > > > > What's the difference between these two? > > > > > > > > Question #2 > > > > > > > > Consider this simple XML: > > > > > > > > <?xml version="1.0"?> > > > > <root> > > > > Blah > > > > </root> > > > > > > > > Suppose I take this simple XML and put it into a MS Word document. What's > > its media type? Is it: > > > > > > > > application/msword, or > > > > application/xml, or > > > > text/xml? > > > > > > > > Suppose that I put it into a Notepad document. Now what's its media type? > > Is it: > > > > > > > > text/plain, or > > > > application/xml, or > > > > text/xml? > > > > > > > > > > > > Suppose that I put it into a Notepad document and then, using Winzip, I > > compress it. Now what's its media type? Is it: > > > > > > > > application/zip, or > > > > application/octet-stream, or > > > > application/xml, or > > > > text/xml? > > > > > > > > /Roger > > > > > > > > [1] http://www.iana.org/assignments/media-types/ > > > > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|