[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: a useful naming convention


email naming convention
Title: RE: 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: 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.

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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.