Thx ;-)

Robby

From: Ivan Shcheklein [mailto:[email protected]]
Sent: Monday, January 21, 2013 12:13 PM
To: Robby Pelssers
Cc: [email protected]
Subject: Re: [Sedna-discussion] unexpected behaviour with sequence operators

Hi Robby,

Finally, we've fixed this bug. Tomorrow the new build will be available. Here 
as usually:

http://modis.ispras.ru/FTPContent/sedna/development/

Ivan Shcheklein,
Sedna Team

On Mon, Aug 27, 2012 at 6:41 PM, Ivan Shcheklein 
<[email protected]<mailto:[email protected]>> wrote:
Hi Robby,

Yes, seems to be a bug. We'll take a look and try to fix asap.

Ivan Shcheklein,
Sedna Team


Hi,

I might have setup the test wrong but following xquery does return a result I 
would not expect at least.   The union seems ok to me but the intersect and 
except operators return not what I would expect.    Can someone shed some light 
on this?

http://www.w3.org/TR/xpath-functions/#union-intersection-except


Thx in advance,
Robby Pelssers


let $number1 := <number>1</number>
let $number2 := <number>2</number>
let $number3 := <number>3</number>
let $seq1 :=  ($number1, $number2)
let $seq2 := ($number2, $number3)

return
<result>
    <union>{$seq1 union $seq2}</union>
    <intersection>{$seq1 intersect $seq2}</intersection>
    <except>{$seq1 except $seq2}</except>
  </result>

<result>
  <union>
    <number>1</number>
    <number>2</number>
    <number>3</number>
  </union>
  <intersection/>
  <except>
    <number>1</number>
    <number>2</number>
  </except>
</result>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sedna-discussion mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/sedna-discussion


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to