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.
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
--