W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2004

Re: Element names guidelines

From: W. Eliot Kimber <ekimber@innodata-isogen.com>
Date: Thu, 18 Nov 2004 09:45:14 -0600
Message-ID: <419CC38A.7090107@innodata-isogen.com>
To: xmlschema-dev@w3.org

Frans Englich wrote:

> On Thursday 18 November 2004 14:55, W. Eliot Kimber wrote:
>
>>I prefer underscore for word breaks: car_description
> 
> 
> Why underscore instead of dash(-)? I would say a dash is easier & faster to 
> type, otherwise they're pretty similar.

Because dash needs to be usable for hyphenated words used as part of tag 
names.

It's also more consistent with usage in most programming languages, 
where "-" cannot be used as a name character.

Cheers,

E.
Received on Thursday, 18 November 2004 16:51:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:23 UTC