[xquery-talk] xquery 3.1 wishlist
dflorescu at me.com
Fri Jun 26 09:27:01 PDT 2015
You know the XPath/XSLT side of the story.
I know the OTHER side: the XML Query Language Working Group side of the story
(and the two haven’t been integrated until much later..)
For a simple path expression sequences might have come natural.
For a FULL QUERY LANGUAGE, with nested queries, sorts, groupbys etc. this wasn’t a “natural” or “simple” decision AT ALL.
We pondered over this decision for about two years …..
…. and this was BEFORE the XML Query Working Group decide to use XPath for navigation.
> On Jun 26, 2015, at 8:52 AM, David Carlisle <davidc at nag.co.uk> wrote:
> On 26/06/2015 16:33, W.S. Hager wrote:
>> Sorry, what I meant is: how did sequences come into XPath? Was it
>> borrowed from another system or did it appear first in XPath?
> It's a modification of the node set datatype introduced in xpath 1
> (which didn't have sequences) Xpath 1 didn't have a type corresponding
> to a node (or item) only node set, so treating a single item as the same
> as a set of size 1 was more or less a requirement (and a very elegant
> The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
> This e-mail has been scanned for all viruses by Microsoft Office 365.
> talk at x-query.com
More information about the talk