Re: [xml-dev] Should one adopt the tag naming convention of an existing XML vocabulary or create one's own tag naming convention?
On Fri, Feb 3, 2012 at 1:11 PM, Andrew Welch <[email protected]> wrote:
-- > Here are two possibilities:
>
> 1. I will create a my own tag naming convention, independent of the XML vocabularies that I will use.
>
> 2. I will adopt the tag naming convention of one of the XML vocabularies that I will use. (Which one?)
>
> What do you recommend?
There is only one way :) names should be all lower-case, with hyphen
as a separator. Camel case, or any thing else really, are awful for
xml.
I strongly agree, but of course this one is a very subjective matter. I curse Java for its propagation of the CamelCase eyesore.
Uche Ogbuji http://uche.ogbuji.net
Weblog: http://copia.ogbuji.net
Poetry ed @TNB: http://www.thenervousbreakdown.com/author/uogbuji/
Founding Partner, Zepheira http://zepheira.com
Linked-in: http://www.linkedin.com/in/ucheogbuji
Articles: http://uche.ogbuji.net/tech/publications/
Friendfeed: http://friendfeed.com/uche
Twitter: http://twitter.com/uogbuji
http://www.google.com/profiles/uche.ogbuji