XQuery 3.0 Support

TDV supports the following functionalities for XQuery 3.0

1. Function annotations %public and %private

2. Variable annotations %public and %private

3. CASE clause in a typeswitch expression to list multiple alternative types separated by "|"

4. In FLOWR expressions, the following clauses are supported.

a. COUNT

b. GROUP-BY

5. FILTER function is implemented with a function() argument

6. The XQuery 3.0 parser has been extended to support partial function application ("?" as a function argument) in dynamic function calls. Previously this feature was supported only in direct function calls to a named function.

7. The extensions for maps are available in XQuery 3.0