fn:available-environment-variables Implementation
Bug #930157 reported by
Juan Zacarias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Undecided
|
Juan Zacarias |
Bug Description
Implementation of XQuery 3.0 function
fn:available-
Related branches
lp:~zorba-coders/zorba/fn_envvars
- Sorin Marian Nasoi: Approve
- Matthias Brantner: Approve
-
Diff: 4026 lines (+1944/-745)58 files modifiedChangeLog (+5/-0)
NOTICE.txt (+0/-740)
include/zorba/pregenerated/diagnostic_list.h (+4/-0)
modules/w3c/pregenerated/xqt-errors.xq (+18/-0)
modules/w3c/xpath_functions.xq (+46/-1)
src/context/dynamic_context.cpp (+150/-3)
src/context/dynamic_context.h (+11/-0)
src/diagnostics/diagnostic_en.xml (+16/-0)
src/diagnostics/pregenerated/diagnostic_list.cpp (+6/-0)
src/diagnostics/pregenerated/dict_en.cpp (+2/-0)
src/functions/pregenerated/func_access.cpp (+111/-0)
src/functions/pregenerated/func_access.h (+79/-0)
src/functions/pregenerated/func_collections.cpp (+33/-0)
src/functions/pregenerated/func_collections.h (+15/-0)
src/functions/pregenerated/func_sequences.cpp (+148/-0)
src/functions/pregenerated/func_sequences.h (+75/-0)
src/functions/pregenerated/function_enum.h (+10/-0)
src/runtime/collections/collections_impl.cpp (+122/-0)
src/runtime/collections/pregenerated/collections.cpp (+24/-0)
src/runtime/collections/pregenerated/collections.h (+51/-0)
src/runtime/sequences/pregenerated/sequences.cpp (+116/-0)
src/runtime/sequences/pregenerated/sequences.h (+219/-0)
src/runtime/sequences/sequences_impl.cpp (+272/-0)
src/runtime/spec/collections/collections.xml (+33/-0)
src/runtime/spec/sequences/sequences.xml (+171/-0)
src/runtime/visitors/pregenerated/planiter_visitor.h (+30/-0)
src/runtime/visitors/pregenerated/printer_visitor.cpp (+84/-0)
src/runtime/visitors/pregenerated/printer_visitor.h (+18/-0)
test/rbkt/ExpQueryResults/zorba/collections/uri-collection_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/introspection/introsp-fn-7.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/sequences/available-environment-variables.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/sequences/environment-variable_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/sequences/environment-variable_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/sequences/unparsed-text-available.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/sequences/unparsed-text-lines_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/sequences/unparsed-text-lines_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/sequences/unparsed-text_1.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/sequences/unparsed-text_2.xml.res (+3/-0)
test/rbkt/Queries/zorba/collections/uri-collection.xml (+6/-0)
test/rbkt/Queries/zorba/collections/uri-collection_1.xq (+16/-0)
test/rbkt/Queries/zorba/collections/uri-collection_2.spec (+1/-0)
test/rbkt/Queries/zorba/collections/uri-collection_2.xq (+16/-0)
test/rbkt/Queries/zorba/sequences/available-environment-variables.xq (+3/-0)
test/rbkt/Queries/zorba/sequences/environment-variable_1.xq (+4/-0)
test/rbkt/Queries/zorba/sequences/environment-variable_2.xq (+2/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text-available.xq (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text-lines_1.xq (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text-lines_2.xq (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text-lines_3.spec (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text-lines_3.xq (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text-lines_4.spec (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text-lines_4.xq (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text_1.xq (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text_2.xq (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text_3.spec (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text_3.xq (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text_4.spec (+1/-0)
test/rbkt/Queries/zorba/sequences/unparsed-text_4.xq (+1/-0)
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
milestone: | none → 2.5 |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
ctest -R xquery_3_0 fragment# 1 unparsed- text-lines# 1 unparsed- text-lines# 2 has-children#0 nilled#0 path#0 path#1
shows that:
- the following functions are still not implemented:
filter#2 fold-left#3 fold-right#3 function-lookup#2 map#2 map-pairs#3 parse-xml-
- the following functions are in the fn namespace and according to the F&O 3.0 spec they should not be there:
parse-xml#2 partial-apply#2 partial-apply#3
So, fn:available- environment- variables appears as implemented.