It can be implemented in XQuery but should be implemented in C++ for performance
reasons.
Matthias
On Sep 23, 2013, at 8:19 AM, Paul J. Lucas <email address hidden> wrote:
> Do you think this can (should?) be implemented in pure XQuery or in C++?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1058398
>
> Title:
> value-based sequence operations
>
> Status in Zorba - NoSQL Query Processor:
> Confirmed
>
> Bug description:
> Implement the following value-based sequence function in a new
> sequence module:
>
> module namespace seq = "http://www.zorba-xquery.com/modules/sequence";
>
> declare function seq:value-intersect($seq1 as xs:anyAtomicType*, $seq2 as xs:anyAtomicType*) as xs:anyAtomicType*
> external;
>
> declare function seq:value-union($seq1 as xs:anyAtomicType*, $seq2 as
> xs:anyAtomicType*) as xs:anyAtomicType* external;
>
> declare function seq:value-except($seq1 as xs:anyAtomicType*, $seq2 as
> xs:anyAtomicType*) as xs:anyAtomicType* external;
>
> - The function should use value comparison but use false instead of an error in case of a type mismatch.
> - JSONiq module
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zorba/+bug/1058398/+subscriptions
It can be implemented in XQuery but should be implemented in C++ for performance
reasons.
Matthias
On Sep 23, 2013, at 8:19 AM, Paul J. Lucas <email address hidden> wrote:
> Do you think this can (should?) be implemented in pure XQuery or in C++? /bugs.launchpad .net/bugs/ 1058398 www.zorba- xquery. com/modules/ sequence"; intersect( $seq1 as xs:anyAtomicType*, $seq2 as xs:anyAtomicType*) as xs:anyAtomicType* union($ seq1 as xs:anyAtomicType*, $seq2 as except( $seq1 as xs:anyAtomicType*, $seq2 as /bugs.launchpad .net/zorba/ +bug/1058398/ +subscriptions
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> value-based sequence operations
>
> Status in Zorba - NoSQL Query Processor:
> Confirmed
>
> Bug description:
> Implement the following value-based sequence function in a new
> sequence module:
>
> module namespace seq = "http://
>
> declare function seq:value-
> external;
>
> declare function seq:value-
> xs:anyAtomicType*) as xs:anyAtomicType* external;
>
> declare function seq:value-
> xs:anyAtomicType*) as xs:anyAtomicType* external;
>
> - The function should use value comparison but use false instead of an error in case of a type mismatch.
> - JSONiq module
>
> To manage notifications about this bug go to:
> https:/