changes in XQuery F&O 3.0 spec: fn:map, fn:map-pairs, fn:filter, fn:fold-left, and fn:fold-right
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Committed
|
High
|
Sorin Marian Nasoi |
Bug Description
From http://
"This updated Candidate Recommendation is being published to allow document reviewers and implementors to see in context all changes that have been made during the CR review period. The most important changes are to the names of the functions formerly named "fn:map" and "fn:map-pairs" (renamed "fn:for-each" and "fn:for-each-pair", respectively), and to the order of arguments for these two functions as well as fn:filter, fn:fold-left, and fn:fold-right. The motivation for the change is partly usability, and partly concern about possible conflicts with features being considered for future releases. "
Please note that these changes can be checked in FOTS snapshot after May 22nd, so please check: test/fots/
Related branches
- Sorin Marian Nasoi: Approve
- Nicolae Brinza: Approve
-
Diff: 15358 lines (+3708/-8115)21 files modifiedmodules/w3c/xpath_functions.xq (+7/-7)
src/compiler/translator/translator.cpp (+18/-18)
src/functions/func_fn_hof_functions_impl.cpp (+16/-16)
src/functions/function_consts.h (+1/-1)
src/functions/pregenerated/func_fn_hof_functions.cpp (+2/-2)
src/functions/pregenerated/func_fn_hof_functions.h (+3/-3)
src/functions/pregenerated/function_enum.h (+1/-1)
src/runtime/hof/fn_hof_functions_impl.cpp (+40/-40)
src/runtime/hof/pregenerated/fn_hof_functions.cpp (+10/-10)
src/runtime/hof/pregenerated/fn_hof_functions.h (+10/-10)
src/runtime/pregenerated/iterator_enum.h (+1/-1)
src/runtime/spec/hof/fn_hof_functions.xml (+13/-13)
src/runtime/visitors/pregenerated/planiter_visitor.h (+3/-3)
src/runtime/visitors/pregenerated/printer_visitor.cpp (+5/-5)
src/runtime/visitors/pregenerated/printer_visitor.h (+2/-2)
test/fots/CMakeLists.txt (+0/-62)
test/rbkt/ExpQueryResults/zorba/introspection/introsp-fn-7.xml.res (+1/-1)
test/rbkt/Queries/w3c_known_failures.txt (+36/-0)
test/rbkt/Queries/w3c_known_failures_XQueryX.txt (+36/-0)
test/rbkt/Queries/zorba/spec/XQuery_3.0.html (+3482/-7920)
test/rbkt/Queries/zorba/spec/xquery_spec.xqi (+21/-0)
Changed in zorba: | |
importance: | Undecided → High |
assignee: | Markos Zaharioudakis (markos-za) → Nicolae Brinza (nbrinza) |
Changed in zorba: | |
milestone: | none → 3.0 |
Changed in zorba: | |
assignee: | Nicolae Brinza (nbrinza) → Sorin Marian Nasoi (sorin.marian.nasoi) |
status: | New → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
About 65 test-cases are failing because of these updates in F&O spec and corresponding test-cases.