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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Hyphens vs underscores in element names

[ Lists Home | Date Index | Thread Index ]
  • From: "Langer, Paul" <Paul.Langer@softwareag.com>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 27 Jan 2000 09:21:30 +0100

KenB wrote:

> [snip]
> The most compelling reason to go with undercore is the C/C++and other
> languages issue.  Its not just a matter of compilers.  There are a lot
> of new tools on the horizon that are/will be dealing with XML schemas
> and programming code. These tools will need to share symbol tables between
> the programming language and the element/attribute names.  This is a lot
easier
> if you don't have to change element tags programmatically to something
that the
> language compilers will like.
> [snip]

There is almost no benefit for these tools if the character HYPHEN-MINUS
is not used. XML allows thousands of name characters. Current C/C++
compilers
allow only a very tiny fraction of these characters.

All the best,
Paul

-------------------------------------------------------------
Paul Langer               E-mail   Paul.Langer@softwareag.com
Software AG               Tel.     +49-6151-92-1912
Uhlandstr. 12             Fax      +49-6151-92-1613
D-64297 Darmstadt

 

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/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom@ic.ac.uk the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.






 

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

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