RE: xquery query

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 UTC