W3C home > Mailing lists > Public > www-xml-query-comments@w3.org > April 2001

WD-query-algebra-20010215 2.13 sorting ? missing /data()

From: james anderson <james.anderson@setf.de>
Date: Sun, 29 Apr 2001 19:00:56 +0200
Message-ID: <3AEC48C8.7CA7635@setf.de>
To: www-xml-query-comments@w3.org
the example

    sort b in review0/book by b/title
              ==> book [ title  [ "Data on the Web" ], 
                         review [ "This is great!" ] ], 
                  book [ title  [ "XML Query" ], 
                         review [ "This is pretty good too!" ] ]
              :   book [ title [ String ], review [ String ] ] ] {0, *}

would appear to be missing a concluding data() operator, as in

     sort b in review0/book by b/title/data()

?
wouldn't the given example sort based on global order instead?
Received on Sunday, 29 April 2001 12:57:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 February 2007 00:13:01 GMT