- From: <bugzilla@wiggum.w3.org>
- Date: Sun, 15 May 2005 01:58:17 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1449 Summary: Shuld 'to' be reseved? Product: XPath / XQuery / XSLT Version: Last Call drafts Platform: All OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: XQuery AssignedTo: chamberl@almaden.ibm.com ReportedBy: henryluo@vibrasoft.net QAContact: public-qt-comments@w3.org Currently, 'to' is used in XQuery as an operator for range expression. However, 'to' is also a commonly used auxiliary word that can combine with many verbs. E.g. set ... to ..., update .... to ..., move ... to ..., send ... to ..., apply ... to .... However we might need to instroduce those statements when we introduce XML Update in next version. And there might be future prologs that need to use 'to'. If 'to' is a range operator like now, we cannot than introduce update expr to expr (: as 'to' always associates tighter as range operator :) but how to use syntax twist like update (expr) to expr (: where () is like in if () :) So I think it might be better to reserver 'to' for future use. And use other character for the range operator, e.g. '~'. Actuall, all auxialiary words like 'as', 'by', 'from' should not be used as an operator alone, which ensures maximum flexibility to introduce future syntax. I think now, only 'to' is an exception.
Received on Sunday, 15 May 2005 02:29:56 UTC