Hyphens vs underscores in element names
Langer, Paul
Paul.Langer at softwareag.com
Thu Jan 27 08:21:40 GMT 2000
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 at 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 at 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 at ic.ac.uk the message
unsubscribe xml-dev (or)
unsubscribe xml-dev your-subscribed-email at your-subscribed-address
Please note: New list subscriptions now closed in preparation for transfer to OASIS.
More information about the Xml-dev
mailing list