OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Case usage in element names, attribute names & attribute values

[ Lists Home | Date Index | Thread Index ]
  • From: Rob McDougall <RMcDouga@JetForm.com>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • Date: Fri, 24 Apr 1998 18:25:06 -0400

>I've been looking through many of the established XML grammars, and am left
>with a question.  Why do all the grammars appear to be in lower-case?  Since
>xml has become case-sensitive, it would seem to me that people would adopt
>one of the popular conventions used in other case-sensitive applications like
>programming languages.  Why haven't I seen any grammars that look like this:
>
><TagName AttributeName="EnumeratedAttributeValue"/>
>
>If someone were to create a grammar that mixed upper-case and lower-case
>would they have trouble getting people to adopt it?  Is there a compelling
>reason to reject a mixed case grammar.  To my eye, mixed case is more
>attractive.  It's more like natural English.
>
>So, what are the opinions on each of:
>- tag names (lowercase, uppercase, mixed-case)
>- attribute names (lowercase, uppercase, mixed-case)
>- enumerated attribute values (lowercase, uppercase, mixed-case)
>
>And with each option, are there opinions on any punctuation? Hyphens,
>underscores, nothing?
>
>Thanks in advance,
>
>Rob
>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS