Double-dot naming convention for XML files [message #46333] |
Wed, 19 February 2003 03:25 |
Eclipse User |
|
|
|
Originally posted by: hastings.trans-enterprise.com
The PDE provides a very nice custom editor for the plugin.xml file. As
the use of the Eclipse platform expands from IDE to I*E, a lot of people
(like me) are going to want to build similar specialty XML editors. We
may not have the luxury, however, of enforcing a single name to our XML
files like "plugin.xml". We could all create our own file extensions for
our specific XML file types, but then we loose our ability to treat all
XML files generically. Besides, there are enough three letter file types
in the world already.
I would like to discuss a double-dot naming convention for XML files as
follows:
<filename>.<xml-type>.xml
So, if I wanted to call my file "myfile" and my XML document type "foo",
then the file name would be
myfile.foo.xml
That way, I can create a Eclipse Resource handler that looks for files
named "*.foo.xml".
Is anyone aware of some similar discussion elsewhere? Has such a thing
been proposed before? Could we adopt it as a convention within the
Eclipse community?
G.H.
Trans-enterprise Integration Corp
|
|
|
Powered by
FUDForum. Page generated in 0.03545 seconds