Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] a useful naming convention

From: Barwell Jonathan <Jonathan.Barwell@---.--.-->
To: 'Bryan Rasmussen' <bry@------.--->
Date: 8/2/2005 7:43:00 AM
Title: RE: [xml-dev] a useful naming convention





The one big problem I can see with this is that if you subsequently want to restructure your schema, e.g. a simple tag needs complex structure, then you not only have to restructure but you have to rename the tags as well.  This will look nice to start with but after a couple of evolutions there will be Upper and Lower case tags all over the place.

--

Jon Barwell


-----Original Message-----

From: Bryan Rasmussen [mailto:bry@i...] 

Sent: 02 August 2005 08:38

To: xml-dev@l...

Subject: [xml-dev] a useful naming convention






I've had some problems with xml naming conventions recently and had somewhat despaired of every encountering one that was more useful than just saying names should be human meaningful and identify the purpose of an element or attribute clearly in its context.

However reading the KML (Keyhole Markup Language) spec I came across this:


There are two basic types of KML tags: simple and complex. Complex tags are easily identified by an initial upper case letter, while simple tags use all lower case. Complex tags can function as Parent Tags to both complex and simple tags, while simple tags are children only and can contain no other tags.



not sure if this is reasonable if an element starts with an acronym or is an acronym, however. 


-- 

Bryan Rasmussen












-----------------------------------------------------------------

The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org>


The list archives are at http://lists.xml.org/archives/xml-dev/


To subscribe or unsubscribe from this list use the subscription

manager: <http://www.oasis-open.org/mlmanage/index.php>



************************************************************************

DISCLAIMER

The information contained in this e-mail is confidential and is intended

for the recipient only.

If you have received it in error, please notify us immediately by reply 

e-mail and then delete it from your system. Please do not copy it or

use it for any other purposes, or disclose the content of the e-mail

to any other person or store or copy the information in any medium. 

The views contained in this e-mail are those of the author and not 

necessarily those of Admenta UK Group.

************************************************************************


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent