[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [Summary, VERSION #3] Media type (MIME) of XML in MSWord?

thunderbird version 3
Its an interesting point that you make.  Mime types are just hints made 
available in a specific recipient processing context.  It is not just 
the sender that selects them, but they are implicitly configured with 
identifiable combinations of sender and receiver in mind.  Your point 
about an xhtml+xlink+svg+mathml document then is answered by "what is 
intelligible to the recipient?". 


David Carlisle wrote:

>>Thus, the official
>>MIME type assignment to XML data is: 
>>     application/xml
>This is only the case (possibly the minority of cases) where there isn't
>a more specific mime type (either registered or in use in the wild)
>so XHTML documents are XML but may be
>  text/html (grr:-) or application/xhtml+xml
>XSLT documents are XML but may be 
>  text/xsl (never registered) or application/xsl+xml
>SVG documents are XML but may be image/svg+xml 
>In some cases you may be able to tell (or guess) from the media type
>name that the document is XML, for example if it follows the ...+xml
>convention of RFC 3023, but in general the only way to know if a
>document format identified by a media type is XML or not is to look up
>the media type registration and read the text.
>Basically Media types were not designed for XML and are a pretty bad
>fit. If you lable everything as application/xml then they lose their
>original purpose of being able to trigger an appropriate program
>to handle the data, you typically do not want to send SVG and ChemML to
>the same viewing application. Conversely if you lable each vocabulary
>with a different mime type, there has never really been a good answer to
>give to the question of what mime type you give to a
>xhtml+xlink+svg+mathml document.
>This e-mail has been scanned for all viruses by Star. The
>service is powered by MessageLabs. For more information on a proactive
>anti-virus service working around the clock, around the globe, visit:
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>initiative of OASIS <http://www.oasis-open.org>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>To subscribe or unsubscribe from this list use the subscription
>manager: <http://www.oasis-open.org/mlmanage/index.php>


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.
First Name
Last Name
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.