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

Re: Why is the file suffix of XML Schemas .xsd and not.xsd.xml

  • From: Jim Melton <jim.melton@oracle.com>
  • To: "Costello, Roger L." <costello@mitre.org>, "xml-dev@l..." <xml-dev@l...>
  • Date: Fri, 4 Oct 2019 13:35:45 -0600

Re:  Why is the file suffix of XML Schemas .xsd and not.xsd.xml

Roger,

Don't confuse the purpose and use of filename extensions with MIME types.  As a file creator and user, I have no problem understanding that a file with the extension ".xsd" means "this is a serialization of an XML Schema Definition file expressed as an XML document encoded in plain text".  I don't need (and would be severely annoyed about) structured extensions that captures all of that meta-information explicitly.

Besides, ".txt" is incredibly ambiguous! Perhaps ".txt.iso8859.en-en" would be even better.  Or how about ".xsd.xml.txt.uni.utf.016.en-us" to be really clear?  How far should one go to encode file metadata into the filename itself?

MIME types are designed for computers to read and "understand", so it's reasonable that they provide additional meta-information about content of a stream.

Hope this helps,
   Jim

On 2019-10-03 05:07, Costello, Roger L. wrote:
Hi Folks,

An XML Schema document is an XML document, so why isn't the file suffix of XML Schema documents .xsd.xml? 

Example: Bookstore.xsd.xml

To take it a step further, an XML document is a text document, so why isn't the file suffix of an XML document .xml.txt? Thus an XML Schema document would have the file suffix .xsd.xml.txt to indicate that the document is (1) an XML Schema document, which is (2) an XML document, which is (3) a text document.

Likewise, why isn't the file suffix of an XSLT document .xsl.xml.txt?

It seems like that would have the advantage of showing with great clarity of type of file it is. Yes?

/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.oasis-2Dopen.org_mlmanage_&d=DwIFAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=XZCGspXHcGGtWTn7eKof7TvaFDMH0XrYJTrtCVTfaxk&m=x_ZP8pOuEqGZBagq5VgGVNou2ofnEWbZjcy_5TjNWWY&s=J-1qW6gUNtebA4ockKDb3pU35pCj1do25gQO3SeXVPQ&e= 
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xml.org_archives_xml-2Ddev_&d=DwIFAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=XZCGspXHcGGtWTn7eKof7TvaFDMH0XrYJTrtCVTfaxk&m=x_ZP8pOuEqGZBagq5VgGVNou2ofnEWbZjcy_5TjNWWY&s=N_-lAZkmpxc7iSQ1bpYiR8xe4pSRHUOD7Z8aWiY9PlA&e= 
List Guidelines: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.oasis-2Dopen.org_maillists_guidelines.php&d=DwIFAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=XZCGspXHcGGtWTn7eKof7TvaFDMH0XrYJTrtCVTfaxk&m=x_ZP8pOuEqGZBagq5VgGVNou2ofnEWbZjcy_5TjNWWY&s=DgPePRJsQsBUTiTT1iYap7R-E7Hbanpxu_PzFHcPYpk&e= 


--
-----------------------------------------------
Jim Melton | Standards Maven | jim dot melton at oracle dot com
Phone: +1 801 942 0144 | Fax: +1 801 942 3345
Oracle Server Technologies
1930 Viscounti Dr | Sandy, UT 84093
Oracle is committed to developing practices and products that help protect the environment


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.