XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Why is the file suffix of XML Schemas .xsd and not.xsd.xml or even better .xsd.xml.txt?

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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS