[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

  • To: "Costello, Roger L." <costello@m...>
  • Subject: Re: Media type (MIME) of XML in MS Word? in Notepad? when compressed? etc
  • From: "bryan rasmussen" <rasmussen.bryan@g...>
  • Date: Sat, 10 Jun 2006 18:02:26 +0200
  • Cc: xml-dev@l...
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oLqvvEGqIUbm4IOnsQRIk1BTBEDC15s4VicsVUKQfQ8jFv8yfofi1wVQ0EmSGSqMd+GLxxc0ILsptoenFlukwqFzG+JdoQeEn7s1ezzcGax5SK30kZDOSyIkDmzNxzD/RMQbni392q21CtzqS2uoVGb8K+axi8kFEMp8cyFJuSY=
  • In-reply-to: <B8415163A689094689542C617ECA0366C5FCF2@I...>
  • References: <B8415163A689094689542C617ECA0366C5FCF2@I...>

content disposition notepad
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.