- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 14 Apr 2005 17:26:45 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1249
Summary: [XQuery] Is it too restrictive to only allow last path
step to return atomic values?
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
Under Section 3.2 Path Expressions,
There's a Note specifying that:
Since each step in a path provides context nodes for the following step, in
effect, only the last step in a path is allowed to return a sequence of atomic
values.
Is it too restrictive to only allow atomic values returned in last step?
It might be enough just require that Axis Steps preceed Filter Steps.
So that several steps of atomic value sequences can be used to create useful
value sequences.
For example, (1, 2)/(.+1, .+2)/(.*2, .*3) gives a result sequence of
(4,6,6,8,6,9,9,12).
It'll be more tedious to write that in for expressions.
Received on Thursday, 14 April 2005 17:26:47 UTC