[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

leading : on qnames

Subject: leading : on qnames
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 3 Jan 2002 17:09:45 GMT
 leading : on qnames
Mike Kay said (on xsl-list)

> The option of a leading colon on element names is there only for
> compatibility with XQuery, which does have reserved words. 

I think that the use of reserved words in a language designed to query
arbitrary XML documents is a rather strange design decision.

If Xquery decides that it wants to do that then the quoting mechanism
should be specified as part of Xquery not as part of Xpath so that it
does not affect other uses of Xpath.

The use of a : as the quote character seems particularly unfortunate
since it is already somewhat overloaded in its use in namespace prefixes
and axis specifiers, but whatever the character is, it ought to be in
the xquery specific part of the syntax.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.