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

RE: xquery query

From: Michael Rys <mrys@microsoft.com>
Date: Fri, 31 May 2002 00:44:21 -0700
Message-ID: <5C39F806F9939046B4B1AFE652500A3A01B9B950@RED-MSG-10.redmond.corp.microsoft.com>
To: "Damien Fisher" <damien@sodatech.com>, <www-ql@w3.org>
This looks like a bug in our prototype.

 

Best regards

Michael

 

-----Original Message-----
From: Damien Fisher [mailto:damien@sodatech.com] 
Sent: Wednesday, May 29, 2002 23:37 PM
To: www-ql@w3.org
Subject: xquery query

 

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 Friday, 31 May 2002 03:45:34 GMT

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