W3Q XQuery 3.0 Partial Support

  1. (DONE) Applied all XQuery 2ed errata.
  2. (DONE) Added group by clause to FLWOR Expressions (3.9.7 Group By Clause).
  3. (DONE) Added tumbling window and sliding window in FLWOR Expressions (3.9.4 Window Clause).
  4. (DONE) Added count clause in FLWOR Expressions (3.9.6 Count Clause).
  5. (DONE) Added allowing empty in 3.9.2 For Clause, for functionality similar to outer joins in SQL.
  6. (DONE)Added 3.14 Try/Catch Expressions for handling dynamic errors and type errors.
  7. (DONE see Zorba Specific Options and Annotations) Added literal function items (3.1.6 Literal Function Items).
  8. (DONE see Zorba Specific Options and Annotations)Added inline functions (3.1.7 Inline Functions).
  9. (DONE see Zorba Specific Options and Annotations)Added dynamic function invocation (3.2.2 Dynamic Function Invocation).
  10. (DONE see Zorba Specific Options and Annotations)Added 3.1.5.3 Function Item Coercion.
  11. (DONE)Added private functions (4.18 Function Declaration).
  12. (DONE) Added switch expressions (3.12 Switch Expression)
  13. (DONE) Added computed namespace constructors (3.8.3.7 Computed Namespace Constructors).
  14. (DONE) Added output declarations (2.2.4 Serialization).
  15. (DONE) Added annotations (4.15 Annotations).
  16. (DONE) Modified validate expressions to allow validation against a type that is explicitly specified in the query using the type keyword.
  17. (DONE) Extended variable declarations to allow default values for external variables.
  18. (DONE) Added 4.17 Context Item Declaration.
  19. (DONE) Modified 4.1 Version Declaration to add support for XQuery 3.0.
  20. (DONE) Added 4.10 Decimal-Format Declaration to allow a query to specify formats for fn:format-number(). Added corresponding properties to the static context.
  21. (DONE) Modified derives-from() in 2.5.5 SequenceType Matching to support union types.
  22. (DONE) Added support for literal URLs in names, using EQNames.
  23. (DONE) Added support for XML Schema 1.1.
  24. (DONE) Added support for union types in function arguments.
  25. (NOT DONE) Allowed serialization options to be specified as an XDM instance using output declarations. See 2.2.4 Serialization.
  26. (DONE) Added support for private variables.
  27. (DONE) Added support for casting to union types.