This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Naming conventions
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 17 Jul 2002 11:36:47 +0100
- Subject: RE: [xsl] Naming conventions
- Reply-to: xsl-list at lists dot mulberrytech dot com
(unfortunately the people designing
> XPath2 seem not to have used XPath before so XPath2 has a
> bunch of different naming conventions culled from different languages)
Actually, XPath 2 uses the same convention as XPath 1 of
hyphen-separated words, except that type names defined in XML schema are
regarded as single words and used as written in XML Schema, leading to
things like get-current-dateTime() that look crazy but actually have a
perverse logic to them.
The unfortunate thing is that XPath 1 chose hyphenated-words and XML
Schema chose camelCase. There's not much we can do about it now.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
(I still regret the passing of Algol 68 which allowed spaces in
identifiers...)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list