XQXQ's use of HOF should be updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Committed
|
Medium
|
Chris Hillery |
Bug Description
The XQDoc for xqxq:prepare-
: Note that parameters 2 and 3 should be declared as follows:
: as function($url as xs:string, $entity as xs:string) as item()
: as function($uri as xs:string, $entity as xs:string) as xs:string*
: However Zorba's implementation of higher-order functions (HOF) is not
: yet complete enough to allow for this. When Zorba's HOF implementation
: is complete this function signature will be changed.
I believe the HOF implementation is in fact complete enough for this, so we should make that change as part of Zorba 3.0.
(Note that this bug will likely be obviated by other more extensive XQXQ API changes, but I wanted to file it so we didn't forget the issue.)
Related branches
- Sorin Marian Nasoi: Approve
- Chris Hillery: Approve
-
Diff: 3009 lines (+594/-598)48 files modifiedChangeLog (+1/-0)
doc/zorba/xqdoc/images/modules.svg (+5/-5)
doc/zorba/xqdoc/images/modules_new.svg (+5/-5)
modules/CMakeLists.txt (+1/-1)
modules/zorba-query/CMakeLists.txt (+1/-1)
modules/zorba-query/zorba-query.xq (+203/-208)
modules/zorba-query/zorba-query.xq.src/zorba-query.cpp (+102/-102)
modules/zorba-query/zorba-query.xq.src/zorba-query.h (+60/-60)
test/fots_driver/cli.xq (+2/-2)
test/fots_driver/environment.xq (+24/-24)
test/fots_driver/evaluate.xq (+17/-17)
test/fots_driver/execute.xq (+16/-16)
test/fots_driver/fots-driver.xq (+14/-14)
test/rbkt/Queries/zorba/zorba-query/bind-context-item.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/bind-variable.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/delete.spec (+1/-1)
test/rbkt/Queries/zorba/zorba-query/delete.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/error-in-query.xq (+3/-3)
test/rbkt/Queries/zorba/zorba-query/evaluate-sequential.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/evaluate-sequential2.spec (+1/-1)
test/rbkt/Queries/zorba/zorba-query/evaluate-sequential2.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/evaluate-updating.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/evaluate-updating2.spec (+1/-1)
test/rbkt/Queries/zorba/zorba-query/evaluate-updating2.xq (+3/-3)
test/rbkt/Queries/zorba/zorba-query/evaluate.xq (+3/-3)
test/rbkt/Queries/zorba/zorba-query/evaluate2.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/evaluate3.spec (+1/-1)
test/rbkt/Queries/zorba/zorba-query/evaluate3.xq (+3/-3)
test/rbkt/Queries/zorba/zorba-query/external-module.xq (+3/-3)
test/rbkt/Queries/zorba/zorba-query/get-external-variables.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/is-bound-context-item.xq (+3/-3)
test/rbkt/Queries/zorba/zorba-query/is-bound-variable.xq (+7/-7)
test/rbkt/Queries/zorba/zorba-query/is-bound-variable2.spec (+1/-1)
test/rbkt/Queries/zorba/zorba-query/is-bound-variable2.xq (+3/-3)
test/rbkt/Queries/zorba/zorba-query/is-sequential.xq (+5/-5)
test/rbkt/Queries/zorba/zorba-query/is-updating.xq (+7/-7)
test/rbkt/Queries/zorba/zorba-query/multiple-queries.xq (+7/-7)
test/rbkt/Queries/zorba/zorba-query/prepare-library-module.xq (+2/-2)
test/rbkt/Queries/zorba/zorba-query/query-plan.xq (+5/-5)
test/rbkt/Queries/zorba/zorba-query/query-plan2.xq (+6/-6)
test/rbkt/Queries/zorba/zorba-query/query-plan3.xq (+7/-7)
test/rbkt/Queries/zorba/zorba-query/query-plan4.xq (+7/-7)
test/rbkt/Queries/zorba/zorba-query/uri-mapper.xq (+5/-5)
test/rbkt/Queries/zorba/zorba-query/uri-mapper2.xq (+5/-5)
test/rbkt/Queries/zorba/zorba-query/url-module-resolver.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/url-schema-resolver.xq (+4/-4)
test/rbkt/Queries/zorba/zorba-query/url-schema-resolver2.xq (+6/-6)
test/rbkt/Queries/zorba/zorba-query/url-schema-resolver3.xq (+8/-8)
Changed in zorba: | |
assignee: | nobody → Juan Zacarias (juan457) |
milestone: | none → 3.0 |
importance: | Undecided → Medium |
Changed in zorba: | |
status: | New → In Progress |
assignee: | Juan Zacarias (juan457) → Chris Hillery (ceejatec) |
Changed in zorba: | |
status: | In Progress → Fix Committed |