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]
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>
------------------------------------------------------------------------------
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]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion