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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Don't Connect the Dots

[ Lists Home | Date Index | Thread Index ]
  • From: Peter Murray-Rust <peter@ursus.demon.co.uk>
  • To: XML Developers List <xml-dev@xml.org>
  • Date: Fri, 16 Jun 2000 23:27:29 +0100

At 03:40 PM 6/16/00 -0500, Bullard, Claude L (Len) wrote:
>Somewhere in my dim memory I recall an 
>argument about using periods in generic 
>identifers and why that is a bad thing 
>in XML while not forbidden.  Can someone 
>please enlighten me with an explanation or URL 
>to this notion?
>
><confused.notion></confused.notion>

It is often useful to map generic identifiers or attribute names to
variables or classnames in code. This may be done automatically by code
generators. Thus <confused> might be transformed into a class Confused. In
many languages the '.' and '-' are operators and Confused.notion would not
be allowed as a class name. I don't know if this is the original reason,
but I discovered something similar the hard way and I avoid punctuation in
names (except, or course, ':').

	P.



***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

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

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