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?

Hi Roger,
    The extension of an XSD file being .xsd, and of an XML file .xml are default ones and are by convention (these are well accepted extensions, for these types of files). The XML tools don't prohibit the choice of other extensions for these files.

For comparison purposes, an INI file has a default extension of .ini. By your same argument, INI file's extension should be .ini.txt.

To me, the file name of the form fileNamePrefix.ext1.ext2 looks like a bad design.

On Thu, Oct 3, 2019 at 4:38 PM Costello, Roger L. <costello@mitre.org> 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

 

--
Regards,
Mukul Gandhi


[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