W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2002

xquery query

From: Damien Fisher <damien@sodatech.com>
Date: Thu, 30 May 2002 16:36:59 +1000
Message-ID: <007901c207a4$674a51b0$7b444e81@maths.usyd.edu.au>
To: <www-ql@w3.org>
What should the following query evaluate to?

(<a/>)/a

From my reading of the specification, and from most implementations I have tested, this should return the empty sequence.

However, Microsoft's implementation returns <a/>.  This really doesn't seem right to me.  (Note (<a/>)/. also evalutes to <a/> on Microsoft's implementation -- this makes sense, but it doesn't make much sense in conjuction with the above result!)

Which is correct?
Received on Thursday, 30 May 2002 04:37:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:18 GMT