Merge lp:~zorba-coders/zorba/zorba-2.7 into lp:~zorba-coders/zorba/zorba-experimental

Proposed by Matthias Brantner
Status: Rejected
Rejected by: Chris Hillery
Proposed branch: lp:~zorba-coders/zorba/zorba-2.7
Merge into: lp:~zorba-coders/zorba/zorba-experimental
Diff against target: 691285 lines (+407351/-139129)
5184 files modified
.bzrignore (+2/-0)
AUTHORS.txt (+7/-1)
CMakeCPack.cmake (+69/-0)
CMakeCPackOptions.cmake.in (+13/-3)
CMakeCompiler.txt (+36/-5)
CMakeConfiguration.txt (+39/-23)
CMakeLists.txt (+203/-57)
CPackSourceConfig.cmake.in (+1/-1)
ChangeLog (+414/-21)
KNOWN_ISSUES.txt (+28/-17)
NOTICE.txt (+0/-145)
NOTICE.xml (+686/-0)
README.txt (+5/-5)
WIN32.cpack (+0/-2)
bin/CMakeLists.txt (+61/-22)
bin/debug_client/debug_command.cpp (+0/-99)
bin/debug_client/event_handler_init.cpp.in (+0/-41)
bin/debug_client/lock_free_queue.cpp (+0/-16)
bin/debug_client/message-handler.xq (+0/-149)
bin/debugger/command.h (+165/-211)
bin/debugger/command_arg.h (+237/-0)
bin/debugger/command_line_handler.cpp (+364/-204)
bin/debugger/command_line_handler.h (+116/-58)
bin/debugger/command_prompt.cpp (+286/-0)
bin/debugger/command_prompt.h (+72/-0)
bin/debugger/config.h.cmake (+24/-0)
bin/debugger/event_handler.cpp (+81/-76)
bin/debugger/event_handler.h (+25/-12)
bin/debugger/lock_free_queue.h (+10/-2)
bin/debugger/main.cpp (+342/-18)
bin/debugger/process_listener.cpp (+109/-0)
bin/debugger/process_listener.h (+75/-0)
bin/debugger/tuple.h (+6/-0)
bin/debugger/xqdb_client.cpp (+63/-0)
bin/debugger/xqdb_client.h (+51/-0)
bin/error_printer.cpp (+13/-4)
bin/path_util.cpp (+77/-45)
bin/path_util.h (+15/-24)
bin/test/mymod.xq (+17/-1)
bin/test/mymod2.xq (+16/-0)
bin/test/option.xq (+16/-0)
bin/test/sequential_expr_err.xq (+16/-0)
bin/zorbacmd.cpp (+533/-225)
bin/zorbacmdproperties.cpp (+22/-5)
bin/zorbacmdproperties.h (+10/-1)
bin/zorbacmdproperties.txt (+6/-1)
bin/zorbacmdproperties_base.h (+316/-162)
cmake_modules/CMakeLists.txt (+9/-5)
cmake_modules/CMakeUseDoxygen.cmake (+86/-64)
cmake_modules/CMakeUseFlex.cmake (+26/-8)
cmake_modules/FindICU.cmake (+46/-0)
cmake_modules/FindJNI.cmake (+26/-12)
cmake_modules/FindLibedit.cmake (+46/-0)
cmake_modules/FindPHP5.cmake (+13/-1)
cmake_modules/FindPythonLibs.cmake (+195/-0)
cmake_modules/GenZorbaRuntime.cmake (+1/-1)
cmake_modules/VCProject.vcproj.in (+16/-0)
cmake_modules/Windows/FindCSharp.cmake (+90/-0)
cmake_modules/Windows/FindCURL.cmake (+25/-6)
cmake_modules/Windows/FindICU.cmake (+1/-1)
cmake_modules/Windows/FindIconv.cmake (+1/-1)
cmake_modules/Windows/FindLibXml2.cmake (+3/-3)
cmake_modules/Windows/FindLibXslt.cmake (+37/-0)
cmake_modules/Windows/FindPHP5.cmake (+1/-1)
cmake_modules/Windows/FindPythonInterp.cmake (+29/-0)
cmake_modules/Windows/FindPythonLibs.cmake (+30/-0)
cmake_modules/Windows/FindSWIG.cmake (+14/-4)
cmake_modules/Windows/FindXercesC.cmake (+1/-1)
cmake_modules/Windows/ProxyFindModule.cmake (+236/-56)
cmake_modules/ZorbaGenerateExe.cmake (+38/-21)
cmake_modules/ZorbaModule.cmake (+710/-264)
cmake_modules/ZorbaRuntimeGenerator.cmake (+20/-5)
config/CMakeLists.txt (+44/-25)
config/ExternalModuleConfig.cmake.in (+26/-9)
config/ZorbaConfig.cmake.in (+31/-12)
config/ZorbaUse.cmake (+0/-4)
config/debian/ZorbaDebianDependencies.cmake.in (+15/-0)
config/thesaurus/CMakeLists.txt (+26/-0)
doc/CMakeLists.txt (+53/-22)
doc/c/doxy.config.in (+1113/-556)
doc/c/examples/CMakeLists.txt (+1/-0)
doc/c/examples/ccontext.c (+6/-5)
doc/code/CMakeLists.txt (+14/-12)
doc/code/headers_svg/generate-headers-dependencies-svg.xq (+16/-0)
doc/code/headers_svg/zorba_headers_dependencies.xqi (+25/-8)
doc/csharp/CMakeLists.txt (+35/-0)
doc/csharp/doxy.config.in (+1767/-0)
doc/csharp/manual/indexpage.dox (+15/-0)
doc/cxx/doxy.config.in (+1119/-555)
doc/cxx/examples/CMakeLists.txt (+8/-3)
doc/cxx/examples/binary.cpp (+17/-27)
doc/cxx/examples/books.xml (+39/-39)
doc/cxx/examples/context.cpp (+22/-16)
doc/cxx/examples/datamanager.cpp (+27/-8)
doc/cxx/examples/errors.cpp (+32/-3)
doc/cxx/examples/external_functions.cpp (+14/-8)
doc/cxx/examples/jsoniq.cpp (+327/-0)
doc/cxx/examples/module_import_check.cpp (+3/-3)
doc/cxx/examples/simple.cpp (+17/-10)
doc/cxx/examples/uri_resolvers.cpp (+16/-10)
doc/eval_proposal.html (+0/-281)
doc/java/doxy.config.in (+1124/-564)
doc/java/examples/CMakeLists.txt (+4/-0)
doc/java/examples/Test_Zorba.java (+4/-2)
doc/java/examples/java_test.bat.in (+18/-2)
doc/java/examples/java_test.sh.in (+15/-0)
doc/java/manual/indexpage.dox (+6/-11)
doc/php/CMakeLists.txt (+1/-1)
doc/php/doxy.config.in (+1120/-560)
doc/php/examples/CMakeLists.txt (+18/-5)
doc/php/examples/php.ini.in (+1/-0)
doc/php/examples/simple.php.in (+3/-3)
doc/php/examples/test.php.in (+120/-0)
doc/php/examples/zorba_api.php (+2/-2)
doc/php/manual/indexpage.dox (+8/-9)
doc/python/CMakeLists.txt (+18/-10)
doc/python/doxy.config.in (+1120/-560)
doc/python/examples/CMakeLists.txt (+25/-21)
doc/python/examples/python_test.py.in (+1/-1)
doc/python/examples/test0.xq (+20/-2)
doc/python/examples/test1.xq (+20/-2)
doc/python/examples/test2.xq (+16/-0)
doc/python/examples/test3.xq (+16/-0)
doc/python/examples/test4.xq (+19/-1)
doc/python/examples/test5.xq (+16/-0)
doc/python/examples/test6.xq (+19/-23)
doc/python/examples/test7.xq (+16/-0)
doc/python/examples/test8.xq (+16/-0)
doc/python/examples/test9.xq (+16/-0)
doc/python/manual/indexpage.dox (+4/-1)
doc/ruby/doxy.config.in (+1120/-560)
doc/ruby/examples/CMakeLists.txt (+7/-1)
doc/ruby/examples/ruby_test.rb.in (+1/-1)
doc/ruby/manual/indexpage.dox (+3/-1)
doc/style/footer.html (+30/-27)
doc/style/header.html (+38/-28)
doc/style/stylesheet.css (+124/-177)
doc/xqj/CMakeLists.txt (+35/-0)
doc/xqj/doxy.config.in (+1768/-0)
doc/xqj/examples/Test_Zorba.java (+317/-0)
doc/xqj/manual/indexpage.dox (+18/-0)
doc/zorba/CMakeLists.txt (+24/-7)
doc/zorba/JSONforXQuery.html (+1/-0)
doc/zorba/W3C-WD.css (+87/-0)
doc/zorba/XQueryforJSON.html (+1/-0)
doc/zorba/build.dox (+16/-322)
doc/zorba/build_and_install.dox (+59/-0)
doc/zorba/build_configure.dox (+137/-0)
doc/zorba/build_macos.dox (+33/-0)
doc/zorba/build_parameters.dox (+91/-0)
doc/zorba/build_prepare.dox (+104/-0)
doc/zorba/build_prerequisites.dox (+139/-0)
doc/zorba/build_ubuntu.dox (+112/-0)
doc/zorba/build_ubuntu.txt (+0/-66)
doc/zorba/build_windows.dox (+109/-0)
doc/zorba/commandline.dox (+51/-38)
doc/zorba/configuring.dox (+0/-141)
doc/zorba/conformance.dox (+370/-0)
doc/zorba/conformanceXQFTTS.dox (+489/-0)
doc/zorba/conformanceXQTS.dox (+3168/-0)
doc/zorba/conformanceXQUTS.dox (+334/-0)
doc/zorba/controlling_memory.dox (+5/-0)
doc/zorba/data_converters.dox (+25/-0)
doc/zorba/data_lifecycle.dox (+324/-0)
doc/zorba/debugger.dox (+0/-200)
doc/zorba/doxy.config.in (+1121/-555)
doc/zorba/errors_warnings.dox (+109/-0)
doc/zorba/eval.dox (+0/-172)
doc/zorba/extensions_update.dox (+5/-0)
doc/zorba/external_functions.dox (+170/-0)
doc/zorba/ft_intro.dox (+27/-0)
doc/zorba/ft_stemmer.dox (+201/-0)
doc/zorba/ft_thesaurus.dox (+684/-0)
doc/zorba/ft_tokenizer.dox (+331/-0)
doc/zorba/full_text.dox (+0/-431)
doc/zorba/impl_dep_features.dox (+747/-0)
doc/zorba/indexpage.dox (+0/-65)
doc/zorba/indexpage.dox.in (+63/-0)
doc/zorba/installation.dox (+0/-58)
doc/zorba/link_crawler2.dox (+238/-0)
doc/zorba/memory_leaks.dox (+141/-0)
doc/zorba/memory_management.dox (+175/-0)
doc/zorba/modules.dox (+0/-40)
doc/zorba/modules_authoring.dox (+290/-0)
doc/zorba/modules_authoring_2.dox (+357/-0)
doc/zorba/modules_building_in.dox (+43/-0)
doc/zorba/modules_top.dox (+54/-0)
doc/zorba/modules_using.dox (+179/-0)
doc/zorba/options.dox (+504/-34)
doc/zorba/overview.dox (+129/-0)
doc/zorba/partial_support.dox (+39/-0)
doc/zorba/php_ubuntu.dox (+142/-0)
doc/zorba/php_windows.dox (+133/-0)
doc/zorba/plugable_components.dox (+5/-0)
doc/zorba/python_windows.dox (+102/-0)
doc/zorba/schema_lifecycle.dox (+261/-0)
doc/zorba/scripting.dox (+363/-0)
doc/zorba/scripting_spec.html (+1838/-0)
doc/zorba/trace.dox (+0/-64)
doc/zorba/uriresolvers.dox (+633/-166)
doc/zorba/web_crawler.dox (+268/-0)
doc/zorba/xqddf.dox (+793/-788)
doc/zorba/xqdoc/CMakeLists.txt (+43/-65)
doc/zorba/xqdoc/images/modules.svg (+1364/-1011)
doc/zorba/xqdoc/lib/jquery.js (+8519/-2901)
doc/zorba/xqdoc/lib/jquery.treeview.js (+232/-232)
doc/zorba/xqdoc/src/generate-module-dependencies-svg.xq (+21/-5)
doc/zorba/xqdoc/src/xqdoc-html.xq (+38/-0)
doc/zorba/xqdoc/src/xqdoc-main-extmodules-html.xq (+0/-25)
doc/zorba/xqdoc/src/xqdoc-main-extmodules-xml.xq (+0/-7)
doc/zorba/xqdoc/src/xqdoc-main-zorbamodules-html.xq (+0/-25)
doc/zorba/xqdoc/src/xqdoc-main-zorbamodules-xml.xq (+0/-8)
doc/zorba/xqdoc/src/xqdoc-xml.xq (+26/-0)
doc/zorba/xqdoc/src/zorba_module_dependencies.xqi (+0/-414)
doc/zorba/xqdoc/src/zorba_module_dependencies.xqy (+462/-0)
doc/zorba/xqdoc/styles/jquery.treeview.css (+3/-1)
doc/zorba/xqdoc/styles/main.css (+297/-154)
doc/zorba/xqdoc/templates/main.html (+99/-65)
doc/zorba/xqdoc/templates/www.functx.com_index.html (+5052/-6209)
doc/zorba/xqdoc/templates/www.w3.org_2005_xpath-functions.html (+7154/-6046)
doc/zorba/xqdoc/templates/www.w3.org_2005_xpath-functions_math.html (+1468/-0)
include/CMakeLists.txt (+3/-2)
include/xqc.h (+9/-9)
include/zorba/api_shared_types.h (+7/-0)
include/zorba/audit.h (+13/-1)
include/zorba/audit_scoped.h (+66/-10)
include/zorba/base64.h (+7/-10)
include/zorba/base64_stream.h (+325/-0)
include/zorba/collection.h (+53/-3)
include/zorba/collection_manager.h (+28/-5)
include/zorba/config.h.cmake (+44/-13)
include/zorba/debugger_client.h (+20/-3)
include/zorba/debugger_exception.h (+1/-1)
include/zorba/diagnostic.h (+9/-1)
include/zorba/document_manager.h (+1/-1)
include/zorba/dynamic_context.h (+86/-8)
include/zorba/error.h (+7/-0)
include/zorba/external_function_parameter.h (+53/-0)
include/zorba/external_module.h (+3/-2)
include/zorba/function.h (+5/-2)
include/zorba/identtypes.h (+36/-11)
include/zorba/internal/diagnostic.h (+49/-10)
include/zorba/internal/proxy.h (+48/-0)
include/zorba/internal/qname.h (+40/-0)
include/zorba/internal/streambuf.h (+40/-0)
include/zorba/internal/type_traits.h (+98/-0)
include/zorba/internal/unique_ptr.h (+581/-0)
include/zorba/internal/ztd.h (+108/-39)
include/zorba/item.h (+138/-3)
include/zorba/item_factory.h (+193/-15)
include/zorba/item_sequence.h (+10/-3)
include/zorba/iterator.h (+2/-0)
include/zorba/locale.h (+189/-15)
include/zorba/options.h (+41/-5)
include/zorba/pregenerated/diagnostic_list.h (+890/-0)
include/zorba/pregenerated/error_list.h (+0/-728)
include/zorba/printer_diagnostic_handler.h (+2/-30)
include/zorba/properties_base.h (+37/-1)
include/zorba/query_location.h (+16/-0)
include/zorba/smart_ptr.h (+3/-3)
include/zorba/static_collection_manager.h (+86/-1)
include/zorba/static_context.h (+740/-526)
include/zorba/static_context_consts.h (+3/-17)
include/zorba/stemmer.h (+0/-67)
include/zorba/store_consts.h (+157/-29)
include/zorba/streams.h (+23/-0)
include/zorba/thesaurus.h (+139/-0)
include/zorba/tokenizer.h (+306/-0)
include/zorba/transcode_stream.h (+367/-0)
include/zorba/typeident.h (+129/-109)
include/zorba/uri_resolvers.h (+104/-85)
include/zorba/user_exception.h (+4/-1)
include/zorba/util/file.h (+2/-0)
include/zorba/util/time.h (+1/-1)
include/zorba/util/uri.h (+16/-0)
include/zorba/util/uuid.h (+258/-0)
include/zorba/warning_list.h (+0/-47)
include/zorba/xmldatamanager.h (+72/-5)
include/zorba/xquery.h (+27/-8)
include/zorba/xquery_exception.h (+30/-5)
include/zorba/xquery_functions.h (+4/-5)
include/zorba/xquery_stack_trace.h (+34/-1)
include/zorba/zorba.h (+16/-5)
include/zorba/zorba_exception.h (+10/-8)
include/zorba/zorba_string.h (+7/-7)
include/zorba/zorbac.h (+16/-16)
modules/CMakeLists.txt (+113/-55)
modules/DownloadModules.cmake (+64/-21)
modules/ExternalModules.conf (+33/-18)
modules/com/zorba-xquery/www/modules/CMakeLists.txt (+52/-6)
modules/com/zorba-xquery/www/modules/cacert.pem (+3331/-0)
modules/com/zorba-xquery/www/modules/converters/base64.xq (+27/-2)
modules/com/zorba-xquery/www/modules/converters/json-options.xsd (+60/-0)
modules/com/zorba-xquery/www/modules/converters/json.xq (+260/-0)
modules/com/zorba-xquery/www/modules/datetime.xq (+7/-5)
modules/com/zorba-xquery/www/modules/datetime.xq.src/datetime.cpp (+24/-9)
modules/com/zorba-xquery/www/modules/debugger/dbgp-message-handler.xq (+291/-0)
modules/com/zorba-xquery/www/modules/fetch.xq (+124/-25)
modules/com/zorba-xquery/www/modules/full-text.xq (+890/-0)
modules/com/zorba-xquery/www/modules/full-text.xsd (+178/-0)
modules/com/zorba-xquery/www/modules/http-client-error.xq (+10/-0)
modules/com/zorba-xquery/www/modules/http-client.xq (+419/-323)
modules/com/zorba-xquery/www/modules/http-client.xq.src/curl_overwrite.h (+16/-0)
modules/com/zorba-xquery/www/modules/http-client.xq.src/curl_redefines.h (+16/-0)
modules/com/zorba-xquery/www/modules/http-client.xq.src/curl_stream_buffer.cpp (+339/-311)
modules/com/zorba-xquery/www/modules/http-client.xq.src/curl_stream_buffer.h (+165/-152)
modules/com/zorba-xquery/www/modules/http-client.xq.src/curl_wrappers.h (+16/-0)
modules/com/zorba-xquery/www/modules/http-client.xq.src/error_thrower.h (+25/-9)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_client.cpp (+19/-6)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_request_handler.cpp (+3/-0)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_handler.cpp (+9/-31)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_handler.h (+1/-11)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_parser.cpp (+131/-32)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_parser.h (+21/-8)
modules/com/zorba-xquery/www/modules/http-client.xq.src/request_parser.cpp (+27/-1)
modules/com/zorba-xquery/www/modules/http-client.xq.src/request_parser.h (+3/-1)
modules/com/zorba-xquery/www/modules/introspection/sctx.xq (+2/-0)
modules/com/zorba-xquery/www/modules/math.xq (+240/-244)
modules/com/zorba-xquery/www/modules/node-position.xq (+524/-0)
modules/com/zorba-xquery/www/modules/node-reference.xq (+46/-9)
modules/com/zorba-xquery/www/modules/node.xq (+20/-0)
modules/com/zorba-xquery/www/modules/pregenerated/errors.xq (+916/-0)
modules/com/zorba-xquery/www/modules/pregenerated/warnings.xq (+75/-0)
modules/com/zorba-xquery/www/modules/project_xqdoc.xq (+81/-65)
modules/com/zorba-xquery/www/modules/random.xq (+180/-61)
modules/com/zorba-xquery/www/modules/reflection.xq (+178/-64)
modules/com/zorba-xquery/www/modules/schema.xq (+2/-0)
modules/com/zorba-xquery/www/modules/store/data-structures/unordered-map.xq (+106/-55)
modules/com/zorba-xquery/www/modules/store/documents/dynamic.xq (+0/-93)
modules/com/zorba-xquery/www/modules/store/dynamic/collections/ddl.xq (+45/-45)
modules/com/zorba-xquery/www/modules/store/dynamic/collections/dml.xq (+468/-114)
modules/com/zorba-xquery/www/modules/store/dynamic/collections/w3c/ddl.xq (+26/-18)
modules/com/zorba-xquery/www/modules/store/dynamic/collections/w3c/dml.xq (+38/-32)
modules/com/zorba-xquery/www/modules/store/static/collections/ddl.xq (+70/-50)
modules/com/zorba-xquery/www/modules/store/static/collections/dml.xq (+703/-205)
modules/com/zorba-xquery/www/modules/store/static/indexes/ddl.xq (+32/-18)
modules/com/zorba-xquery/www/modules/store/static/indexes/dml.xq (+344/-115)
modules/com/zorba-xquery/www/modules/store/static/integrity_constraints/ddl.xq (+31/-15)
modules/com/zorba-xquery/www/modules/store/static/integrity_constraints/dml.xq (+22/-7)
modules/com/zorba-xquery/www/modules/string.xq (+26/-3)
modules/com/zorba-xquery/www/modules/uri.xq (+108/-0)
modules/com/zorba-xquery/www/modules/xml-options.xsd (+87/-0)
modules/com/zorba-xquery/www/modules/xml.xq (+357/-32)
modules/com/zorba-xquery/www/modules/xqdoc-options.xsd (+39/-0)
modules/com/zorba-xquery/www/modules/xqdoc.xq (+132/-22)
modules/com/zorba-xquery/www/modules/xqdoc.xsd (+46/-2)
modules/com/zorba-xquery/www/modules/xqdoc2xhtml/error.xq (+2/-0)
modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq (+702/-734)
modules/com/zorba-xquery/www/modules/xslt-xquery-serialization.xsd (+0/-335)
modules/org/CMakeLists.txt (+2/-0)
modules/org/expath/ns/file.xq (+135/-123)
modules/org/expath/ns/file.xq.src/file.cpp (+164/-28)
modules/org/expath/ns/file.xq.src/file.h (+64/-0)
modules/org/expath/ns/file.xq.src/file_function.cpp (+67/-54)
modules/org/expath/ns/file.xq.src/file_function.h (+5/-9)
modules/org/expath/ns/file.xq.src/file_module.cpp (+4/-5)
modules/org/expath/ns/file.xq.src/file_module.h (+13/-6)
modules/org/jsoniq/CMakeLists.txt (+15/-0)
modules/org/jsoniq/www/CMakeLists.txt (+23/-0)
modules/org/jsoniq/www/function-library.xq (+174/-0)
modules/org/jsoniq/www/functions.xq (+302/-0)
modules/org/jsoniq/www/pregenerated/errors.xq (+154/-0)
modules/w3c/CMakeLists.txt (+8/-2)
modules/w3c/pregenerated/xqt-errors.xq (+1721/-0)
modules/w3c/xpath_functions.xq (+274/-197)
modules/w3c/xpath_functions_math.xq (+98/-0)
schemas/CMakeLists.txt (+36/-0)
schemas/XQueryX.xsd (+1962/-0)
schemas/complete-pul.xsd (+136/-0)
schemas/pul.xsd (+237/-0)
schemas/xdm.xsd (+283/-0)
schemas/xhtml/xhtml-lat1.ent (+196/-0)
schemas/xhtml/xhtml-special.ent (+80/-0)
schemas/xhtml/xhtml-symbol.ent (+237/-0)
schemas/xhtml/xhtml1-frameset.dtd (+1235/-0)
schemas/xhtml/xhtml1-strict.dtd (+978/-0)
schemas/xhtml/xhtml1-transitional.dtd (+1201/-0)
schemas/xml.xsd (+1/-1)
schemas/xslt-xquery-serialization.xsd (+3/-1)
scripts/CMakeLists.txt (+53/-0)
scripts/check_apache_license.xq (+104/-0)
scripts/check_license.sh (+0/-28)
scripts/create-doc-tar.sh.in (+14/-1)
scripts/gen_all_props (+0/-31)
scripts/gen_po_props (+0/-248)
scripts/notice-generator.xq.in (+187/-0)
scripts/osx_postflight.sh.in (+1/-0)
scripts/sanity_checks/README.txt (+37/-0)
scripts/sanity_checks/conformance_xqftts.xqi (+467/-0)
scripts/sanity_checks/conformance_xqts.xqi (+499/-0)
scripts/sanity_checks/conformance_xquts.xqi (+469/-0)
scripts/sanity_checks/generate_implementation_defined_features_dox.xq (+137/-0)
scripts/sanity_checks/run_xqftts.xq (+30/-0)
scripts/sanity_checks/run_xqts.xq (+31/-0)
scripts/sanity_checks/run_xquts.xq (+30/-0)
scripts/win_exec.bat.in (+15/-0)
scripts/zt-wn-get (+19/-4)
src/CMakeLists.txt (+9/-11)
src/annotations/annotations.cpp (+356/-211)
src/annotations/annotations.h (+102/-57)
src/api/CMakeLists.txt (+17/-6)
src/api/annotationimpl.cpp (+1/-1)
src/api/auditimpl.cpp (+49/-6)
src/api/auditimpl.h (+4/-3)
src/api/base64_streambuf.cpp (+249/-0)
src/api/base64impl.cpp (+37/-12)
src/api/collectionimpl.cpp (+151/-22)
src/api/collectionimpl.h (+69/-23)
src/api/collectionmanagerimpl.cpp (+49/-42)
src/api/collectionmanagerimpl.h (+101/-52)
src/api/documentmanagerimpl.cpp (+3/-3)
src/api/documentmanagerimpl.h (+1/-1)
src/api/dynamiccontextimpl.cpp (+259/-61)
src/api/dynamiccontextimpl.h (+48/-22)
src/api/fileimpl.cpp (+6/-17)
src/api/fileimpl.h (+3/-4)
src/api/functionimpl.cpp (+2/-1)
src/api/identtypesimpl.cpp (+61/-0)
src/api/invoke_item_sequence.cpp (+7/-2)
src/api/invoke_item_sequence.h (+6/-1)
src/api/item.cpp (+161/-1)
src/api/item_sequence_chainer.h (+17/-3)
src/api/itemfactoryimpl.cpp (+253/-31)
src/api/itemfactoryimpl.h (+66/-4)
src/api/options.cpp (+67/-20)
src/api/printer_diagnostic_handler.cpp (+4/-63)
src/api/serialization/serializer.cpp (+835/-331)
src/api/serialization/serializer.h (+177/-44)
src/api/serializerimpl.cpp (+55/-14)
src/api/smart_ptr.cpp (+35/-0)
src/api/staticcollectionmanagerimpl.cpp (+456/-101)
src/api/staticcollectionmanagerimpl.h (+201/-110)
src/api/staticcontextimpl.cpp (+467/-162)
src/api/staticcontextimpl.h (+102/-66)
src/api/stemmer.cpp (+0/-31)
src/api/stemmer_wrappers.cpp (+90/-0)
src/api/stemmer_wrappers.h (+71/-0)
src/api/streambuf.cpp (+48/-0)
src/api/thesaurus.cpp (+37/-0)
src/api/thesaurus_wrappers.cpp (+120/-0)
src/api/thesaurus_wrappers.h (+81/-0)
src/api/transcode_streambuf.cpp (+137/-0)
src/api/typeidentimpl.cpp (+218/-33)
src/api/uri_resolver.cpp (+0/-109)
src/api/uri_resolver_wrappers.cpp (+104/-25)
src/api/uri_resolver_wrappers.h (+7/-7)
src/api/uriresolverimpl.cpp (+153/-0)
src/api/uriresolverimpl.h (+61/-0)
src/api/uuid.cpp (+102/-0)
src/api/xmldatamanagerimpl.cpp (+277/-76)
src/api/xmldatamanagerimpl.h (+25/-6)
src/api/xqueryimpl.cpp (+256/-73)
src/api/xqueryimpl.h (+13/-6)
src/api/zorbaimpl.cpp (+12/-2)
src/api/zorbaimpl.h (+2/-0)
src/capi/cexpression.cpp (+1/-1)
src/capi/cexpression.h (+1/-1)
src/capi/csequence.cpp (+3/-1)
src/capi/error.cpp (+2/-2)
src/common/shared_types.h (+23/-19)
src/compiler/CMakeLists.txt (+0/-1)
src/compiler/api/compiler_api.cpp (+113/-62)
src/compiler/api/compiler_api.h (+26/-35)
src/compiler/api/compiler_api_consts.h (+37/-0)
src/compiler/api/compiler_api_impl.cpp (+1/-1)
src/compiler/api/compiler_api_impl.h (+1/-1)
src/compiler/api/compilercb.cpp (+83/-20)
src/compiler/api/compilercb.h (+95/-33)
src/compiler/codegen/plan_visitor.cpp (+651/-312)
src/compiler/codegen/plan_visitor.h (+4/-4)
src/compiler/expression/CMakeLists.txt (+6/-1)
src/compiler/expression/abstract_expr_visitor.h (+9/-2)
src/compiler/expression/expr.cpp (+418/-634)
src/compiler/expression/expr.h (+534/-519)
src/compiler/expression/expr_annotations.cpp (+0/-129)
src/compiler/expression/expr_annotations.h (+0/-54)
src/compiler/expression/expr_base.cpp (+221/-102)
src/compiler/expression/expr_base.h (+124/-56)
src/compiler/expression/expr_classes.h (+30/-23)
src/compiler/expression/expr_consts.h (+13/-15)
src/compiler/expression/expr_iter.cpp (+95/-14)
src/compiler/expression/expr_iter.h (+10/-10)
src/compiler/expression/expr_manager.cpp (+969/-0)
src/compiler/expression/expr_manager.h (+546/-0)
src/compiler/expression/expr_put.cpp (+231/-115)
src/compiler/expression/expr_type.cpp (+136/-132)
src/compiler/expression/expr_utils.cpp (+33/-0)
src/compiler/expression/expr_utils.h (+4/-7)
src/compiler/expression/expr_visitor.h (+7/-0)
src/compiler/expression/flwor_expr.cpp (+388/-346)
src/compiler/expression/flwor_expr.h (+236/-232)
src/compiler/expression/fo_expr.cpp (+71/-56)
src/compiler/expression/fo_expr.h (+46/-48)
src/compiler/expression/ft_expr.cpp (+18/-15)
src/compiler/expression/ft_expr.h (+19/-18)
src/compiler/expression/ftnode.cpp (+253/-65)
src/compiler/expression/ftnode.h (+101/-48)
src/compiler/expression/ftnode_visitor.cpp (+14/-12)
src/compiler/expression/ftnode_visitor.h (+5/-5)
src/compiler/expression/function_item_expr.cpp (+22/-43)
src/compiler/expression/function_item_expr.h (+44/-50)
src/compiler/expression/json_exprs.cpp (+207/-0)
src/compiler/expression/json_exprs.h (+157/-0)
src/compiler/expression/mem_manager.cpp (+58/-0)
src/compiler/expression/mem_manager.h (+99/-0)
src/compiler/expression/path_expr.cpp (+30/-66)
src/compiler/expression/path_expr.h (+47/-56)
src/compiler/expression/pragma.cpp (+37/-0)
src/compiler/expression/pragma.h (+44/-0)
src/compiler/expression/script_exprs.cpp (+197/-125)
src/compiler/expression/script_exprs.h (+228/-166)
src/compiler/expression/update_exprs.cpp (+111/-178)
src/compiler/expression/update_exprs.h (+120/-136)
src/compiler/expression/var_expr.cpp (+149/-50)
src/compiler/expression/var_expr.h (+144/-61)
src/compiler/indexing/index_tools.cpp (+0/-231)
src/compiler/parser/copyparser.sh.cmake (+1/-1)
src/compiler/parser/ft_types.cpp (+20/-18)
src/compiler/parser/ft_types.h (+3/-3)
src/compiler/parser/location.hh (+4/-11)
src/compiler/parser/parse_constants.h (+2/-1)
src/compiler/parser/position.hh (+11/-22)
src/compiler/parser/query_loc.cpp (+11/-27)
src/compiler/parser/query_loc.h (+13/-21)
src/compiler/parser/stack.hh (+6/-14)
src/compiler/parser/symbol_table.cpp (+3/-2)
src/compiler/parser/xquery_parser.cpp (+10095/-9108)
src/compiler/parser/xquery_parser.hpp (+331/-290)
src/compiler/parser/xquery_parser.y (+657/-487)
src/compiler/parser/xquery_scanner.cpp (+3735/-3421)
src/compiler/parser/xquery_scanner.l (+125/-83)
src/compiler/parsetree/parsenode_base.h (+1/-1)
src/compiler/parsetree/parsenode_print_dot_visitor.cpp (+24/-0)
src/compiler/parsetree/parsenode_print_dot_visitor.h (+15/-4)
src/compiler/parsetree/parsenode_print_xml_visitor.cpp (+105/-33)
src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp (+668/-163)
src/compiler/parsetree/parsenode_print_xqdoc_visitor.h (+3/-2)
src/compiler/parsetree/parsenode_print_xquery_visitor.cpp (+177/-74)
src/compiler/parsetree/parsenode_visitor.h (+19/-2)
src/compiler/parsetree/parsenodes.cpp (+537/-231)
src/compiler/parsetree/parsenodes.h (+484/-268)
src/compiler/rewriter/framework/rewriter_context.cpp (+8/-5)
src/compiler/rewriter/framework/rewriter_context.h (+74/-46)
src/compiler/rewriter/framework/rule_driver.cpp (+2/-2)
src/compiler/rewriter/framework/sequential_rewriter.cpp (+1/-1)
src/compiler/rewriter/framework/sequential_rewriter.h (+1/-1)
src/compiler/rewriter/rewriters/default_optimizer.cpp (+33/-24)
src/compiler/rewriter/rewriters/default_optimizer.h (+1/-1)
src/compiler/rewriter/rewriters/phase1_rewriter.cpp (+1/-1)
src/compiler/rewriter/rewriters/phase1_rewriter.h (+1/-1)
src/compiler/rewriter/rules/debug_rules.cpp (+3/-1)
src/compiler/rewriter/rules/expr_minimize_rules.cpp (+14/-14)
src/compiler/rewriter/rules/flwor_rules.cpp (+1420/-541)
src/compiler/rewriter/rules/fold_rules.cpp (+207/-197)
src/compiler/rewriter/rules/hoist_rules.cpp (+292/-164)
src/compiler/rewriter/rules/index_join_rule.cpp (+111/-90)
src/compiler/rewriter/rules/nodeid_rules.cpp (+958/-118)
src/compiler/rewriter/rules/path_rules.cpp (+17/-13)
src/compiler/rewriter/rules/rule_base.cpp (+12/-12)
src/compiler/rewriter/rules/rule_base.h (+13/-12)
src/compiler/rewriter/rules/ruleset.h (+76/-32)
src/compiler/rewriter/rules/type_rules.cpp (+139/-81)
src/compiler/rewriter/tools/CMakeLists.txt (+0/-2)
src/compiler/rewriter/tools/dataflow_annotations.cpp (+981/-78)
src/compiler/rewriter/tools/dataflow_annotations.h (+49/-1)
src/compiler/rewriter/tools/expr_tools.cpp (+719/-74)
src/compiler/rewriter/tools/expr_tools.h (+6/-29)
src/compiler/rewriter/tools/freevars.cpp (+0/-38)
src/compiler/rewriter/tools/udf_graph.cpp (+18/-35)
src/compiler/rewriter/tools/udf_graph.h (+32/-20)
src/compiler/rewriter/tools/var_counter.cpp (+0/-99)
src/compiler/semantic_annotations/CMakeLists.txt (+0/-15)
src/compiler/semantic_annotations/annotation_holder.cpp (+0/-57)
src/compiler/semantic_annotations/annotation_holder.h (+0/-61)
src/compiler/semantic_annotations/annotation_keys.h (+0/-45)
src/compiler/semantic_annotations/annotations.h (+0/-63)
src/compiler/translator/prolog_graph.cpp (+31/-8)
src/compiler/translator/prolog_graph.h (+5/-4)
src/compiler/translator/translator.cpp (+3465/-1979)
src/compiler/translator/translator.h (+5/-5)
src/compiler/translator/translator_test.cpp (+6/-6)
src/compiler/xqddf/collection_decl.cpp (+19/-11)
src/compiler/xqddf/collection_decl.h (+18/-7)
src/compiler/xqddf/value_ic.cpp (+7/-2)
src/compiler/xqddf/value_index.cpp (+155/-116)
src/compiler/xqddf/value_index.h (+110/-70)
src/compiler/xqueryx/xqueryx_to_xquery.cpp (+31/-16)
src/compiler/xqueryx/xqueryx_xslt.cpp (+585/-93)
src/compiler/xqueryx/xqueryx_xslt.h (+2/-1)
src/context/CMakeLists.txt (+3/-4)
src/context/decimal_format.cpp (+13/-1)
src/context/decimal_format.h (+7/-7)
src/context/default_uri_mappers.cpp (+43/-21)
src/context/default_uri_mappers.h (+14/-14)
src/context/default_url_resolvers.cpp (+45/-13)
src/context/default_url_resolvers.h (+23/-9)
src/context/dynamic_context.cpp (+463/-72)
src/context/dynamic_context.h (+85/-28)
src/context/dynamic_loader.cpp (+81/-57)
src/context/dynamic_loader.h (+15/-8)
src/context/features.cpp (+59/-0)
src/context/features.h (+43/-0)
src/context/namespace_context.cpp (+10/-5)
src/context/namespace_context.h (+5/-1)
src/context/root_static_context.cpp (+97/-48)
src/context/root_static_context.h (+5/-3)
src/context/root_static_context_init.cpp.in (+10/-3)
src/context/sctx_map_iterator.cpp (+1/-2)
src/context/sctx_map_iterator.h (+12/-8)
src/context/static_context.cpp (+1185/-595)
src/context/static_context.h (+314/-185)
src/context/static_context_consts.cpp (+1/-0)
src/context/static_context_consts.h (+4/-17)
src/context/stemmer_wrappers.cpp (+0/-71)
src/context/stemmer_wrappers.h (+0/-56)
src/context/uri_resolver.cpp (+47/-36)
src/context/uri_resolver.h (+96/-66)
src/debugger/debugger_client.cpp (+0/-2)
src/debugger/debugger_clientimpl.cpp (+549/-453)
src/debugger/debugger_clientimpl.h (+17/-10)
src/debugger/debugger_common.h (+3/-10)
src/debugger/debugger_commons.cpp (+174/-39)
src/debugger/debugger_commons.h (+16/-23)
src/debugger/debugger_communicator.cpp (+14/-11)
src/debugger/debugger_communicator.h (+4/-4)
src/debugger/debugger_protocol.cpp (+40/-16)
src/debugger/debugger_protocol.h (+3/-0)
src/debugger/debugger_runtime.cpp (+364/-132)
src/debugger/debugger_runtime.h (+37/-20)
src/debugger/debugger_server.cpp (+292/-90)
src/debugger/debugger_server.h (+24/-1)
src/debugger/socket_streambuf.cpp (+68/-55)
src/debugger/socket_streambuf.h (+20/-9)
src/diagnostics/CMakeLists.txt (+58/-7)
src/diagnostics/assert.cpp (+9/-3)
src/diagnostics/assert.h (+27/-1)
src/diagnostics/diagnostic.cpp (+12/-4)
src/diagnostics/diagnostic.h (+5/-1)
src/diagnostics/diagnostic_en.xml (+1583/-845)
src/diagnostics/diagnostic_list_cpp.xq (+75/-0)
src/diagnostics/diagnostic_list_h.xq (+134/-0)
src/diagnostics/diagnostic_list_xq.xq (+139/-0)
src/diagnostics/diagnostic_util.xq (+25/-28)
src/diagnostics/dict.cpp (+3/-0)
src/diagnostics/dict_XX_cpp.xq (+48/-22)
src/diagnostics/error_list_cpp.xq (+0/-63)
src/diagnostics/error_list_h.xq (+0/-119)
src/diagnostics/pregenerated/diagnostic_list.cpp (+1303/-0)
src/diagnostics/pregenerated/dict_en.cpp (+371/-53)
src/diagnostics/pregenerated/error_list.cpp (+0/-1056)
src/diagnostics/qname.cpp (+41/-0)
src/diagnostics/user_error.cpp (+3/-1)
src/diagnostics/user_exception.cpp (+3/-3)
src/diagnostics/util_macros.h (+21/-0)
src/diagnostics/warning_list.cpp (+0/-34)
src/diagnostics/xquery_diagnostics.h (+4/-21)
src/diagnostics/xquery_exception.cpp (+24/-9)
src/diagnostics/xquery_exception.h (+25/-4)
src/diagnostics/xquery_stack_trace.cpp (+18/-8)
src/diagnostics/xquery_stack_trace.h (+6/-4)
src/diagnostics/xquery_warning.h (+1/-1)
src/diagnostics/zorba_exception.cpp (+2/-2)
src/diagnostics/zorba_exception.h (+11/-0)
src/functions/CMakeLists.txt (+15/-0)
src/functions/external_function.cpp (+93/-12)
src/functions/external_function.h (+9/-7)
src/functions/func_accessors_impl.cpp (+82/-62)
src/functions/func_accessors_impl.h (+5/-0)
src/functions/func_apply.cpp (+2/-2)
src/functions/func_arithmetic.cpp (+24/-21)
src/functions/func_booleans_impl.cpp (+68/-48)
src/functions/func_collections_impl.cpp (+565/-294)
src/functions/func_durations_dates_times_impl.cpp (+9/-9)
src/functions/func_enclosed.cpp (+37/-20)
src/functions/func_errors_and_diagnostics_impl.cpp (+15/-13)
src/functions/func_eval.cpp (+122/-92)
src/functions/func_ft_module_impl.cpp (+166/-0)
src/functions/func_ft_module_impl.h (+112/-0)
src/functions/func_hoist.cpp (+42/-36)
src/functions/func_index_ddl.cpp (+60/-19)
src/functions/func_index_ddl.h (+78/-19)
src/functions/func_jsoniq_functions_impl.cpp (+187/-0)
src/functions/func_jsoniq_functions_impl.h (+52/-0)
src/functions/func_node_sort_distinct.cpp (+49/-14)
src/functions/func_node_sort_distinct.h (+8/-6)
src/functions/func_nodes_impl.cpp (+56/-0)
src/functions/func_numerics_impl.cpp (+157/-157)
src/functions/func_parse_fragment_impl.cpp (+62/-0)
src/functions/func_parse_fragment_impl.h (+38/-0)
src/functions/func_reflection.cpp (+124/-92)
src/functions/func_schema_impl.cpp (+36/-0)
src/functions/func_sequences_impl.cpp (+346/-194)
src/functions/func_sequences_impl.h (+97/-56)
src/functions/func_serialize_impl.cpp (+39/-0)
src/functions/func_strings_impl.cpp (+59/-2)
src/functions/func_strings_impl.h (+38/-0)
src/functions/func_var_decl.cpp (+7/-65)
src/functions/function.cpp (+156/-34)
src/functions/function.h (+50/-32)
src/functions/function_consts.h (+32/-11)
src/functions/function_impl.h (+10/-10)
src/functions/library.cpp (+36/-1)
src/functions/pregenerated/func_access.cpp (+111/-0)
src/functions/pregenerated/func_access.h (+79/-0)
src/functions/pregenerated/func_accessors.cpp (+65/-65)
src/functions/pregenerated/func_accessors.h (+94/-66)
src/functions/pregenerated/func_any_uri.cpp (+8/-8)
src/functions/pregenerated/func_any_uri.h (+5/-3)
src/functions/pregenerated/func_base64.cpp (+22/-9)
src/functions/pregenerated/func_base64.h (+9/-5)
src/functions/pregenerated/func_booleans.cpp (+13/-13)
src/functions/pregenerated/func_booleans.h (+22/-10)
src/functions/pregenerated/func_collections.cpp (+926/-448)
src/functions/pregenerated/func_collections.h (+507/-347)
src/functions/pregenerated/func_context.cpp (+33/-33)
src/functions/pregenerated/func_context.h (+33/-17)
src/functions/pregenerated/func_dctx.cpp (+0/-134)
src/functions/pregenerated/func_dctx.h (+0/-145)
src/functions/pregenerated/func_debug_iterator.cpp (+1/-1)
src/functions/pregenerated/func_debug_iterator.h (+1/-1)
src/functions/pregenerated/func_documents.cpp (+30/-30)
src/functions/pregenerated/func_documents.h (+32/-20)
src/functions/pregenerated/func_durations_dates_times.cpp (+85/-85)
src/functions/pregenerated/func_durations_dates_times.h (+85/-43)
src/functions/pregenerated/func_errors_and_diagnostics.cpp (+17/-17)
src/functions/pregenerated/func_errors_and_diagnostics.h (+29/-19)
src/functions/pregenerated/func_eval.cpp (+0/-41)
src/functions/pregenerated/func_eval.h (+0/-50)
src/functions/pregenerated/func_fetch.cpp (+39/-14)
src/functions/pregenerated/func_fetch.h (+27/-6)
src/functions/pregenerated/func_fnerror.cpp (+0/-77)
src/functions/pregenerated/func_fnerror.h (+0/-61)
src/functions/pregenerated/func_fnput.cpp (+5/-5)
src/functions/pregenerated/func_fnput.h (+10/-6)
src/functions/pregenerated/func_ft_module.cpp (+490/-0)
src/functions/pregenerated/func_ft_module.h (+225/-0)
src/functions/pregenerated/func_function_item_iter.cpp (+16/-16)
src/functions/pregenerated/func_function_item_iter.h (+13/-7)
src/functions/pregenerated/func_ic_ddl.cpp (+33/-33)
src/functions/pregenerated/func_ic_ddl.h (+25/-19)
src/functions/pregenerated/func_index_func.cpp (+63/-0)
src/functions/pregenerated/func_index_func.h (+66/-0)
src/functions/pregenerated/func_json.cpp (+87/-0)
src/functions/pregenerated/func_json.h (+79/-0)
src/functions/pregenerated/func_jsoniq_functions.cpp (+646/-0)
src/functions/pregenerated/func_jsoniq_functions.h (+453/-0)
src/functions/pregenerated/func_maps.cpp (+90/-45)
src/functions/pregenerated/func_maps.h (+94/-42)
src/functions/pregenerated/func_maths.cpp (+105/-105)
src/functions/pregenerated/func_maths.h (+105/-53)
src/functions/pregenerated/func_node_position.cpp (+584/-0)
src/functions/pregenerated/func_node_position.h (+409/-0)
src/functions/pregenerated/func_nodes.cpp (+208/-97)
src/functions/pregenerated/func_nodes.h (+209/-55)
src/functions/pregenerated/func_numerics.cpp (+42/-42)
src/functions/pregenerated/func_numerics.h (+36/-22)
src/functions/pregenerated/func_other_diagnostics.cpp (+9/-9)
src/functions/pregenerated/func_other_diagnostics.h (+9/-5)
src/functions/pregenerated/func_parse_fragment.cpp (+23/-14)
src/functions/pregenerated/func_parse_fragment.h (+28/-9)
src/functions/pregenerated/func_parsing_and_serializing.cpp (+12/-25)
src/functions/pregenerated/func_parsing_and_serializing.h (+11/-5)
src/functions/pregenerated/func_qnames.cpp (+33/-33)
src/functions/pregenerated/func_qnames.h (+42/-20)
src/functions/pregenerated/func_random.cpp (+44/-65)
src/functions/pregenerated/func_random.h (+16/-12)
src/functions/pregenerated/func_schema.cpp (+17/-17)
src/functions/pregenerated/func_schema.h (+31/-15)
src/functions/pregenerated/func_scripting.cpp (+0/-41)
src/functions/pregenerated/func_scripting.h (+0/-50)
src/functions/pregenerated/func_sctx.cpp (+101/-101)
src/functions/pregenerated/func_sctx.h (+101/-51)
src/functions/pregenerated/func_sequences.cpp (+292/-153)
src/functions/pregenerated/func_sequences.h (+335/-190)
src/functions/pregenerated/func_strings.cpp (+210/-177)
src/functions/pregenerated/func_strings.h (+155/-64)
src/functions/pregenerated/func_uris.cpp (+65/-0)
src/functions/pregenerated/func_uris.h (+64/-0)
src/functions/pregenerated/func_xqdoc.cpp (+22/-19)
src/functions/pregenerated/func_xqdoc.h (+15/-11)
src/functions/pregenerated/function_enum.h (+185/-60)
src/functions/signature.cpp (+123/-73)
src/functions/signature.h (+16/-1)
src/functions/udf.cpp (+434/-110)
src/functions/udf.h (+143/-59)
src/precompiled/stdafx.h (+69/-355)
src/runtime/CMakeLists.txt (+22/-0)
src/runtime/accessors/accessors_impl.cpp (+48/-25)
src/runtime/accessors/pregenerated/accessors.cpp (+80/-78)
src/runtime/accessors/pregenerated/accessors.h (+8/-38)
src/runtime/any_uri/pregenerated/any_uri.cpp (+12/-12)
src/runtime/any_uri/pregenerated/any_uri.h (+2/-6)
src/runtime/api/plan_iterator_wrapper.h (+1/-1)
src/runtime/api/plan_wrapper.cpp (+7/-5)
src/runtime/api/plan_wrapper.h (+3/-2)
src/runtime/base/binarybase.h (+32/-12)
src/runtime/base/narybase.h (+31/-18)
src/runtime/base/noarybase.h (+1/-3)
src/runtime/base/plan_iterator.cpp (+7/-22)
src/runtime/base/plan_iterator.h (+73/-69)
src/runtime/base/unarybase.h (+27/-14)
src/runtime/base64/base64_impl.cpp (+107/-23)
src/runtime/base64/pregenerated/base64.cpp (+23/-23)
src/runtime/base64/pregenerated/base64.h (+3/-11)
src/runtime/booleans/BooleanImpl.cpp (+342/-272)
src/runtime/booleans/BooleanImpl.h (+93/-148)
src/runtime/booleans/pregenerated/booleans.cpp (+34/-34)
src/runtime/booleans/pregenerated/booleans.h (+4/-16)
src/runtime/collections/collections_base.cpp (+15/-50)
src/runtime/collections/collections_base.h (+63/-69)
src/runtime/collections/collections_impl.cpp (+979/-664)
src/runtime/collections/collections_impl.h (+83/-0)
src/runtime/collections/pregenerated/collections.cpp (+507/-427)
src/runtime/collections/pregenerated/collections.h (+377/-420)
src/runtime/context/pregenerated/context.cpp (+56/-56)
src/runtime/context/pregenerated/context.h (+6/-26)
src/runtime/core/apply_updates.cpp (+54/-34)
src/runtime/core/arithmetic_impl.cpp (+94/-79)
src/runtime/core/arithmetic_impl.h (+18/-15)
src/runtime/core/constructors.cpp (+180/-197)
src/runtime/core/constructors.h (+32/-44)
src/runtime/core/flwor_iterator.cpp (+81/-104)
src/runtime/core/flwor_iterator.h (+5/-9)
src/runtime/core/fncall_iterator.cpp (+249/-74)
src/runtime/core/fncall_iterator.h (+86/-32)
src/runtime/core/gflwor/common.cpp (+50/-35)
src/runtime/core/gflwor/common.h (+41/-19)
src/runtime/core/gflwor/count_iterator.cpp (+5/-5)
src/runtime/core/gflwor/for_iterator.cpp (+2/-2)
src/runtime/core/gflwor/groupby_iterator.cpp (+54/-106)
src/runtime/core/gflwor/let_iterator.cpp (+0/-1)
src/runtime/core/gflwor/orderby_iterator.cpp (+11/-12)
src/runtime/core/gflwor/outerfor_iterator.cpp (+1/-1)
src/runtime/core/gflwor/tuplesource_iterator.cpp (+0/-1)
src/runtime/core/gflwor/tuplestream_iterator.cpp (+1/-1)
src/runtime/core/gflwor/where_iterator.cpp (+0/-1)
src/runtime/core/gflwor/window_iterator.cpp (+369/-312)
src/runtime/core/gflwor/window_iterator.h (+79/-74)
src/runtime/core/internal_operators.cpp (+10/-5)
src/runtime/core/internal_operators.h (+9/-5)
src/runtime/core/item_iterator.cpp (+25/-8)
src/runtime/core/item_iterator.h (+6/-22)
src/runtime/core/nodeid_iterators.cpp (+1/-2)
src/runtime/core/path_iterators.cpp (+278/-74)
src/runtime/core/path_iterators.h (+111/-184)
src/runtime/core/sequencetypes.cpp (+467/-289)
src/runtime/core/sequencetypes.h (+64/-72)
src/runtime/core/trycatch.cpp (+374/-85)
src/runtime/core/trycatch.h (+39/-18)
src/runtime/core/var_iterators.cpp (+225/-136)
src/runtime/core/var_iterators.h (+51/-34)
src/runtime/debug/pregenerated/debug_iterator.cpp (+18/-12)
src/runtime/debug/pregenerated/debug_iterator.h (+2/-12)
src/runtime/durations_dates_times/DurationsDatesTimesImpl.cpp (+0/-5)
src/runtime/durations_dates_times/pregenerated/durations_dates_times.cpp (+232/-232)
src/runtime/durations_dates_times/pregenerated/durations_dates_times.h (+22/-106)
src/runtime/errors_and_diagnostics/errors_and_diagnostics_impl.cpp (+50/-17)
src/runtime/errors_and_diagnostics/other_diagnostics_impl.cpp (+13/-7)
src/runtime/errors_and_diagnostics/pregenerated/errors_and_diagnostics.cpp (+26/-23)
src/runtime/errors_and_diagnostics/pregenerated/errors_and_diagnostics.h (+4/-11)
src/runtime/errors_and_diagnostics/pregenerated/other_diagnostics.cpp (+41/-34)
src/runtime/errors_and_diagnostics/pregenerated/other_diagnostics.h (+4/-23)
src/runtime/eval/eval.cpp (+201/-117)
src/runtime/eval/eval.h (+61/-19)
src/runtime/fetch/fetch_impl.cpp (+164/-49)
src/runtime/fetch/pregenerated/fetch.cpp (+51/-23)
src/runtime/fetch/pregenerated/fetch.h (+35/-11)
src/runtime/fnput/fnput_impl.cpp (+8/-0)
src/runtime/fnput/pregenerated/fnput.cpp (+12/-12)
src/runtime/fnput/pregenerated/fnput.h (+2/-6)
src/runtime/full_text/CMakeLists.txt (+16/-2)
src/runtime/full_text/apply.cpp (+77/-30)
src/runtime/full_text/apply.h (+4/-0)
src/runtime/full_text/default_tokenizer.cpp (+44/-0)
src/runtime/full_text/default_tokenizer.h (+33/-0)
src/runtime/full_text/ft_match.cpp (+2/-3)
src/runtime/full_text/ft_module_impl.cpp (+992/-0)
src/runtime/full_text/ft_module_impl.h (+32/-0)
src/runtime/full_text/ft_module_util.cpp (+58/-0)
src/runtime/full_text/ft_module_util.h (+80/-0)
src/runtime/full_text/ft_query_item.h (+2/-1)
src/runtime/full_text/ft_single_token_iterator.h (+0/-2)
src/runtime/full_text/ft_stop_words_set.cpp (+45/-44)
src/runtime/full_text/ft_stop_words_set.h (+29/-14)
src/runtime/full_text/ft_thesaurus.cpp (+0/-151)
src/runtime/full_text/ft_thesaurus.h (+9/-8)
src/runtime/full_text/ft_token_matcher.cpp (+22/-9)
src/runtime/full_text/ft_token_matcher.h (+5/-4)
src/runtime/full_text/ft_token_seq_iterator.cpp (+7/-3)
src/runtime/full_text/ft_token_seq_iterator.h (+3/-0)
src/runtime/full_text/ft_token_span.h (+2/-2)
src/runtime/full_text/ft_util.cpp (+69/-0)
src/runtime/full_text/ft_util.h (+28/-1)
src/runtime/full_text/ftcontains_visitor.cpp (+40/-44)
src/runtime/full_text/full_text.cpp (+3/-10)
src/runtime/full_text/full_text.h (+1/-1)
src/runtime/full_text/full_text_impl.cpp (+12/-6)
src/runtime/full_text/icu_tokenizer.cpp (+447/-0)
src/runtime/full_text/icu_tokenizer.h (+78/-0)
src/runtime/full_text/latin_tokenizer.cpp (+260/-0)
src/runtime/full_text/latin_tokenizer.h (+79/-0)
src/runtime/full_text/pregenerated/ft_module.cpp (+506/-0)
src/runtime/full_text/pregenerated/ft_module.h (+601/-0)
src/runtime/full_text/stemmer.cpp (+72/-0)
src/runtime/full_text/stemmer.h (+111/-0)
src/runtime/full_text/stemmer/CMakeLists.txt (+35/-0)
src/runtime/full_text/stemmer/LICENSE.txt (+21/-0)
src/runtime/full_text/stemmer/README (+125/-0)
src/runtime/full_text/stemmer/README-Zorba (+5/-0)
src/runtime/full_text/stemmer/include/libstemmer.h (+80/-0)
src/runtime/full_text/stemmer/libstemmer/libstemmer_utf8.c (+95/-0)
src/runtime/full_text/stemmer/libstemmer/modules_utf8.h (+119/-0)
src/runtime/full_text/stemmer/runtime/api.c (+66/-0)
src/runtime/full_text/stemmer/runtime/api.h (+34/-0)
src/runtime/full_text/stemmer/runtime/header.h (+74/-0)
src/runtime/full_text/stemmer/runtime/utilities.c (+478/-0)
src/runtime/full_text/stemmer/sb_stemmer.cpp (+98/-0)
src/runtime/full_text/stemmer/sb_stemmer.h (+64/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_danish.c (+339/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_danish.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_dutch.c (+634/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_dutch.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_english.c (+1125/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_english.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_finnish.c (+768/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_finnish.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_french.c (+1256/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_french.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_german.c (+527/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_german.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_hungarian.c (+1234/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_hungarian.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_italian.c (+1073/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_italian.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_norwegian.c (+299/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_norwegian.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_portuguese.c (+1023/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_portuguese.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_romanian.c (+1004/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_romanian.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_russian.c (+694/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_russian.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_spanish.c (+1097/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_spanish.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_swedish.c (+309/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_swedish.h (+17/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_turkish.c (+2205/-0)
src/runtime/full_text/stemmer/src_c/stem_UTF_8_turkish.h (+17/-0)
src/runtime/full_text/thesauri/iso2788.h (+2/-3)
src/runtime/full_text/thesauri/wn_synset.cpp (+4/-2)
src/runtime/full_text/thesauri/wn_thesaurus.cpp (+94/-12)
src/runtime/full_text/thesauri/wn_thesaurus.h (+35/-8)
src/runtime/full_text/thesauri/xqftts_thesaurus.cpp (+42/-5)
src/runtime/full_text/thesauri/xqftts_thesaurus.h (+34/-7)
src/runtime/full_text/thesaurus.cpp (+144/-0)
src/runtime/full_text/thesaurus.h (+129/-0)
src/runtime/full_text/tokenizer.cpp (+124/-0)
src/runtime/function_item/dynamic_fncall_iterator.cpp (+163/-54)
src/runtime/function_item/dynamic_fncall_iterator.h (+4/-3)
src/runtime/function_item/function_item.cpp (+71/-49)
src/runtime/function_item/function_item.h (+12/-7)
src/runtime/function_item/pregenerated/function_item_iter.cpp (+34/-34)
src/runtime/function_item/pregenerated/function_item_iter.h (+4/-16)
src/runtime/indexing/doc_indexer.cpp (+76/-33)
src/runtime/indexing/doc_indexer.h (+12/-4)
src/runtime/indexing/ic_ddl_impl.cpp (+2/-2)
src/runtime/indexing/index_ddl.cpp (+592/-428)
src/runtime/indexing/index_ddl.h (+80/-86)
src/runtime/indexing/index_func_impl.cpp (+103/-0)
src/runtime/indexing/index_util.h (+114/-0)
src/runtime/indexing/pregenerated/ic_ddl.cpp (+34/-34)
src/runtime/indexing/pregenerated/ic_ddl.h (+6/-18)
src/runtime/indexing/pregenerated/index_func.cpp (+81/-0)
src/runtime/indexing/pregenerated/index_func.h (+92/-0)
src/runtime/introspection/pregenerated/sctx.cpp (+276/-277)
src/runtime/introspection/pregenerated/sctx.h (+29/-128)
src/runtime/introspection/sctx_impl.cpp (+14/-7)
src/runtime/json/common.cpp (+62/-0)
src/runtime/json/common.h (+125/-0)
src/runtime/json/json_constructors.cpp (+332/-0)
src/runtime/json/json_constructors.h (+169/-0)
src/runtime/json/json_impl.cpp (+221/-0)
src/runtime/json/jsoniq_functions_impl.cpp (+1604/-0)
src/runtime/json/jsonml_array.cpp (+283/-0)
src/runtime/json/jsonml_array.h (+41/-0)
src/runtime/json/pregenerated/json.cpp (+94/-0)
src/runtime/json/pregenerated/json.h (+106/-0)
src/runtime/json/pregenerated/jsoniq_functions.cpp (+640/-0)
src/runtime/json/pregenerated/jsoniq_functions.h (+800/-0)
src/runtime/json/snelson.cpp (+502/-0)
src/runtime/json/snelson.h (+41/-0)
src/runtime/maths/maths_impl.cpp (+1/-1)
src/runtime/maths/pregenerated/maths.cpp (+287/-287)
src/runtime/maths/pregenerated/maths.h (+27/-131)
src/runtime/misc/materialize.cpp (+1/-3)
src/runtime/nodes/node_position_impl.cpp (+756/-0)
src/runtime/nodes/nodes_impl.cpp (+283/-34)
src/runtime/nodes/pregenerated/node_position.cpp (+710/-0)
src/runtime/nodes/pregenerated/node_position.h (+762/-0)
src/runtime/nodes/pregenerated/nodes.cpp (+322/-210)
src/runtime/nodes/pregenerated/nodes.h (+151/-103)
src/runtime/numerics/NumericsImpl.cpp (+207/-128)
src/runtime/numerics/NumericsImpl.h (+2/-2)
src/runtime/numerics/format_integer_impl.cpp (+15/-10)
src/runtime/numerics/numerics_impl.cpp (+60/-87)
src/runtime/numerics/pregenerated/numerics.cpp (+78/-78)
src/runtime/numerics/pregenerated/numerics.h (+8/-36)
src/runtime/parsing_and_serializing/fragment_istream.h (+144/-0)
src/runtime/parsing_and_serializing/parse_fragment_impl.cpp (+302/-156)
src/runtime/parsing_and_serializing/parsing_and_serializing_impl.cpp (+145/-148)
src/runtime/parsing_and_serializing/pregenerated/parse_fragment.cpp (+56/-12)
src/runtime/parsing_and_serializing/pregenerated/parse_fragment.h (+72/-12)
src/runtime/parsing_and_serializing/pregenerated/parsing_and_serializing.cpp (+23/-23)
src/runtime/parsing_and_serializing/pregenerated/parsing_and_serializing.h (+6/-11)
src/runtime/pregenerated/iterator_enum.h (+356/-0)
src/runtime/qnames/pregenerated/qnames.cpp (+89/-89)
src/runtime/qnames/pregenerated/qnames.h (+9/-41)
src/runtime/qnames/qnames_impl.cpp (+41/-47)
src/runtime/random/pregenerated/random.cpp (+75/-51)
src/runtime/random/pregenerated/random.h (+72/-51)
src/runtime/random/random_impl.cpp (+111/-48)
src/runtime/schema/pregenerated/schema.cpp (+39/-45)
src/runtime/schema/pregenerated/schema.h (+4/-16)
src/runtime/schema/schema_impl.cpp (+17/-14)
src/runtime/scripting/pregenerated/scripting.cpp (+0/-122)
src/runtime/scripting/pregenerated/scripting.h (+0/-145)
src/runtime/scripting/scripting.cpp (+10/-13)
src/runtime/scripting/scripting.h (+8/-0)
src/runtime/scripting/scripting_impl.cpp (+0/-42)
src/runtime/sequences/SequencesImpl.cpp (+2/-3)
src/runtime/sequences/SequencesImpl.h (+0/-7)
src/runtime/sequences/pregenerated/sequences.cpp (+485/-332)
src/runtime/sequences/pregenerated/sequences.h (+257/-187)
src/runtime/sequences/sequences_impl.cpp (+399/-139)
src/runtime/spec/accessors/accessors.xml (+51/-14)
src/runtime/spec/base64/base64.xml (+6/-1)
src/runtime/spec/booleans/booleans.xml (+28/-15)
src/runtime/spec/codegen-cpp.xq (+45/-19)
src/runtime/spec/codegen-h.xq (+76/-21)
src/runtime/spec/collections/collections.xml (+819/-514)
src/runtime/spec/errors_and_diagnostics/errors_and_diagnostics.xml (+11/-1)
src/runtime/spec/fetch/fetch.xml (+29/-2)
src/runtime/spec/fnput/fnput.xml (+2/-1)
src/runtime/spec/full_text/ft_module.xml (+261/-0)
src/runtime/spec/function-enum.xq (+16/-0)
src/runtime/spec/indexing/ic_ddl.xml (+4/-4)
src/runtime/spec/indexing/index_func.xml (+56/-0)
src/runtime/spec/introspection/sctx.xml (+8/-5)
src/runtime/spec/iterator-enum.xq (+39/-0)
src/runtime/spec/iterator_cpp.xq (+90/-13)
src/runtime/spec/iterator_h.xq (+48/-40)
src/runtime/spec/json/json.xml (+52/-0)
src/runtime/spec/json/jsoniq_functions.xml (+662/-0)
src/runtime/spec/mappings.xml (+42/-19)
src/runtime/spec/nodes/node_position.xml (+439/-0)
src/runtime/spec/nodes/nodes.xml (+460/-271)
src/runtime/spec/numerics/numerics.xml (+3/-3)
src/runtime/spec/parsing_and_serializing/parse_fragment.xml (+54/-14)
src/runtime/spec/parsing_and_serializing/parsing_and_serializing.xml (+15/-9)
src/runtime/spec/plan_iter_visitor_h.xq (+20/-6)
src/runtime/spec/printer_visitor_cpp.xq (+18/-2)
src/runtime/spec/printer_visitor_h.xq (+19/-7)
src/runtime/spec/qnames/qnames.xml (+17/-0)
src/runtime/spec/random/random.xml (+42/-36)
src/runtime/spec/runtime.xsd (+16/-1)
src/runtime/spec/schema/schema.xml (+19/-0)
src/runtime/spec/sequences/sequences.xml (+305/-117)
src/runtime/spec/store/documents.xml (+4/-3)
src/runtime/spec/store/maps.xml (+71/-11)
src/runtime/spec/strings/strings.xml (+63/-8)
src/runtime/spec/uris/uris.xml (+40/-0)
src/runtime/spec/utils.xq (+17/-1)
src/runtime/spec/xqdoc/xqdoc.xml (+12/-19)
src/runtime/store/documents_impl.cpp (+2/-2)
src/runtime/store/maps_impl.cpp (+367/-187)
src/runtime/store/pregenerated/documents.cpp (+59/-59)
src/runtime/store/pregenerated/documents.h (+17/-37)
src/runtime/store/pregenerated/maps.cpp (+147/-89)
src/runtime/store/pregenerated/maps.h (+75/-44)
src/runtime/strings/pregenerated/strings.cpp (+368/-298)
src/runtime/strings/pregenerated/strings.h (+110/-136)
src/runtime/strings/strings_impl.cpp (+522/-157)
src/runtime/update/update.cpp (+56/-46)
src/runtime/update/update.h (+13/-29)
src/runtime/uris/pregenerated/uris.cpp (+66/-0)
src/runtime/uris/pregenerated/uris.h (+76/-0)
src/runtime/uris/uris_impl.cpp (+105/-0)
src/runtime/util/handle_hashset_item_value.h (+0/-127)
src/runtime/util/timeout.cpp (+1/-1)
src/runtime/util/timeout.h (+2/-2)
src/runtime/visitors/planiter_visitor_impl_code.h (+62/-53)
src/runtime/visitors/planiter_visitor_impl_include.h (+15/-6)
src/runtime/visitors/pregenerated/planiter_visitor.h (+501/-36)
src/runtime/visitors/pregenerated/printer_visitor.cpp (+1254/-247)
src/runtime/visitors/pregenerated/printer_visitor.h (+329/-22)
src/runtime/visitors/printer_visitor_impl.cpp (+346/-206)
src/runtime/visitors/printer_visitor_impl.h (+64/-52)
src/runtime/xqdoc/pregenerated/xqdoc.cpp (+12/-40)
src/runtime/xqdoc/pregenerated/xqdoc.h (+2/-40)
src/runtime/xqdoc/xqdoc_impl.cpp (+66/-90)
src/store/api/annotation.h (+47/-0)
src/store/api/collection.h (+12/-52)
src/store/api/ft_token_iterator.h (+1/-1)
src/store/api/index.h (+115/-36)
src/store/api/item.h (+235/-71)
src/store/api/item_factory.h (+119/-159)
src/store/api/item_handle.h (+1/-0)
src/store/api/iterator.h (+6/-10)
src/store/api/iterator_factory.h (+1/-1)
src/store/api/load_properties.h (+257/-38)
src/store/api/pul.h (+79/-10)
src/store/api/shared_types.h (+9/-0)
src/store/api/store.h (+125/-65)
src/store/api/temp_seq.h (+44/-50)
src/store/api/update_consts.h (+121/-90)
src/store/api/validator.h (+1/-0)
src/store/naive/CMakeLists.txt (+12/-1)
src/store/naive/atomic_items.cpp (+1749/-386)
src/store/naive/atomic_items.h (+738/-264)
src/store/naive/collection.cpp (+113/-0)
src/store/naive/collection.h (+117/-0)
src/store/naive/collection_set.h (+63/-86)
src/store/naive/dataguide.cpp (+2/-2)
src/store/naive/dataguide.h (+1/-1)
src/store/naive/ft_token_store.h (+4/-2)
src/store/naive/inmemorystore.cpp (+4/-4)
src/store/naive/inmemorystorec.cpp (+2/-2)
src/store/naive/item.cpp (+402/-97)
src/store/naive/item_iterator.cpp (+1/-1)
src/store/naive/item_vector.cpp (+4/-2)
src/store/naive/json_items.cpp (+1240/-0)
src/store/naive/json_items.h (+532/-0)
src/store/naive/json_loader.cpp (+307/-0)
src/store/naive/json_loader.h (+80/-0)
src/store/naive/loader.h (+140/-59)
src/store/naive/loader_dtd.cpp (+583/-94)
src/store/naive/loader_fast.cpp (+132/-105)
src/store/naive/naive_ft_token_iterator.cpp (+4/-2)
src/store/naive/name_iterator.h (+66/-62)
src/store/naive/node_factory.cpp (+6/-6)
src/store/naive/node_factory.h (+11/-11)
src/store/naive/node_items.cpp (+1255/-489)
src/store/naive/node_items.h (+370/-261)
src/store/naive/node_iterators.cpp (+106/-32)
src/store/naive/node_iterators.h (+84/-20)
src/store/naive/node_updates.cpp (+196/-228)
src/store/naive/node_vector.cpp (+0/-76)
src/store/naive/node_vector.h (+0/-89)
src/store/naive/nsbindings.cpp (+4/-4)
src/store/naive/nsbindings.h (+3/-2)
src/store/naive/ordpath.cpp (+196/-24)
src/store/naive/ordpath.h (+25/-6)
src/store/naive/properties.cpp (+1/-1)
src/store/naive/properties.h (+1/-1)
src/store/naive/pul_primitive_factory.cpp (+524/-350)
src/store/naive/pul_primitive_factory.h (+151/-127)
src/store/naive/pul_primitives.cpp (+919/-226)
src/store/naive/pul_primitives.h (+464/-77)
src/store/naive/qname_pool.cpp (+195/-133)
src/store/naive/qname_pool.h (+43/-36)
src/store/naive/query_context.cpp (+2/-2)
src/store/naive/shared_types.h (+28/-7)
src/store/naive/simple_collection.cpp (+400/-273)
src/store/naive/simple_collection.h (+57/-92)
src/store/naive/simple_collection_set.cpp (+75/-53)
src/store/naive/simple_collection_set.h (+117/-0)
src/store/naive/simple_index.cpp (+378/-305)
src/store/naive/simple_index.h (+213/-199)
src/store/naive/simple_index_general.cpp (+2241/-1881)
src/store/naive/simple_index_general.h (+365/-179)
src/store/naive/simple_index_value.cpp (+361/-117)
src/store/naive/simple_index_value.h (+116/-47)
src/store/naive/simple_item_factory.cpp (+377/-35)
src/store/naive/simple_item_factory.h (+91/-4)
src/store/naive/simple_iterator_factory.cpp (+12/-8)
src/store/naive/simple_iterator_factory.h (+1/-1)
src/store/naive/simple_lazy_temp_seq.cpp (+272/-93)
src/store/naive/simple_lazy_temp_seq.h (+67/-135)
src/store/naive/simple_pul.cpp (+2500/-899)
src/store/naive/simple_pul.h (+224/-61)
src/store/naive/simple_store.cpp (+276/-1580)
src/store/naive/simple_store.h (+82/-328)
src/store/naive/simple_temp_seq.cpp (+225/-228)
src/store/naive/simple_temp_seq.h (+43/-61)
src/store/naive/store.cpp (+1364/-0)
src/store/naive/store.h (+456/-0)
src/store/naive/store_defs.h (+24/-105)
src/store/naive/store_manager_impl.h (+4/-4)
src/store/naive/store_properties.h (+36/-24)
src/store/naive/string_pool.cpp (+12/-8)
src/store/naive/text_node_content.h (+1/-1)
src/store/naive/tree_id.h (+41/-0)
src/store/naive/tree_id_generator.cpp (+58/-0)
src/store/naive/tree_id_generator.h (+90/-0)
src/store/naive/tupleimpl.cpp (+3/-3)
src/store/util/hashmap_stringbuf.h (+2/-2)
src/store/util/hashset_node_handle.h (+0/-70)
src/store/util/item_vector.h (+6/-6)
src/system/globalenv.cpp (+81/-35)
src/system/globalenv.h (+41/-22)
src/system/properties.h (+21/-0)
src/system/zorba_properties.h (+114/-33)
src/system/zorba_properties.txt (+5/-2)
src/types/casting.cpp (+852/-355)
src/types/casting.h (+39/-17)
src/types/node_test.cpp (+4/-1)
src/types/node_test.h (+1/-1)
src/types/root_typemanager.cpp (+260/-166)
src/types/root_typemanager.h (+79/-39)
src/types/schema/EventSchemaValidator.cpp (+13/-11)
src/types/schema/LoadSchemaErrorHandler.cpp (+6/-4)
src/types/schema/SchemaValidatorFilter.cpp (+12/-4)
src/types/schema/XercSchemaValidator.cpp (+2/-2)
src/types/schema/XercesParseUtils.cpp (+2/-2)
src/types/schema/revalidateUtils.cpp (+8/-7)
src/types/schema/revalidateUtils.h (+2/-2)
src/types/schema/schema.cpp (+114/-80)
src/types/schema/schema.h (+10/-8)
src/types/schema/validate.cpp (+253/-124)
src/types/schema/validate.h (+20/-0)
src/types/typeconstants.h (+1/-51)
src/types/typeimpl.cpp (+601/-105)
src/types/typeimpl.h (+278/-220)
src/types/typemanager.h (+36/-28)
src/types/typemanagerimpl.cpp (+200/-128)
src/types/typemanagerimpl.h (+33/-25)
src/types/typeops.cpp (+774/-535)
src/types/typeops.h (+24/-48)
src/unit_tests/CMakeLists.txt (+40/-6)
src/unit_tests/instantiate_string.cpp (+125/-117)
src/unit_tests/instantiate_unordered_map.cpp (+119/-0)
src/unit_tests/memory_manager.cpp (+204/-0)
src/unit_tests/test_base64.cpp (+280/-0)
src/unit_tests/test_base64_streambuf.cpp (+141/-0)
src/unit_tests/test_debugger_protocol.cpp (+0/-413)
src/unit_tests/test_fs_iterator.cpp (+54/-0)
src/unit_tests/test_icu_streambuf.cpp (+165/-0)
src/unit_tests/test_json_parser.cpp (+648/-0)
src/unit_tests/test_stemmer.cpp (+128/-0)
src/unit_tests/test_string.cpp (+36/-2)
src/unit_tests/test_thesaurus.cpp (+195/-0)
src/unit_tests/test_tokenizer.cpp (+419/-0)
src/unit_tests/test_unique_ptr.cpp (+251/-0)
src/unit_tests/test_unordered_map.cpp (+263/-0)
src/unit_tests/test_unordered_set.cpp (+248/-0)
src/unit_tests/test_uuid.cpp (+40/-0)
src/unit_tests/unit_test_list.h (+36/-15)
src/unit_tests/unit_tests.cpp (+63/-33)
src/util/CMakeLists.txt (+17/-3)
src/util/ascii_util.cpp (+34/-0)
src/util/ascii_util.h (+62/-6)
src/util/ascii_util.tcc (+154/-154)
src/util/base64_util.cpp (+360/-0)
src/util/base64_util.h (+361/-0)
src/util/cxx_util.h (+6/-1)
src/util/dir.cpp (+0/-175)
src/util/dir.h (+0/-100)
src/util/error_util.cpp (+3/-1)
src/util/error_util.h (+10/-9)
src/util/file.cpp (+14/-0)
src/util/fs_util.cpp (+151/-9)
src/util/fs_util.h (+178/-24)
src/util/hash/CMakeLists.txt (+18/-0)
src/util/hash/hash.cpp (+75/-0)
src/util/hash/hash.h (+180/-0)
src/util/hash/hashtable.h (+1067/-0)
src/util/hash/hashtable.tcc (+446/-0)
src/util/hash/rehash_policy.cpp (+146/-0)
src/util/hash/rehash_policy.h (+106/-0)
src/util/hashmap.h (+37/-141)
src/util/hashmap32.h (+0/-227)
src/util/http_util.cpp (+53/-9)
src/util/http_util.h (+2/-2)
src/util/icu_streambuf.cpp (+331/-0)
src/util/icu_streambuf.h (+145/-0)
src/util/json_parser.cpp (+698/-0)
src/util/json_parser.h (+570/-0)
src/util/json_util.cpp (+86/-0)
src/util/json_util.h (+72/-0)
src/util/mem_streambuf.cpp (+120/-0)
src/util/mem_streambuf.h (+108/-0)
src/util/mmap_file.cpp (+6/-4)
src/util/omanip.h (+205/-57)
src/util/oseparator.h (+17/-5)
src/util/passthru_streambuf.cpp (+110/-0)
src/util/passthru_streambuf.h (+102/-0)
src/util/regex.cpp (+431/-107)
src/util/regex.h (+418/-44)
src/util/regex_xquery.cpp (+2528/-0)
src/util/regex_xquery.h (+462/-0)
src/util/stl_util.h (+223/-102)
src/util/string/buf_rep.h (+4/-3)
src/util/string/buf_rep.tcc (+95/-95)
src/util/string/default_rep.tcc (+145/-145)
src/util/string/ptr_rep.h (+1/-1)
src/util/string/ptr_rep.tcc (+186/-185)
src/util/string/rep_base.h (+7/-3)
src/util/string/rep_proxy.h (+3/-1)
src/util/string/rstring.h (+32/-22)
src/util/string/rstring.tcc (+528/-528)
src/util/string_util.cpp (+16/-4)
src/util/string_util.h (+75/-61)
src/util/transcode_streambuf.h (+47/-0)
src/util/unicode_categories.cpp (+3/-3)
src/util/unicode_categories.h (+44/-37)
src/util/unicode_util.cpp (+38/-5)
src/util/unicode_util.h (+133/-24)
src/util/unordered_map.h (+159/-0)
src/util/unordered_set.h (+152/-0)
src/util/uri_util.cpp (+2/-2)
src/util/uri_util.h (+19/-16)
src/util/uri_util.tcc (+85/-85)
src/util/utf8_string.h (+1/-1)
src/util/utf8_string.tcc (+505/-505)
src/util/utf8_util.cpp (+30/-12)
src/util/utf8_util.h (+53/-40)
src/util/utf8_util.tcc (+209/-194)
src/util/utf8_util_base.h (+29/-14)
src/util/uuid/sysdep.cpp (+0/-59)
src/util/uuid/sysdep.h (+0/-57)
src/util/uuid/uuid.cpp (+0/-272)
src/util/uuid/uuid.h (+0/-41)
src/util/xml_util.h (+44/-9)
src/zorbamisc/config/stdint.h (+38/-22)
src/zorbamisc/ns_consts.h (+13/-4)
src/zorbaserialization/CMakeLists.txt (+7/-7)
src/zorbaserialization/archiver.cpp (+1132/-980)
src/zorbaserialization/archiver.h (+309/-360)
src/zorbaserialization/archiver_consts.h (+427/-0)
src/zorbaserialization/archiver_field.h (+214/-0)
src/zorbaserialization/bin_archiver.cpp (+1268/-522)
src/zorbaserialization/bin_archiver.h (+124/-61)
src/zorbaserialization/class_serializer.cpp (+53/-740)
src/zorbaserialization/class_serializer.h (+265/-390)
src/zorbaserialization/mem_archiver.cpp (+189/-36)
src/zorbaserialization/mem_archiver.h (+37/-34)
src/zorbaserialization/plan_settings.h.in (+16/-0)
src/zorbaserialization/serialization_engine.h (+0/-24)
src/zorbaserialization/serialize_basic_types.cpp (+575/-0)
src/zorbaserialization/serialize_basic_types.h (+127/-0)
src/zorbaserialization/serialize_template_types.h (+809/-0)
src/zorbaserialization/serialize_zorba_types.cpp (+1904/-0)
src/zorbaserialization/serialize_zorba_types.h (+180/-0)
src/zorbaserialization/template_serializer.h (+0/-977)
src/zorbaserialization/xml_archiver.cpp (+0/-849)
src/zorbaserialization/xml_archiver.h (+0/-79)
src/zorbaserialization/zorba_class_serializer.cpp (+0/-1380)
src/zorbaserialization/zorba_class_serializer.h (+0/-563)
src/zorbaserialization/zorba_class_versions.cpp (+5/-632)
src/zorbaserialization/zorba_classes_version.cpp (+0/-25)
src/zorbatypes/CMakeLists.txt (+0/-7)
src/zorbatypes/URI.cpp (+20/-5)
src/zorbatypes/binary.cpp (+108/-313)
src/zorbatypes/binary.h (+27/-27)
src/zorbatypes/collation_manager.cpp (+18/-18)
src/zorbatypes/collation_manager.h (+4/-4)
src/zorbatypes/datetime.h (+16/-10)
src/zorbatypes/datetime/datetimetype.cpp (+1/-20)
src/zorbatypes/datetime/duration.cpp (+37/-47)
src/zorbatypes/datetime/timezone.cpp (+3/-10)
src/zorbatypes/decimal.cpp (+91/-64)
src/zorbatypes/decimal.h (+192/-209)
src/zorbatypes/duration.h (+15/-10)
src/zorbatypes/floatimpl.cpp (+79/-29)
src/zorbatypes/floatimpl.h (+705/-513)
src/zorbatypes/ft_token.cpp (+7/-6)
src/zorbatypes/ft_token.h (+3/-3)
src/zorbatypes/integer.cpp (+292/-100)
src/zorbatypes/integer.h (+940/-323)
src/zorbatypes/libicu.h (+0/-32)
src/zorbatypes/mapm/CMakeLists.txt (+7/-3)
src/zorbatypes/numconversions.cpp (+27/-9)
src/zorbatypes/numconversions.h (+4/-0)
src/zorbatypes/rchandle.cpp (+36/-37)
src/zorbatypes/rchandle.h (+103/-70)
src/zorbatypes/regex_ascii.cpp (+0/-1036)
src/zorbatypes/regex_ascii.h (+0/-206)
src/zorbatypes/schema_types.h (+5/-1)
src/zorbatypes/timezone.h (+13/-6)
src/zorbatypes/transcoder.cpp (+0/-82)
src/zorbatypes/transcoder.h (+0/-113)
src/zorbatypes/zorbatypes_decl.h (+13/-1)
src/zorbautils/CMakeLists.txt (+2/-9)
src/zorbautils/checked_vector.h (+1/-0)
src/zorbautils/hashmap.h (+183/-200)
src/zorbautils/hashmap_cstring.h (+59/-0)
src/zorbautils/hashmap_itemh.h (+147/-0)
src/zorbautils/hashmap_itemp.h (+42/-162)
src/zorbautils/hashmap_str_obj.h (+0/-72)
src/zorbautils/hashmap_zstring.h (+8/-57)
src/zorbautils/hashset.h (+4/-4)
src/zorbautils/hashset_atomic_itemh.cpp (+65/-0)
src/zorbautils/hashset_atomic_itemh.h (+147/-0)
src/zorbautils/hashset_itemh.cpp (+0/-42)
src/zorbautils/hashset_itemh.h (+0/-95)
src/zorbautils/hashset_node_itemh.cpp (+42/-0)
src/zorbautils/hashset_node_itemh.h (+113/-0)
src/zorbautils/icu_tokenizer.cpp (+0/-394)
src/zorbautils/icu_tokenizer.h (+0/-73)
src/zorbautils/locale.cpp (+400/-18)
src/zorbautils/locale.h (+375/-271)
src/zorbautils/stemmer.cpp (+0/-69)
src/zorbautils/stemmer.h (+0/-79)
src/zorbautils/stemmer/CMakeLists.txt (+0/-35)
src/zorbautils/stemmer/LICENSE.txt (+0/-21)
src/zorbautils/stemmer/README (+0/-125)
src/zorbautils/stemmer/README-Zorba (+0/-5)
src/zorbautils/stemmer/include/libstemmer.h (+0/-80)
src/zorbautils/stemmer/libstemmer/libstemmer_utf8.c (+0/-95)
src/zorbautils/stemmer/libstemmer/modules_utf8.h (+0/-119)
src/zorbautils/stemmer/runtime/api.c (+0/-66)
src/zorbautils/stemmer/runtime/api.h (+0/-34)
src/zorbautils/stemmer/runtime/header.h (+0/-74)
src/zorbautils/stemmer/runtime/utilities.c (+0/-478)
src/zorbautils/stemmer/sb_stemmer.cpp (+0/-87)
src/zorbautils/stemmer/sb_stemmer.h (+0/-61)
src/zorbautils/stemmer/src_c/stem_UTF_8_danish.c (+0/-339)
src/zorbautils/stemmer/src_c/stem_UTF_8_danish.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_dutch.c (+0/-634)
src/zorbautils/stemmer/src_c/stem_UTF_8_dutch.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_english.c (+0/-1125)
src/zorbautils/stemmer/src_c/stem_UTF_8_english.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_finnish.c (+0/-768)
src/zorbautils/stemmer/src_c/stem_UTF_8_finnish.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_french.c (+0/-1256)
src/zorbautils/stemmer/src_c/stem_UTF_8_french.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_german.c (+0/-527)
src/zorbautils/stemmer/src_c/stem_UTF_8_german.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_hungarian.c (+0/-1234)
src/zorbautils/stemmer/src_c/stem_UTF_8_hungarian.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_italian.c (+0/-1073)
src/zorbautils/stemmer/src_c/stem_UTF_8_italian.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_norwegian.c (+0/-299)
src/zorbautils/stemmer/src_c/stem_UTF_8_norwegian.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_portuguese.c (+0/-1023)
src/zorbautils/stemmer/src_c/stem_UTF_8_portuguese.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_romanian.c (+0/-1004)
src/zorbautils/stemmer/src_c/stem_UTF_8_romanian.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_russian.c (+0/-694)
src/zorbautils/stemmer/src_c/stem_UTF_8_russian.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_spanish.c (+0/-1097)
src/zorbautils/stemmer/src_c/stem_UTF_8_spanish.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_swedish.c (+0/-309)
src/zorbautils/stemmer/src_c/stem_UTF_8_swedish.h (+0/-17)
src/zorbautils/stemmer/src_c/stem_UTF_8_turkish.c (+0/-2205)
src/zorbautils/stemmer/src_c/stem_UTF_8_turkish.h (+0/-17)
src/zorbautils/string_util.cpp (+19/-18)
src/zorbautils/string_util.h (+15/-1)
src/zorbautils/tokenizer.cpp (+0/-40)
src/zorbautils/tokenizer.h (+0/-153)
swig/CMakeLists.txt (+28/-25)
swig/Collection.h (+180/-0)
swig/Collection.i (+91/-0)
swig/CollectionManager.h (+115/-0)
swig/CollectionManager.i (+57/-0)
swig/Config.h (+22/-0)
swig/DiagnosticHandler.h (+42/-0)
swig/DiagnosticHandler.i (+9/-23)
swig/DocumentManager.h (+35/-0)
swig/DocumentManager.i (+46/-0)
swig/DynamicContext.h (+180/-0)
swig/DynamicContext.i (+59/-0)
swig/Item.h (+323/-0)
swig/Item.i (+153/-0)
swig/ItemFactory.h (+604/-0)
swig/ItemFactory.i (+226/-0)
swig/ItemSequence.h (+53/-0)
swig/ItemSequence.i (+31/-0)
swig/Iterator.h (+105/-0)
swig/Iterator.i (+70/-0)
swig/SerializationOptions.h (+148/-0)
swig/SerializationOptions.i (+125/-0)
swig/StaticCollectionManager.h (+196/-0)
swig/StaticCollectionManager.i (+96/-0)
swig/StaticContext.h (+440/-0)
swig/StaticContext.i (+259/-164)
swig/Store.h (+58/-0)
swig/Store.i (+7/-48)
swig/TypeIdentifier.h (+102/-0)
swig/TypeIdentifier.i (+197/-0)
swig/XQuery.h (+187/-0)
swig/XQuery.i (+81/-286)
swig/XmlDataManager.h (+93/-0)
swig/XmlDataManager.i (+27/-60)
swig/Zorba.h (+229/-0)
swig/Zorba.i (+84/-38)
swig/ZorbaIOStream.h (+54/-0)
swig/ZorbaIOStream.i (+74/-0)
swig/ZorbaStreamBuffer.h (+75/-0)
swig/ZorbaStreamBuffer.i (+98/-0)
swig/csharp/CMakeLists.txt (+56/-0)
swig/csharp/tests/CMakeLists.txt (+36/-0)
swig/csharp/tests/books.xml.in (+11/-0)
swig/csharp/tests/compilerHints.xq.in (+4/-0)
swig/csharp/tests/csharp_test.bat.in (+29/-0)
swig/csharp/tests/test01.cs (+37/-0)
swig/csharp/tests/test02.cs (+73/-0)
swig/csharp/tests/test03.cs (+85/-0)
swig/csharp/tests/test04.cs (+86/-0)
swig/csharp/tests/test04.xq.in (+4/-0)
swig/csharp/tests/test05.cs (+73/-0)
swig/csharp/tests/test05.xq.in (+7/-0)
swig/csharp/tests/test06.cs (+73/-0)
swig/csharp/tests/test06.xq.in (+7/-0)
swig/csharp/tests/test07.cs (+109/-0)
swig/csharp/tests/test07.result.in (+11/-0)
swig/csharp/tests/test08.cs (+136/-0)
swig/csharp/zorba_api.i (+18/-0)
swig/java/CMakeLists.txt (+52/-24)
swig/java/ZorbaInputWrapper.java (+43/-0)
swig/java/ZorbaOutputWrapper.java (+72/-0)
swig/java/ZorbaReaderWrapper.java (+64/-0)
swig/java/ZorbaWriterWrapper.java (+65/-0)
swig/java/zorba_api.i (+31/-1)
swig/php/CMakeLists.txt (+75/-63)
swig/php/XQueryProcessor.php (+397/-0)
swig/php/generate_proxy.php.in (+0/-209)
swig/php/test.xq (+1/-0)
swig/php/tests/CMakeLists.txt (+86/-0)
swig/php/tests/books.xml (+11/-0)
swig/php/tests/compilerHints.xq (+4/-0)
swig/php/tests/php.ini.in (+3/-0)
swig/php/tests/test01.php (+29/-0)
swig/php/tests/test02.php (+44/-0)
swig/php/tests/test03.php (+48/-0)
swig/php/tests/test04.php (+43/-0)
swig/php/tests/test04.xq (+4/-0)
swig/php/tests/test05.php (+43/-0)
swig/php/tests/test05.xq (+7/-0)
swig/php/tests/test06.php (+43/-0)
swig/php/tests/test06.xq (+7/-0)
swig/php/tests/test07.php (+56/-0)
swig/php/tests/test08.php (+120/-0)
swig/php/tests/test09.php (+92/-0)
swig/php/tests/test10.php (+55/-0)
swig/php/tests/test11.php (+48/-0)
swig/php/tests/test12.php (+52/-0)
swig/php/tests/test13.php (+53/-0)
swig/php/tests/test14.php (+53/-0)
swig/php/tests/zorba_api.php (+178/-0)
swig/php/zorba_api.i (+18/-3)
swig/php/zorba_api_wrapper.php (+1215/-0)
swig/python/CMakeLists.txt (+39/-26)
swig/python/tests/CMakeLists.txt (+78/-0)
swig/python/tests/books.xml.in (+11/-0)
swig/python/tests/compilerHints.xq.in (+4/-0)
swig/python/tests/test01.py.in (+26/-0)
swig/python/tests/test02.py.in (+41/-0)
swig/python/tests/test03.py.in (+43/-0)
swig/python/tests/test04.py.in (+42/-0)
swig/python/tests/test04.xq.in (+4/-0)
swig/python/tests/test05.py.in (+42/-0)
swig/python/tests/test05.xq.in (+7/-0)
swig/python/tests/test06.py.in (+42/-0)
swig/python/tests/test06.xq.in (+7/-0)
swig/python/tests/test07.1.py.in (+54/-0)
swig/python/tests/test07.2.py.in (+81/-0)
swig/python/tests/test08.py.in (+112/-0)
swig/python/tests/test10.py.in (+51/-0)
swig/python/tests/test11.py.in (+42/-0)
swig/python/tests/test12.py.in (+49/-0)
swig/python/tests/test13.py.in (+50/-0)
swig/python/tests/test14.py.in (+50/-0)
swig/python/zorba_api.i (+1/-0)
swig/ruby/CMakeLists.txt (+52/-12)
swig/ruby/tests/CMakeLists.txt (+82/-0)
swig/ruby/tests/books.xml (+11/-0)
swig/ruby/tests/compilerHints.xq (+4/-0)
swig/ruby/tests/test01.rb (+24/-0)
swig/ruby/tests/test02.rb (+39/-0)
swig/ruby/tests/test03.rb (+43/-0)
swig/ruby/tests/test04.rb (+35/-0)
swig/ruby/tests/test04.xq (+4/-0)
swig/ruby/tests/test05.rb (+35/-0)
swig/ruby/tests/test05.xq (+7/-0)
swig/ruby/tests/test06.rb (+35/-0)
swig/ruby/tests/test06.xq (+7/-0)
swig/ruby/tests/test07.rb (+48/-0)
swig/ruby/tests/test08.rb (+108/-0)
swig/ruby/tests/test09.rb (+81/-0)
swig/ruby/tests/test10.rb (+46/-0)
swig/ruby/tests/test11.rb (+39/-0)
swig/ruby/tests/test12.rb (+49/-0)
swig/ruby/tests/test13.rb (+50/-0)
swig/ruby/tests/test14.rb (+50/-0)
swig/ruby/zorba_api.i (+9/-0)
swig/various.i (+184/-0)
swig/xqj/CMakeLists.txt (+131/-0)
swig/xqj/ZorbaXQCollection.java (+280/-0)
swig/xqj/ZorbaXQCollectionManager.java (+150/-0)
swig/xqj/ZorbaXQConnection.java (+2045/-0)
swig/xqj/ZorbaXQDataSource.java (+258/-0)
swig/xqj/ZorbaXQDocumentManager.java (+73/-0)
swig/xqj/ZorbaXQExpression.java (+737/-0)
swig/xqj/ZorbaXQItem.java (+849/-0)
swig/xqj/ZorbaXQItemType.java (+854/-0)
swig/xqj/ZorbaXQMetaData.java (+346/-0)
swig/xqj/ZorbaXQPreparedExpression.java (+1026/-0)
swig/xqj/ZorbaXQResultItem.java (+78/-0)
swig/xqj/ZorbaXQResultSequence.java (+876/-0)
swig/xqj/ZorbaXQResultSequenceScrollable.java (+874/-0)
swig/xqj/ZorbaXQSequence.java (+902/-0)
swig/xqj/ZorbaXQSequenceType.java (+137/-0)
swig/xqj/ZorbaXQStaticCollectionManager.java (+121/-0)
swig/xqj/ZorbaXQStaticContext.java (+655/-0)
swig/xqj/ZorbaXQXmlDataManager.java (+134/-0)
swig/xqj/dummy.c (+1/-0)
swig/xqj/managers/Api_test.java (+78/-0)
swig/xqj/managers/Tests.java (+383/-0)
swig/xqj/managers/module1.xq (+21/-0)
swig/xqj/managers/module2.xq (+40/-0)
swig/xqj/managers/module3.xq (+22/-0)
swig/xqj/managers/utf.txt (+1/-0)
swig/xqj/tck/xqj_test.bat.in (+52/-0)
swig/xqj/tck/xqj_test.sh.in (+65/-0)
swig/xqj/tck/zorba.properties (+2/-0)
swig/zorba_api.i (+76/-27)
test/CMakeLists.txt (+2/-0)
test/api/CMakeLists.txt (+7/-1)
test/api/external_function_errors.cpp (+7/-5)
test/api/import-hello.xsd (+7/-0)
test/api/itemfactory.cpp (+8/-1)
test/api/test_dynamic_context.cpp (+186/-0)
test/api/test_static_context.cpp (+1/-1)
test/api/userdefined_uri_resolution.cpp (+137/-27)
test/api/validate.cpp (+3/-3)
test/apitest.cpp (+21/-6)
test/commons/testdriver_comparator.cpp (+2/-2)
test/commons/testuriresolver.cpp (+21/-8)
test/commons/testuriresolver.h (+5/-6)
test/extern/extern-func-1.xq (+17/-1)
test/extern/extern-func-2.xq (+17/-1)
test/extern/extern-func-module-2.xq (+16/-0)
test/extern/extern-func-module-3.xq (+17/-1)
test/extern/extern-func-module-4.xq (+17/-1)
test/extern/nondeterm-1.xq (+16/-0)
test/extern/nondeterm-2.xq (+16/-0)
test/extern/nondeterm-3.xq (+16/-0)
test/extern/nondeterm-4.xq (+16/-0)
test/extern/nondeterm-5.xq (+16/-0)
test/extern/nondeterm-6.xq (+16/-0)
test/extern/nondeterm-7.xq (+16/-0)
test/extern/nondeterm-8.xq (+16/-0)
test/extern/nondeterm-9.xq (+16/-0)
test/extern/test_extern_func.cpp (+15/-0)
test/extern/test_extern_func_module.xq (+16/-0)
test/http-test-data/README.txt (+30/-0)
test/http-test-data/cgi-bin/test-binary (+6/-0)
test/http-test-data/cgi-bin/test-text (+8/-0)
test/http-test-data/cgi-bin/test-xml (+10/-0)
test/http-test-data/docroot/http-test-data/basic-auth/doc.html (+36/-0)
test/http-test-data/docroot/http-test-data/basic-auth/example.svg (+16/-0)
test/http-test-data/docroot/http-test-data/basic-auth/example_com.html (+15/-0)
test/http-test-data/docroot/http-test-data/basic-auth/no-type.bin (+30/-0)
test/http-test-data/docroot/http-test-data/basic-auth/to-tidy.html (+1116/-0)
test/http-test-data/docroot/http-test-data/basic-auth/utf8.html (+83/-0)
test/http-test-data/docroot/http-test-data/eqs7day-M1.txt (+784/-0)
test/http-test-data/docroot/http-test-data/http1.xml (+2/-0)
test/http-test-data/docroot/http-test-data/http2.xml (+4/-0)
test/http-test-data/docroot/http-test-data/request.php (+167/-0)
test/http-test-data/docroot/http-test-data/wildlife-national-parks-india.kml (+1966/-0)
test/parser/Queries/index.xq (+32/-31)
test/parser/Queries/scripting1.xq (+1/-1)
test/parser/Queries/syntax_errors/fail_try_catch.xq (+3/-0)
test/parser/Queries/try_catch1.xq (+2/-2)
test/parser/Queries/try_catch_fail1.xq (+0/-3)
test/parser/parsertestdriver.cpp (+2/-0)
test/parser/parsertestdriverconfig.h.in (+16/-0)
test/rbkt/CMakeLists.txt (+1/-1)
test/rbkt/ExpCompilerResults/IterPlan/CMakeLists.txt (+25/-33)
test/rbkt/ExpCompilerResults/IterPlan/extras/functx/is-a-number/functx_is-a-number2.iter (+0/-26)
test/rbkt/ExpCompilerResults/IterPlan/extras/wikibooks/wikibooks_counting_keywords.iter (+0/-165)
test/rbkt/ExpCompilerResults/IterPlan/extras/wikibooks/wikibooks_net_working_days.iter (+0/-441)
test/rbkt/ExpCompilerResults/IterPlan/iterscript.cmake (+15/-11)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Catalog/Catalog001.iter (+0/-68)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/Construct/ComputeCon/ComputeConComment/Constr-compcomment-dash-4.iter (+0/-45)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/Construct/ComputeCon/ComputeConComment/Constr-compcomment-doubledash-4.iter (+0/-45)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/FLWORExpr/ForExpr/ForExpr010.iter (+0/-57)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/FLWORExpr/ForExpr/ForExpr011.iter (+0/-57)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/FLWORExpr/ForExpr/ForExpr013.iter (+0/-47)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/FLWORExpr/ForExpr/ForExpr025.iter (+0/-58)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/FLWORExpr/ReturnExpr/ReturnExpr009.iter (+0/-49)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/FLWORExpr/WhereExpr/WhereExpr001.iter (+0/-71)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/Operators/CompExpr/ValComp/BinaryOp/HexBinaryEQ/op-hexBinary-equal2args-2.iter (+0/-3)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/Operators/NodeOp/NodeAfter/nodeexpression47.iter (+0/-672)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Expressions/Operators/NodeOp/NodeBefore/nodeexpression31.iter (+0/-672)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/Functions/NodeFunc/NodeNamespaceURIFunc/fn-namespace-uri-17.iter (+0/-10)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/IRIToURIfunc/K-IRIToURIfunc-4.iter (+0/-19)
test/rbkt/ExpCompilerResults/IterPlan/w3c_testsuite/UseCase/UseCaseR/rdb-queries-results-q5.iter (+0/-310)
test/rbkt/ExpCompilerResults/IterPlan/zorba/collections/count_dynamic_zorba_collection.iter (+25/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/collections/count_static_zorba_collection.iter (+43/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/collections/count_w3c_collection.iter (+35/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/collections/no_copy_01.iter (+61/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/dblp/q0.iter (+11/-11)
test/rbkt/ExpCompilerResults/IterPlan/zorba/error/trace1.iter (+8/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/flwor/flwor_op00.iter (+27/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/flwor/flwor_op01.iter (+33/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/flwor/flwor_op02.iter (+40/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9197.iter (+34/-34)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9198.iter (+34/-34)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9199.iter (+34/-34)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9206.iter (+38/-38)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9207.iter (+34/-34)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9210.iter (+38/-38)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9211.iter (+38/-38)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9212.iter (+38/-38)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9389.iter (+38/-38)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9391.iter (+38/-38)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9392.iter (+52/-52)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9399.iter (+38/-38)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9400.iter (+38/-38)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/gary1.iter (+10/-10)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/idx4.iter (+74/-85)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/idx5.iter (+81/-85)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/no_idx1.iter (+9/-6)
test/rbkt/ExpCompilerResults/IterPlan/zorba/misc/hoist4.iter (+25/-29)
test/rbkt/ExpCompilerResults/IterPlan/zorba/misc/inline_var1.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide-c.iter (+359/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide-nc.iter (+359/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide2-c.iter (+126/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide2-nc.iter (+126/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dblp-q0.iter (+182/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-9065.iter (+62/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-9198.iter (+75/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-9199.iter (+75/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-9212.iter (+83/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-9389.iter (+70/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-9390.iter (+70/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-9392.iter (+71/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-gary1.iter (+227/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-idx1.iter (+105/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-idx4.iter (+157/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/hashjoin-q8.iter (+102/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/path17.iter (+70/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q1.iter (+49/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q10.iter (+246/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q11.iter (+103/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q12.iter (+115/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q13.iter (+45/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q14.iter (+39/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q15.iter (+50/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q16.iter (+65/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q17.iter (+47/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q18.iter (+38/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q19.iter (+56/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q2.iter (+36/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q20.iter (+192/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q3.iter (+111/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q4.iter (+126/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q5.iter (+41/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q6.iter (+29/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q7.iter (+39/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q8.iter (+107/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q9.iter (+169/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/ser_03.iter (+34/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/udfs1.iter (+71/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/hoist01.iter (+88/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred10.iter (+18/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred11.iter (+53/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred11.xq (+5/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred12.iter (+210/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred13.iter (+84/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred2.iter (+68/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred3.iter (+78/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred4.iter (+75/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred5.iter (+30/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred6.iter (+20/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred7.iter (+22/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred8.iter (+27/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/pos_pred9.iter (+37/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/positioned-access.iter (+55/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/var_inline_01.iter (+67/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/var_inline_02.iter (+22/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/var_inline_03.iter (+36/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/var_inline_04.iter (+52/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/var_inline_05.iter (+64/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/paths/path13.iter (+3/-3)
test/rbkt/ExpCompilerResults/IterPlan/zorba/paths/path17.iter (+8/-8)
test/rbkt/ExpCompilerResults/IterPlan/zorba/paths/path_pred4.iter (+2/-9)
test/rbkt/ExpCompilerResults/IterPlan/zorba/paths/path_pred5.iter (+0/-7)
test/rbkt/ExpCompilerResults/IterPlan/zorba/paths/pred_order.iter (+2/-30)
test/rbkt/ExpCompilerResults/IterPlan/zorba/string/SubstringFunc/SubstringFunc2.iter (+10/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/string/SubstringFunc/SubstringFunc3.iter (+14/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/udf/udf-fib-rec.iter (+42/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/udf/udf1.iter (+7/-7)
test/rbkt/ExpCompilerResults/IterPlan/zorba/w3c/ForExpr010.iter (+49/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/w3c/ForExpr025.iter (+47/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/w3c/WhereExpr001.iter (+60/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/w3c/fn-namespace-uri-17.iter (+13/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/w3c/nodeexpression47.iter (+504/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/w3c/rdb-queries-results-q5.iter (+301/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/windowing/q10.iter (+144/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/windowing/q4.iter (+82/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/windowing/q9.iter (+129/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/windowing/tumpling40.iter (+397/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/windowing/windowing12.iter (+34/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q1.iter (+7/-7)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q10.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q11.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q12.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q13.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q14.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q15.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q16.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q17.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q18.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q19.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q2.iter (+2/-9)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q20.iter (+15/-15)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q3.iter (+8/-36)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q4.iter (+12/-12)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q5.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q6.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q7.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q8.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xmark/q9.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xray/ppm_10.iter (+206/-403)
test/rbkt/ExpQueryResults/zorba/annotations/annot-unknown-03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/annotations/annot-unknown-05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/bang/1.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/10.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/11.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/12.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/13.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/14.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/15.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/2.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/3.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/4.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/5.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/6.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/7.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/8.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/bang/9.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/base64/binary_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/base64/decode_iso-8859-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/base64/decode_iso-8859-1_file.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/base64/file_read_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/base64/file_read_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/base64/reuse-stream.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/casting/qname-dynamic-string.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/collections/chained_test_collection_001/q4.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/collections/chained_test_collection_003/q3.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/collections/count_dynamic_zorba_collection.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/collections/count_static_zorba_collection.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/collections/count_w3c_collection.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/collections/delete_double.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/delete_nodes/truncate_001.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/dynamic3.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/collections/dynamic4.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/collections/dynamic5.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/collections/dynamic6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/dynamic_node_ref1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/no_copy_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/paging_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/paging_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/paging_3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/paging_4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/uri-collection_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/K-ConcatFunc-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/K-ConcatFunc-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/K-ConcatFunc-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/K-ConcatFunc-6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/K-ConcatFunc-7.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/K-ConcatFunc-8.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/K-ConcatFunc-9.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-13.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-14.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-15.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-16.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-17.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-7.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-8.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concat-9.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdbl2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdbl2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdbl2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdbl2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdbl2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdec2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdec2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdec2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdec2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatdec2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatflt2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatflt2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatflt2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatflt2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatflt2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatint2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatint2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatint2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatint2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatint2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatintg2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatintg2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatintg2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatintg2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatintg2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatlng2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatlng2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatlng2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatlng2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatlng2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnint2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnint2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnint2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnint2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnint2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnni2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnni2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnni2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnni2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnni2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnpi2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnpi2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnpi2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnpi2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatnpi2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatpint2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatpint2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatpint2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatpint2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatpint2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatsht2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatsht2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatsht2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatsht2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatsht2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatulng2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatulng2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatulng2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatulng2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatulng2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatusht2args-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatusht2args-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatusht2args-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatusht2args-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/concat_operator/fn-concatusht2args-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/constructors/element8.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/debugger/dmh/break_response.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/debugger/dmh/break_response_no_info.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/error/trace1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/error/warning1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/eval/ctx_item_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/eval/ctx_item_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/eval/ctx_item_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/eval/eval10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/eval/eval11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/eval/eval12.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/eval/eval13.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/eval/eval14.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/eval/eval9.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/eval/eval_reset.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/eval/eval_schema2.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/eval/invoke1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-009.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-010.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-010a.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-012.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-013.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-014.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-014.xml.spec (+2/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-015.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-016.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-017.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-019.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-020.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-021.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-022.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-023.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/ext_var/w3c/extvardef-025.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/f-and-o/has-children-attribute.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/f-and-o/has-children-comment.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/f-and-o/has-children-pi.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/f-and-o/has-children-text.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fetch/fetch_module1.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/fetch/fetch_module2.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/fetch/fetch_random_file.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fetch/fetch_schema1.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/fetch/fetch_seekable.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fetch/fetch_seekable_binary.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fetch/fetch_some_transcode.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/file/cp1252.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/file/file_read_serialize.xml.res (+32/-0)
test/rbkt/ExpQueryResults/zorba/file/file_read_text_lines.xml.res (+32/-0)
test/rbkt/ExpQueryResults/zorba/file/streamability2.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/flwor/flwor_op00.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/flwor/flwor_op01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/flwor/flwor_op02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-expr-clone-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-current-compare-options-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-current-compare-options-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-current-lang-true-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-da-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-de-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-en-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-es-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-fi-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-hu-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-it-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-nl-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-no-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-pt-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-ru-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-supported-false-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-supported-false-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stem-lang-sv-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-false-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-da-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-de-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-en-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-es-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-fi-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-fr-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-hu-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-it-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-nl-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-no-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-pt-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-supported-false-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-supported-false-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-lang-sv-supported-true.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-true-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-true-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-true-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-stop-word-true-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-thesaurus-lang-supported-false-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-thesaurus-lang-supported-false-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-thesaurus-lang-supported-true-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-is-thesaurus-lang-supported-true-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-stem-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-stem-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-stem-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-stem-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-strip-diacritics-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-thesaurus-lookup-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-thesaurus-lookup-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-thesaurus-lookup-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-thesaurus-lookup-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-thesaurus-lookup-5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-thesaurus-lookup-6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-tokenize-node-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-tokenize-node-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-tokenize-node-3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-tokenize-node-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-tokenize-nodes-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-tokenize-nodes-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-tokenize-string-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-tokenize-string-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-same-sentence-false-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-same-sentence-true-4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/functx/functx-x-call.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/groupby/collation01.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/groupby/groupby04.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/groupby/groupby09.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/groupby/groupby10.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/groupby/groupby14.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/groupby/groupby15.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/groupby/groupby27.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/groupby/groupby28.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/groupby/groupby29.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/groupby/groupby30.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/groupby/groupby31.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/groupby/groupby32.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/groupby/posvar.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/hashjoins/idx10.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/http-client/delete/delete.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-binary/get-binary_binary.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-binary/get-binary_text.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-binary/get-binary_text_query.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-binary/get-binary_xml.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-binary/get-binary_xml_query.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-node/get-node_binary.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-node/get-node_text.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-node/get-node_text_query.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-node/get-node_xml.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-node/get-node_xml_query.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-text/get-text_binary.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-text/get-text_text.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-text/get-text_text_query.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-text/get-text_xml.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get-text/get-text_xml_query.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get/get_binary.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get/get_text.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get/get_text_query.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get/get_xml.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/http-client/get/get_xml_query.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/head/head_content-type_binary.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/head/head_content-type_text.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/head/head_content-type_xml.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/head/head_status.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/options/options.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post2_comment.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post2_element.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post2_integer.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post2_string.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post3_binary.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post3_binary_element.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post3_html.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post3_html_br.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post3_text.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/post/post3_xml.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put2_comment.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put2_element.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put2_integer.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put2_string.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put3_binary.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put3_binary_element.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put3_html.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put3_html_br.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put3_text.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/http-client/put/put3_xml.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/http-client/send-request/http1-redirect.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/send-request/http2-read-svg.xml.res (+11/-0)
test/rbkt/ExpQueryResults/zorba/http-client/send-request/http3-multipart.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/send-request/http3-post.xml.res (+12/-0)
test/rbkt/ExpQueryResults/zorba/http-client/send-request/http_error_hc002.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/send-request/http_error_hc004.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/send-request/http_error_hc005.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/send-request/send-request_get_binary.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/http-client/send-request/send-request_href.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/http_client/external_variable.xml.res (+0/-2)
test/rbkt/ExpQueryResults/zorba/http_client/http-head.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/http_client/http-options.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/http_client/http1-deterministic.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/http_client/http1-nondeterministic.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/http_client/http1-read.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/http_client/http3-simple.xml.res (+0/-5)
test/rbkt/ExpQueryResults/zorba/http_client/http_error_hc001.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/index/auctions1.xml.res (+40/-1)
test/rbkt/ExpQueryResults/zorba/index/auctions2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/index/auctions2u.xml.res (+306/-0)
test/rbkt/ExpQueryResults/zorba/index/count.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/index/delete_from_collection_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/index/keys1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/index/keys1g.xml.res (+32/-0)
test/rbkt/ExpQueryResults/zorba/index/keys2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/index/keys3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/index/numbers.xml.res (+21/-0)
test/rbkt/ExpQueryResults/zorba/index/numbers2.xml.res (+19/-0)
test/rbkt/ExpQueryResults/zorba/index/paging.xml.res (+10/-0)
test/rbkt/ExpQueryResults/zorba/index/undo1.xml.res (+9/-0)
test/rbkt/ExpQueryResults/zorba/index/undo2.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/index/undo3.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/index/undo4.xml.res (+25/-0)
test/rbkt/ExpQueryResults/zorba/index/unique.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/introspection/introsp-fn-7.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/introspection/introsp-vars-1.xml.res (+1/-2)
test/rbkt/ExpQueryResults/zorba/introspection/introsp-vars-3.xml.res (+1/-2)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-parse-01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-parse-02.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-parse-03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-parse-04.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-parse-05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-parse-wikipedia.xml.res (+10/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-serialize-01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-serialize-02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-serialize-03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-serialize-indent-wikipedia.xml.res (+11/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-serialize-none-wikipedia.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-jsonml_array-serialize-some-wikipedia.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-null-handling.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-numbers-and-decimals.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-array-01.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-array-02.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-array-03.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-array-04.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-array-05.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-array-06.xml.res (+8/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-array-07.xml.res (+10/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-array-08.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-example.xml.res (+14/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-object-01.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-object-02.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-object-03.xml.res (+8/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-object-04.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-parse-serialize.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-array-01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-array-02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-array-03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-array-04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-array-05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-array-12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-indent-example.xml.res (+11/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-none-example.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-object-01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-object-02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-object-03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-parse.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-serialize-some-example.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-uncommon-chars.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/json/json-snelson-utf-8.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_append_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_01.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_02.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_14.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_15.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_16.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_17.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_18.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_21.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_210.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_211.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_212.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_213.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_22.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_23.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_24.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_25.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_26.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_27.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_28.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_29.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_3_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_3_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_3_3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_3_4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_3_5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_3_6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_3_7.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_4_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_4_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_4_3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_5_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_5_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_6_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_6_3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_7_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_7_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_7_3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_7_5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_constr_7_6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_delete_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_delete_06.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_delete_09.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_insert_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_insert_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_insert_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_insert_04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_insert_05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_mixed_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_mixed_undo_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_replace_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/arr_update_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/coll_dyn_01.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/coll_dyn_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/collection-and-index/foaf-collection-update.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/collection-and-index/foaf-collection.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/collection-and-index/foaf-index-general-point.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/collection-and-index/foaf-index-point-maintenance.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/collection-and-index/foaf-index-point.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/collection-and-index/foaf-index-range.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/ebv01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/empty_member01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/flatten_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/jn_accumulate.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/jn_descendant_objects.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/jn_descendant_pairs.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/jn_intersect.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/jn_values.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/member_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/names_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/names_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/null01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/null02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/null03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/null04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/null05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/null08.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_06.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_07.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_08.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_09.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_constr_12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_delete_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_delete_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_delete_06.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_delete_09.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_06.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_07.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_08.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_09.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_13.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_insert_14.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_rename_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_rename_06.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_replace_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_replace_04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_replace_05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_update_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/obj_update_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/object_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/object_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/object_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/pair-constructor-atomize-node.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/pair-constructor-cast.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/pair-name-cast-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/pair-name-cast-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/pair_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/pair_value_boxing_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/pair_value_boxing_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/parse_json-01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/parse_json-05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/project_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/decode_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/decode_02.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/decode_04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/decode_05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/encode_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/encode_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/encode_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/encode_04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/encode_08.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/encode_09.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/encode_10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/roundtrip_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/roundtrip_02.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/roundtrip_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/roundtrip_04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/roundtrip_05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/roundtrip/roundtrip_06.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/serializer-JNSE0022.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/serializer-jsoniq-allow-mixed-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/serializer-jsoniq-allow-mixed-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/serializer-nested-xml_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/string_escapes.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/true_false_null.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case01_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case06.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case07.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case08.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case09.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/use_case11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/value_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/values_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/misc/baseuri.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/misc/dataguide.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/misc/guestbook.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/misc/misc5.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/misc/validate1.xml.res (+9/-0)
test/rbkt/ExpQueryResults/zorba/modules/import_fn.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/modules/import_fn_math.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/dataguide-c.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/dataguide-nc.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/dataguide2-c.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/dataguide2-nc.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/dblp-q0.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-9198.xml.res (+19/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-9199.xml.res (+19/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-9212.xml.res (+49/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-9389.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-9390.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-9392.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-gary1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-idx1.xml.res (+254/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-idx4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/hashjoin-q8.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/parser_test.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/path17.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q13.xml.res (+18/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q14.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q17.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q18.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q19.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q20.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q7.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q8.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/q9.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/ser_01.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/ser_02.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/ser_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/test2.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/test3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/test4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/test5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/udfs1.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/udfs3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/no-copy/udfs4.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/copy01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/nodes/path.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/position_1.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/position_1_parsed.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/position_2.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/position_2_parsed.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/position_3.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/position_3_parsed.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/position_4.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/position_4_parsed.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/nodes/position_err.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/numerics/comp01.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/optim/flwor_vars_01.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred12.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred13.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred2.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred4.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred7.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/pos_pred9.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/positioned-access.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/optim/trycatch_hoist_01.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/optim/var_inline_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/var_inline_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/optim/var_inline_04.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/optim/var_inline_05.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/options/unknown_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/parser/shebang/shebang-01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/parser/shebang/shebang-02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-01.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-02.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-03.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-04.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-05.xml.res (+38/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-06.xml.res (+9/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-09.xml.res (+59/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-10.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-11.xml.res (+31/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-14.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-15.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-16.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-17.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-18.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-19.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-20.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-21.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-22.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-23.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-24.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/fn-parse-xml-fragment-25.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-doctype-01.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-doctype-02.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-doctype-03.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-doctype-04.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-doctype-05.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-doctype-06.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-doctype-07.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-doctype-08.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-doctype-11.xml.res (+8/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-01.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-02.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-03.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-04.xml.res (+12/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-05.xml.res (+12/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-06.xml.res (+8/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-07.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-08.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-09.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-10.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-11.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-12.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-13.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-14.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-15.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-16.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-17.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-18.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-19.xml.res (+8/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-20.xml.res (+8/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-21.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-22.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-23.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-24.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-25.xml.res (+14/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-26.xml.res (+14/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-27.xml.res (+10/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-28.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-29.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-30.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-31.xml.res (+59/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-32.xml.res (+50/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-33.xml.res (+34/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-34.xml.res (+18/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-35.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-36.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-37.xml.res (+14/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-38.xml.res (+14/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-39.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-40.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-41.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-42.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-43.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-44.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-45.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-46.xml.res (+31/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-53.xml.res (+8/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-54.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-55.xml.res (+8/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-56.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-12.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-13.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-14.xml.res (+36/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-15.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-16.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-19.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-20.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-21.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-22.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-23.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-24.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-25.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-26.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-27.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-28.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-29.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-30.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-31.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-32.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-33.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/paths/path28.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/paths/ref1.xml.res (+0/-386)
test/rbkt/ExpQueryResults/zorba/pul-schema/create-collection.xml.res (+14/-0)
test/rbkt/ExpQueryResults/zorba/pul-schema/empty-pul.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/pul-schema/insert-into-collection.xml.res (+8/-0)
test/rbkt/ExpQueryResults/zorba/random/randbetween1.xml.res (+0/-2)
test/rbkt/ExpQueryResults/zorba/random/randbetween2.xml.res (+0/-2)
test/rbkt/ExpQueryResults/zorba/random/random-between1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/random/random1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/random/seeded-random-between1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/random/seeded-random1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/reference/reference_1.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/reference/reference_2.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/reference/reference_3.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/reference/reference_4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/reference/reference_5.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/reference/reference_coll_1.xml.res (+2/-1)
test/rbkt/ExpQueryResults/zorba/reference/reference_coll_2.xml.res (+2/-1)
test/rbkt/ExpQueryResults/zorba/reference/reference_coll_3.xml.res (+2/-1)
test/rbkt/ExpQueryResults/zorba/reference/reference_coll_4.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/reference/reference_coll_5.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/reference/reference_doc_example_01.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/reference/reference_doc_example_02.xml.res (+0/-5)
test/rbkt/ExpQueryResults/zorba/reflection/reflection-eval-01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/reflection/reflection-eval-02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/reflection/reflection-eval-03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/reflection/reflection-invoke-11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/reflection/reflection-invoke-12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/reflection/reflection-invoke-13.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/schemas/include.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/schemas/val-inplace3.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/schemas/val-inplace4.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/schemas/val-xsiType-noSchemaImport.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/constr1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/constr2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/constr3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/constr4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/constr5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/enclosed-expr-02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/enclosed-expr-04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/flwor10.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/scripting/flwor11.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/scripting/flwor12.xml.res (+10/-0)
test/rbkt/ExpQueryResults/zorba/scripting/flwor13.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/scripting/flwor14.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/scripting/flwor15.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/local_vars3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/scripting/nonsequential2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/sequences/available-environment-variables.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/sequences/distinct01.xml.res (+2/-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/ExpQueryResults/zorba/serialization/cloudscript/extensions1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/cloudscript/extensions2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/cloudscript/extensions3a.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/cloudscript/json1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/cloudscript/json2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/cloudscript/multiple2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/html/empty-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/html/empty-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/xhtml/empty-1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/xhtml/empty-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/spec/xquery_1_1.xml.res (+0/-4)
test/rbkt/ExpQueryResults/zorba/spec/xquery_3_0.xml.res (+4/-0)
test/rbkt/ExpQueryResults/zorba/store/documents.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/store/example_1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/store/example_2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/store/example_3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/store/unordered-map/map6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/store/unordered-map/map7.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/store/unordered-map/transient-map0.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/AnalyzeString/analyze_string13.xml.res (+287/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a10.xml.res (+242/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a11.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a7.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a8.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a9.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m13.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m14.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m15.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m16.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m17.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m18.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m19.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m20.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m21.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m22.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m23.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m24.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m25.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m26.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m27.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m28.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m29.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m30.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m31.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m32.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m33.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m34.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m35.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m36.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m37.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m38.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m39.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m40.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m41.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m42.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m43.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m44.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m45.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m46.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m47.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m48.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m49.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m50.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m51.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m52.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m53.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m7.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m8.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_m9.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_prime1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r12.xml.res (+5/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_r9.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_t1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_t4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/Regex/regex_t5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/ReplaceFunc/replace20.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/StringToCodepointFunc/StringToCodepointFunc4.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/tokenize01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/tokenize02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/tokenize03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/string/tokenize04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-01.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-02.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-03.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-04.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-05.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-06.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-07.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-08.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-09.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-10.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-11.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/syntax-error/syntax-error-12.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/testdriver/bom_bug.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/trycatch/stacktrace1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/trycatch/stacktrace2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/trycatch/trycatch10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/trycatch/trycatch11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/trycatch/trycatch12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/trycatch/trycatch13.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/trycatch/trycatch9.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/udf/udf-fib-rec-BIG_INTEGER.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/udf/udf-fib-rec.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/udf/udf-recursive-2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/updates/no_hoist.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/recursive.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/transform01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo1.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo10.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo11.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo2.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo3.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo4.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo6.xml.res (+25/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo7.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo8.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo9.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd1.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd10.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd11.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd14.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd2.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd3.xml.res (+3/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd4.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd6.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd7.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd8.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/upd9.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/uris/decode_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/uris/decode_03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/uris/decode_04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/versioning/schema1.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/w3c/ForExpr010.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/w3c/ForExpr025.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/w3c/WhereExpr001.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/w3c/fn-namespace-uri-17.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/w3c/nodeexpression47.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/w3c/rdb-queries-results-q5.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/q19.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/windowing/sliding01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding06.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding07.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding09.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding13.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/sliding14.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling07.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling08.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling09.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling24.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling26.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling27.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling28.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling29.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling30.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling32.xml.res (+12/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling33.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling34.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling35.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling36.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling38.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling39.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling40.xml.res (+24/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling41.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling45.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling46.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling47.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling48.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling50.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/windowing/tumbling51.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/windowing/windowing12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/xdm-schema/1-to-5.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/xdm-schema/empty-sequence.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/xdm-schema/nodes.xml.res (+7/-0)
test/rbkt/ExpQueryResults/zorba/xqddf/daniel/i1.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqddf/daniel/i2.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqddf/daniel/i3.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqddf/daniel/i4.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqddf/daniel/i5.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqddf/daniel/ric6.xml.res (+2/-2)
test/rbkt/ExpQueryResults/zorba/xqddf/daniel/t4.xml.res (+0/-2)
test/rbkt/ExpQueryResults/zorba/xqddf/daniel/t5.xml.res (+0/-1)
test/rbkt/ExpQueryResults/zorba/xqddf/ic-deactivate-err.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/xqddf/ic-foreignKey.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqddf/ic-foreignKey2.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/xqddf/ic-simple3.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/xqddf/undo1.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/xqdoc/basic.xml.res (+3/-3)
test/rbkt/ExpQueryResults/zorba/xqdoc/basic_options.xml.res (+86/-0)
test/rbkt/ExpQueryResults/zorba/xqdoc/basic_with_error.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqdoc/collindex.xml.res (+128/-0)
test/rbkt/ExpQueryResults/zorba/xqdoc/content.xml.res (+3/-3)
test/rbkt/ExpQueryResults/zorba/xqdoc/content_options.xml.res (+32/-0)
test/rbkt/ExpQueryResults/zorba/xqdoc/indentation.xml.res (+31/-2)
test/rbkt/ExpQueryResults/zorba/xqdoc/local.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqdoc/moduleDocumentation.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqdoc/no_global_var.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqdoc/testSchemaTypes.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqdoc/unorderedAnnotations.xml.res (+2/-2)
test/rbkt/Queries/CMakeLists.txt (+335/-58)
test/rbkt/Queries/w3c_known_failures.txt (+62/-110)
test/rbkt/Queries/w3c_known_failures_XQueryX.txt (+88/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-001.xq (+5/-2)
test/rbkt/Queries/zorba/HigherOrder/hof-002.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-003.lib (+2/-2)
test/rbkt/Queries/zorba/HigherOrder/hof-003.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-004.xq (+3/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-020.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-022.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-023.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-025.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-026.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-032.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-033.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-034.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-035.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-037.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-038.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-039.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-101.xq (+3/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-901.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-902.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-904.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-905.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-906.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-907.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-908.xq (+4/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-909.xq (+4/-1)
test/rbkt/Queries/zorba/annotations/annot-err-17.xq (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-err-18.xq (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-err-19.xq (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-err-20.xq (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-err-21.xq (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-unknown-02.spec (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-unknown-02.xq (+11/-7)
test/rbkt/Queries/zorba/annotations/annot-unknown-03.spec (+1/-0)
test/rbkt/Queries/zorba/annotations/annot-unknown-03.xq (+10/-0)
test/rbkt/Queries/zorba/annotations/annot-unknown-04.spec (+2/-0)
test/rbkt/Queries/zorba/annotations/annot-unknown-04.xq (+12/-0)
test/rbkt/Queries/zorba/annotations/annot-unknown-05.spec (+1/-0)
test/rbkt/Queries/zorba/annotations/annot-unknown-05.xq (+9/-0)
test/rbkt/Queries/zorba/annotations/annot-var-eqname-01.xq (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-var-eqname-02.xq (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-var-nonassignable-01.spec (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-var-nonassignable-02.spec (+1/-1)
test/rbkt/Queries/zorba/bang/1.xq (+1/-0)
test/rbkt/Queries/zorba/bang/10.xq (+1/-0)
test/rbkt/Queries/zorba/bang/11.xq (+1/-0)
test/rbkt/Queries/zorba/bang/12.xq (+1/-0)
test/rbkt/Queries/zorba/bang/13.xq (+8/-0)
test/rbkt/Queries/zorba/bang/14.xq (+8/-0)
test/rbkt/Queries/zorba/bang/15.xq (+3/-0)
test/rbkt/Queries/zorba/bang/2.xq (+1/-0)
test/rbkt/Queries/zorba/bang/3.xq (+1/-0)
test/rbkt/Queries/zorba/bang/4.xq (+1/-0)
test/rbkt/Queries/zorba/bang/5.xq (+1/-0)
test/rbkt/Queries/zorba/bang/6.xq (+6/-0)
test/rbkt/Queries/zorba/bang/7.xq (+9/-0)
test/rbkt/Queries/zorba/bang/8.xq (+9/-0)
test/rbkt/Queries/zorba/bang/9.xq (+1/-0)
test/rbkt/Queries/zorba/base64/binary_1.xq (+1/-0)
test/rbkt/Queries/zorba/base64/decode_iso-8859-1.xq (+3/-0)
test/rbkt/Queries/zorba/base64/decode_iso-8859-1_file.xq (+5/-0)
test/rbkt/Queries/zorba/base64/decoded-text (+1/-0)
test/rbkt/Queries/zorba/base64/encoded (+1/-0)
test/rbkt/Queries/zorba/base64/encoded-text (+1/-0)
test/rbkt/Queries/zorba/base64/file_read_1.xq (+10/-0)
test/rbkt/Queries/zorba/base64/file_read_2.xq (+11/-0)
test/rbkt/Queries/zorba/base64/iso-8859-1.txt (+1/-0)
test/rbkt/Queries/zorba/base64/reuse-stream.xq (+14/-0)
test/rbkt/Queries/zorba/block/local_var1.xq (+1/-1)
test/rbkt/Queries/zorba/block/seq_func1.spec (+1/-1)
test/rbkt/Queries/zorba/casting/qname-dynamic-string.xq (+3/-0)
test/rbkt/Queries/zorba/collections/availability.xq (+5/-5)
test/rbkt/Queries/zorba/collections/chained_test_collection_001/q1.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_001/q2.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_001/q3.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_002/q1.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_002/q2.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_003/q1.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_004/q1.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_004/q3.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_005/q1.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_010/q1.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_010/q2.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_010/q3.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_010/q3.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q1.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q11.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q11.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q2.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q3.cxq (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q3.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q31.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q32.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q33.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q34.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q35.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q36.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q37.spec (+1/-1)
test/rbkt/Queries/zorba/collections/chained_test_collection_011/q40.spec (+1/-1)
test/rbkt/Queries/zorba/collections/collection_001.spec (+1/-1)
test/rbkt/Queries/zorba/collections/collection_001.xqdata (+11/-9)
test/rbkt/Queries/zorba/collections/collection_002.spec (+1/-1)
test/rbkt/Queries/zorba/collections/collection_002.xqdata (+3/-1)
test/rbkt/Queries/zorba/collections/collection_available_check.xq (+18/-17)
test/rbkt/Queries/zorba/collections/collection_does_not_exist.spec (+1/-1)
test/rbkt/Queries/zorba/collections/collection_known_check.xq (+23/-22)
test/rbkt/Queries/zorba/collections/collections.xqdata (+5/-3)
test/rbkt/Queries/zorba/collections/count_dynamic_zorba_collection.xq (+10/-0)
test/rbkt/Queries/zorba/collections/count_static_zorba_collection.xq (+14/-0)
test/rbkt/Queries/zorba/collections/count_w3c_collection.xq (+8/-0)
test/rbkt/Queries/zorba/collections/create_collection.xq (+3/-3)
test/rbkt/Queries/zorba/collections/create_collision.spec (+1/-1)
test/rbkt/Queries/zorba/collections/create_collision.xq (+1/-1)
test/rbkt/Queries/zorba/collections/declare_1.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_collection.xq (+4/-4)
test/rbkt/Queries/zorba/collections/delete_double.xq (+10/-0)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_001.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_002.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_003.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_004.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_004.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_append_only.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_const.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_const.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_queue.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/delete_nodes_collection_queue.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/truncate_001.xq (+27/-0)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_001.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_002.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_003.spec (+1/-0)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_003.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_004.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_004.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_005.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_006.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_007.spec (+2/-0)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_007.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_008.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_008.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_append_only.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_append_only.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_append_only_2.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_append_only_2.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_const.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_const.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_const_2.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_first/delete_nodes_collection_const_2.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_001.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_002.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_003.spec (+1/-0)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_003.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_004.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_004.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_005.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_006.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_007.spec (+2/-0)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_007.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_008.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_008.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_append_only.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_append_only.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_append_only_2.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_append_only_2.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_const.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_const.xq (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_const_2.spec (+1/-1)
test/rbkt/Queries/zorba/collections/delete_nodes_last/delete_nodes_collection_const_2.xq (+1/-1)
test/rbkt/Queries/zorba/collections/dynamic1.xq (+1/-1)
test/rbkt/Queries/zorba/collections/dynamic2.xq (+1/-1)
test/rbkt/Queries/zorba/collections/dynamic3.xq (+7/-0)
test/rbkt/Queries/zorba/collections/dynamic4.xq (+7/-0)
test/rbkt/Queries/zorba/collections/dynamic5.xq (+7/-0)
test/rbkt/Queries/zorba/collections/dynamic6.xq (+10/-0)
test/rbkt/Queries/zorba/collections/dynamic_node_ref1.xq (+7/-0)
test/rbkt/Queries/zorba/collections/inconsistency_1.spec (+1/-1)
test/rbkt/Queries/zorba/collections/inconsistency_1.xqdata (+3/-1)
test/rbkt/Queries/zorba/collections/inconsistency_2.spec (+1/-1)
test/rbkt/Queries/zorba/collections/inconsistency_2.xqdata (+3/-1)
test/rbkt/Queries/zorba/collections/inconsistency_3.spec (+1/-1)
test/rbkt/Queries/zorba/collections/inconsistency_3.xqdata (+3/-1)
test/rbkt/Queries/zorba/collections/index_of_1.xq (+1/-1)
test/rbkt/Queries/zorba/collections/index_of_3.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_001.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_002.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_003.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_004.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_004.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_append_only.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_append_only.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_const.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_const.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_queue.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes/insert_collection_queue.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_001.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_002.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_003.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_003.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_004.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_004.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_005.xq (+9/-0)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_append_only.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_append_only.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_const.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_const.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_queue.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after/insert_collection_queue.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_after_1.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_at_1.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_at_4.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_001.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_002.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_003.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_003.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_004.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_004.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_append_only.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_append_only.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_const.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_const.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_queue.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before/insert_collection_queue.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_before_1.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_001.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_002.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_003.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_003.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_004.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_004.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_append_only.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_append_only.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_const.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_const.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_queue.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_first/insert_collection_queue.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_001.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_002.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_003.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_003.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_004.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_004.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_append_only.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_append_only.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_const.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_const.xq (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_queue.spec (+1/-1)
test/rbkt/Queries/zorba/collections/insert_nodes_last/insert_collection_queue.xq (+1/-1)
test/rbkt/Queries/zorba/collections/modifier_1.xq (+24/-23)
test/rbkt/Queries/zorba/collections/modifier_1.xqdata (+5/-3)
test/rbkt/Queries/zorba/collections/modifier_2.xq (+11/-9)
test/rbkt/Queries/zorba/collections/modifier_3.xq (+11/-10)
test/rbkt/Queries/zorba/collections/modifier_3.xqdata (+3/-1)
test/rbkt/Queries/zorba/collections/no_copy_01.xq (+14/-0)
test/rbkt/Queries/zorba/collections/node_type.xq (+12/-11)
test/rbkt/Queries/zorba/collections/node_type.xqdata (+4/-1)
test/rbkt/Queries/zorba/collections/paging_1.xq (+29/-0)
test/rbkt/Queries/zorba/collections/paging_2.xq (+23/-0)
test/rbkt/Queries/zorba/collections/paging_3.xq (+22/-0)
test/rbkt/Queries/zorba/collections/paging_4.xq (+23/-0)
test/rbkt/Queries/zorba/collections/paging_5.spec (+1/-0)
test/rbkt/Queries/zorba/collections/paging_5.xq (+20/-0)
test/rbkt/Queries/zorba/collections/q1.xq (+1/-1)
test/rbkt/Queries/zorba/collections/q12.xq (+1/-1)
test/rbkt/Queries/zorba/collections/remove_node_at_1.xq (+1/-1)
test/rbkt/Queries/zorba/collections/remove_node_at_border.xq (+6/-5)
test/rbkt/Queries/zorba/collections/remove_nodes_1.xq (+1/-1)
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/concat_operator/K-ConcatFunc-3.xq (+7/-0)
test/rbkt/Queries/zorba/concat_operator/K-ConcatFunc-4.xq (+7/-0)
test/rbkt/Queries/zorba/concat_operator/K-ConcatFunc-5.xq (+7/-0)
test/rbkt/Queries/zorba/concat_operator/K-ConcatFunc-6.xq (+7/-0)
test/rbkt/Queries/zorba/concat_operator/K-ConcatFunc-7.xq (+8/-0)
test/rbkt/Queries/zorba/concat_operator/K-ConcatFunc-8.xq (+7/-0)
test/rbkt/Queries/zorba/concat_operator/K-ConcatFunc-9.xq (+7/-0)
test/rbkt/Queries/zorba/concat_operator/K2-ConcatFunc-1.spec (+1/-0)
test/rbkt/Queries/zorba/concat_operator/K2-ConcatFunc-1.xq (+7/-0)
test/rbkt/Queries/zorba/concat_operator/K2-ConcatFunc-2.spec (+1/-0)
test/rbkt/Queries/zorba/concat_operator/K2-ConcatFunc-2.xq (+7/-0)
test/rbkt/Queries/zorba/concat_operator/K2-ConcatFunc-3.spec (+1/-0)
test/rbkt/Queries/zorba/concat_operator/K2-ConcatFunc-3.xq (+7/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-1.xq (+5/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-10.xq (+4/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-11.xq (+3/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-12.xq (+3/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-14.xq (+4/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-15.xq (+4/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-16.xq (+4/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-17.xq (+4/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-2.xq (+5/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-3.xq (+5/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-4.xq (+5/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-5.xq (+4/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-6.xq (+4/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-7.xq (+4/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-8.xq (+5/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concat-9.xq (+4/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdbl2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdbl2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdbl2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdbl2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdbl2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdec2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdec2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdec2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdec2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatdec2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatflt2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatflt2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatflt2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatflt2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatflt2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatint2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatint2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatint2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatint2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatint2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatintg2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatintg2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatintg2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatintg2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatintg2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatlng2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatlng2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatlng2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatlng2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatlng2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnint2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnint2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnint2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnint2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnint2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnni2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnni2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnni2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnni2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnni2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnpi2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnpi2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnpi2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnpi2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatnpi2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatpint2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatpint2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatpint2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatpint2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatpint2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatsht2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatsht2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatsht2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatsht2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatsht2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatulng2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatulng2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatulng2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatulng2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatulng2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatusht2args-1.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatusht2args-2.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatusht2args-3.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatusht2args-4.xq (+11/-0)
test/rbkt/Queries/zorba/concat_operator/fn-concatusht2args-5.xq (+11/-0)
test/rbkt/Queries/zorba/constructors/element8.xq (+24/-0)
test/rbkt/Queries/zorba/debugger/dmh/break_response.xq (+5/-0)
test/rbkt/Queries/zorba/debugger/dmh/break_response_no_info.xq (+7/-0)
test/rbkt/Queries/zorba/error/trace1.xq (+6/-0)
test/rbkt/Queries/zorba/error/warning1.xq (+6/-0)
test/rbkt/Queries/zorba/eval/ctx_item_01.xq (+5/-0)
test/rbkt/Queries/zorba/eval/ctx_item_02.xq (+5/-0)
test/rbkt/Queries/zorba/eval/ctx_item_03.xq (+11/-0)
test/rbkt/Queries/zorba/eval/eval1.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval10.xq (+28/-0)
test/rbkt/Queries/zorba/eval/eval11.xq (+34/-0)
test/rbkt/Queries/zorba/eval/eval12.xq (+34/-0)
test/rbkt/Queries/zorba/eval/eval13.xq (+34/-0)
test/rbkt/Queries/zorba/eval/eval14.xq (+30/-0)
test/rbkt/Queries/zorba/eval/eval2.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval3.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval4.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval5.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval6.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval7.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval9.xq (+6/-0)
test/rbkt/Queries/zorba/eval/eval_bind1.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_external.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_mod1.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_reset.xq (+15/-0)
test/rbkt/Queries/zorba/eval/eval_schema1.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_schema2.xq (+5/-3)
test/rbkt/Queries/zorba/eval/eval_spec_ex_1.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_spec_ex_10.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_spec_ex_2.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_spec_ex_3.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_spec_ex_4.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_spec_ex_5.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_spec_ex_6.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_spec_ex_8.xq (+1/-1)
test/rbkt/Queries/zorba/eval/eval_spec_ex_9.xq (+1/-1)
test/rbkt/Queries/zorba/eval/evallib.xqlib (+1/-1)
test/rbkt/Queries/zorba/eval/gary.xq (+1/-1)
test/rbkt/Queries/zorba/eval/invoke1.xq (+5/-0)
test/rbkt/Queries/zorba/eval/invoke1_1.xqlib (+10/-0)
test/rbkt/Queries/zorba/eval/invoke1_2.xqlib (+3/-0)
test/rbkt/Queries/zorba/eval/upd_eval1.xq (+1/-1)
test/rbkt/Queries/zorba/ext_var/w3c/SchemaImport/hats.xsd (+68/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-008.spec (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-008.xq (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-009.xq (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-010.xq (+4/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-010a.xq (+4/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-011.spec (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-011.xq (+4/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-011a.spec (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-011a.xq (+9/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-012.xq (+4/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-013.spec (+3/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-013.xq (+6/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-014.spec (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-014.xq (+4/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-015.xq (+7/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-016.xq (+7/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-017.xq (+2/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-018.spec (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-018.xq (+2/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-019.xq (+3/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-020.xq (+5/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-021.xq (+3/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-022.xq (+8/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-023.xq (+8/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-024.spec (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-024.xq (+8/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-025.xq (+8/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-026.spec (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-026.xq (+8/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-027.spec (+1/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-027.xq (+7/-0)
test/rbkt/Queries/zorba/extern/5890.xq (+1/-2)
test/rbkt/Queries/zorba/f-and-o/has-children-attribute.xq (+1/-0)
test/rbkt/Queries/zorba/f-and-o/has-children-comment.xq (+1/-0)
test/rbkt/Queries/zorba/f-and-o/has-children-pi.xq (+1/-0)
test/rbkt/Queries/zorba/f-and-o/has-children-text.xq (+1/-0)
test/rbkt/Queries/zorba/fetch/fetch_bogus1.spec (+1/-0)
test/rbkt/Queries/zorba/fetch/fetch_bogus1.xq (+4/-0)
test/rbkt/Queries/zorba/fetch/fetch_bogus2.spec (+1/-0)
test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq (+4/-0)
test/rbkt/Queries/zorba/fetch/fetch_module1.xq (+4/-0)
test/rbkt/Queries/zorba/fetch/fetch_module2.xq (+4/-0)
test/rbkt/Queries/zorba/fetch/fetch_random_file.xq (+4/-0)
test/rbkt/Queries/zorba/fetch/fetch_schema1.xq (+6/-0)
test/rbkt/Queries/zorba/fetch/fetch_seekable.xml.res (+1/-0)
test/rbkt/Queries/zorba/fetch/fetch_seekable.xq (+8/-0)
test/rbkt/Queries/zorba/fetch/fetch_seekable_binary.xq (+8/-0)
test/rbkt/Queries/zorba/fetch/fetch_some_transcode.xq (+3/-0)
test/rbkt/Queries/zorba/fetch/iso-8859-1.txt (+1/-0)
test/rbkt/Queries/zorba/file/cp1252.txt (+1/-0)
test/rbkt/Queries/zorba/file/cp1252.xq (+3/-0)
test/rbkt/Queries/zorba/file/file_read_serialize.xq (+18/-0)
test/rbkt/Queries/zorba/file/file_read_text_lines.xq (+4/-0)
test/rbkt/Queries/zorba/file/files_pattern_rec1.xq (+7/-1)
test/rbkt/Queries/zorba/file/files_pattern_rec2.xq (+7/-1)
test/rbkt/Queries/zorba/file/invalid_encoding.spec (+1/-0)
test/rbkt/Queries/zorba/file/invalid_encoding.xq (+3/-0)
test/rbkt/Queries/zorba/file/mydata.xml (+32/-0)
test/rbkt/Queries/zorba/file/schema.xsd (+5/-5)
test/rbkt/Queries/zorba/file/streamability2.spec (+0/-1)
test/rbkt/Queries/zorba/flwor/flwor_op00.xq (+4/-0)
test/rbkt/Queries/zorba/flwor/flwor_op01.xq (+6/-0)
test/rbkt/Queries/zorba/flwor/flwor_op02.xq (+9/-0)
test/rbkt/Queries/zorba/fulltext/ft-expr-clone-1.xq (+10/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-current-compare-options-1.xq (+9/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-current-compare-options-2.xq (+14/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-current-lang-true-1.xq (+5/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-da-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-de-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-en-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-es-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-fi-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-hu-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-it-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-nl-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-no-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-pt-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-ru-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-supported-false-1.xq (+4/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-supported-false-2.xq (+4/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stem-lang-sv-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-false-1.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-da-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-de-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-en-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-es-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-fi-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-fr-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-hu-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-it-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-nl-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-no-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-pt-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-supported-false-1.xq (+4/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-supported-false-2.xq (+4/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-lang-sv-supported-true.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-true-1.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-true-2.xq (+5/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-true-3.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-stop-word-true-4.xq (+5/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-thesaurus-lang-supported-false-1.xq (+4/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-thesaurus-lang-supported-false-2.xq (+4/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-thesaurus-lang-supported-false-3.spec (+1/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-thesaurus-lang-supported-false-3.xq (+4/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-thesaurus-lang-supported-true-1.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-thesaurus-lang-supported-true-2.spec (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-is-thesaurus-lang-supported-true-2.xq (+6/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-stem-1.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-stem-2.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-stem-3.xq (+5/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-stem-4.xq (+5/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-strip-diacritics-1.xq (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-1.xq (+6/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-2.spec (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-2.xq (+6/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-3.spec (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-3.xq (+7/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-4.spec (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-4.xq (+7/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-5.spec (+3/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-5.xq (+8/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-thesaurus-lookup-6.xq (+6/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-tokenize-node-1.xq (+19/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-tokenize-node-2.xq (+19/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-tokenize-node-3.xq (+12/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-tokenize-node-4.xq (+12/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-tokenize-nodes-1.xq (+42/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-tokenize-nodes-2.xq (+33/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-tokenize-string-1.xq (+8/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-tokenize-string-2.xq (+10/-0)
test/rbkt/Queries/zorba/fulltext/ft-same-sentence-false-2.xq (+2/-0)
test/rbkt/Queries/zorba/fulltext/ft-same-sentence-true-2.xq (+1/-1)
test/rbkt/Queries/zorba/fulltext/ft-same-sentence-true-3.xq (+1/-1)
test/rbkt/Queries/zorba/fulltext/ft-same-sentence-true-4.xq (+2/-0)
test/rbkt/Queries/zorba/fulltext/ft-thesaurus-FOCA0003-1.spec (+4/-0)
test/rbkt/Queries/zorba/fulltext/ft-thesaurus-FOCA0003-1.xq (+10/-0)
test/rbkt/Queries/zorba/fulltext/ft-thesaurus-true-1.spec (+0/-3)
test/rbkt/Queries/zorba/fulltext/ft-thesaurus-true-2.spec (+0/-3)
test/rbkt/Queries/zorba/fulltext/ft-thesaurus-true-3.spec (+1/-1)
test/rbkt/Queries/zorba/fulltext/ft-thesaurus-true-4.spec (+1/-1)
test/rbkt/Queries/zorba/functx/functx-x-1.xqlib (+182/-0)
test/rbkt/Queries/zorba/functx/functx-x-10.xqlib (+1663/-0)
test/rbkt/Queries/zorba/functx/functx-x-2.xqlib (+345/-0)
test/rbkt/Queries/zorba/functx/functx-x-3.xqlib (+511/-0)
test/rbkt/Queries/zorba/functx/functx-x-4.xqlib (+675/-0)
test/rbkt/Queries/zorba/functx/functx-x-5.xqlib (+841/-0)
test/rbkt/Queries/zorba/functx/functx-x-6.xqlib (+1007/-0)
test/rbkt/Queries/zorba/functx/functx-x-7.xqlib (+1170/-0)
test/rbkt/Queries/zorba/functx/functx-x-8.xqlib (+1335/-0)
test/rbkt/Queries/zorba/functx/functx-x-9.xqlib (+1500/-0)
test/rbkt/Queries/zorba/functx/functx-x-call.xq (+44/-0)
test/rbkt/Queries/zorba/functx/functx1.xqlib (+2695/-0)
test/rbkt/Queries/zorba/functx/functx10.xqlib (+2695/-0)
test/rbkt/Queries/zorba/functx/functx2.xqlib (+2695/-0)
test/rbkt/Queries/zorba/functx/functx3.xqlib (+2695/-0)
test/rbkt/Queries/zorba/functx/functx4.xqlib (+2695/-0)
test/rbkt/Queries/zorba/functx/functx5.xqlib (+2695/-0)
test/rbkt/Queries/zorba/functx/functx6.xqlib (+2695/-0)
test/rbkt/Queries/zorba/functx/functx7.xqlib (+2695/-0)
test/rbkt/Queries/zorba/functx/functx8.xqlib (+2695/-0)
test/rbkt/Queries/zorba/functx/functx9.xqlib (+2695/-0)
test/rbkt/Queries/zorba/gflwor/gflwor_ex7.xq (+6/-4)
test/rbkt/Queries/zorba/groupby/collation01.xq (+15/-0)
test/rbkt/Queries/zorba/groupby/groupby14.xq (+1/-1)
test/rbkt/Queries/zorba/groupby/groupby15.xq (+1/-1)
test/rbkt/Queries/zorba/groupby/groupby27.xq (+57/-0)
test/rbkt/Queries/zorba/groupby/groupby28.xq (+3/-0)
test/rbkt/Queries/zorba/groupby/groupby29.xq (+5/-0)
test/rbkt/Queries/zorba/groupby/groupby30.xq (+4/-0)
test/rbkt/Queries/zorba/groupby/groupby31.xq (+17/-0)
test/rbkt/Queries/zorba/groupby/groupby32.xq (+13/-0)
test/rbkt/Queries/zorba/groupby/groupby33.spec (+1/-0)
test/rbkt/Queries/zorba/groupby/groupby33.xq (+16/-0)
test/rbkt/Queries/zorba/groupby/posvar.xq (+17/-0)
test/rbkt/Queries/zorba/hashjoins/idx10.xq (+160/-0)
test/rbkt/Queries/zorba/hashjoins/idx2.xq (+2/-2)
test/rbkt/Queries/zorba/hashjoins/idx9.xq (+10/-0)
test/rbkt/Queries/zorba/hashjoins/idx9.xqlib (+21/-0)
test/rbkt/Queries/zorba/hashjoins/q8.xq (+2/-2)
test/rbkt/Queries/zorba/http-client/delete/delete.xq (+6/-0)
test/rbkt/Queries/zorba/http-client/delete/delete_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/delete/delete_error_http.xq (+6/-0)
test/rbkt/Queries/zorba/http-client/get-binary/get-binary_binary.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-binary/get-binary_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/get-binary/get-binary_error_http.xq (+5/-0)
test/rbkt/Queries/zorba/http-client/get-binary/get-binary_text.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-binary/get-binary_text_query.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-binary/get-binary_xml.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-binary/get-binary_xml_query.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_binary.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_binary.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_error_http.xq (+5/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_error_invalidxml.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_error_invalidxml.xq (+5/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_text.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_text.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_text_query.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_text_query.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_xml.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-node/get-node_xml_query.xq (+5/-0)
test/rbkt/Queries/zorba/http-client/get-text/get-text_binary.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-text/get-text_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/get-text/get-text_error_http.xq (+5/-0)
test/rbkt/Queries/zorba/http-client/get-text/get-text_text.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-text/get-text_text_query.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-text/get-text_xml.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get-text/get-text_xml_query.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get/get_binary.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get/get_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/get/get_error_http.xq (+5/-0)
test/rbkt/Queries/zorba/http-client/get/get_error_invalidxml.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/get/get_error_invalidxml.xq (+5/-0)
test/rbkt/Queries/zorba/http-client/get/get_text.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get/get_text_query.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get/get_xml.xq (+4/-0)
test/rbkt/Queries/zorba/http-client/get/get_xml_query.xq (+5/-0)
test/rbkt/Queries/zorba/http-client/head/head_content-type_binary.xq (+10/-0)
test/rbkt/Queries/zorba/http-client/head/head_content-type_text.xq (+10/-0)
test/rbkt/Queries/zorba/http-client/head/head_content-type_xml.xq (+10/-0)
test/rbkt/Queries/zorba/http-client/head/head_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/head/head_error_http.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/head/head_status.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/options/options.xq (+3/-0)
test/rbkt/Queries/zorba/http-client/options/options_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/options/options_error_http.xq (+3/-0)
test/rbkt/Queries/zorba/http-client/post/post2_comment.xq (+8/-0)
test/rbkt/Queries/zorba/http-client/post/post2_element.xq (+8/-0)
test/rbkt/Queries/zorba/http-client/post/post2_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/post/post2_error_http.xq (+8/-0)
test/rbkt/Queries/zorba/http-client/post/post2_integer.xq (+7/-0)
test/rbkt/Queries/zorba/http-client/post/post2_string.xq (+7/-0)
test/rbkt/Queries/zorba/http-client/post/post3_binary.xq (+10/-0)
test/rbkt/Queries/zorba/http-client/post/post3_binary_element.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/post/post3_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/post/post3_error_http.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/post/post3_html.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/post/post3_html_br.xq (+10/-0)
test/rbkt/Queries/zorba/http-client/post/post3_text.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/post/post3_xml.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/put/put2_comment.xq (+8/-0)
test/rbkt/Queries/zorba/http-client/put/put2_element.xq (+8/-0)
test/rbkt/Queries/zorba/http-client/put/put2_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/put/put2_error_http.xq (+8/-0)
test/rbkt/Queries/zorba/http-client/put/put2_integer.xq (+7/-0)
test/rbkt/Queries/zorba/http-client/put/put2_string.xq (+7/-0)
test/rbkt/Queries/zorba/http-client/put/put3_binary.xq (+10/-0)
test/rbkt/Queries/zorba/http-client/put/put3_binary_element.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/put/put3_error_http.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/put/put3_error_http.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/put/put3_html.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/put/put3_html_br.xq (+10/-0)
test/rbkt/Queries/zorba/http-client/put/put3_text.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/put/put3_xml.xq (+9/-0)
test/rbkt/Queries/zorba/http-client/send-request/http1-redirect.xq (+16/-0)
test/rbkt/Queries/zorba/http-client/send-request/http2-read-svg.xq (+15/-0)
test/rbkt/Queries/zorba/http-client/send-request/http3-multipart.xq (+34/-0)
test/rbkt/Queries/zorba/http-client/send-request/http3-post.xq (+16/-0)
test/rbkt/Queries/zorba/http-client/send-request/http4-post-redirect.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/send-request/http4-post-redirect.xq (+5/-0)
test/rbkt/Queries/zorba/http-client/send-request/http_error_hc002.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/send-request/http_error_hc002.xq (+6/-0)
test/rbkt/Queries/zorba/http-client/send-request/http_error_hc004.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/send-request/http_error_hc004.xq (+6/-0)
test/rbkt/Queries/zorba/http-client/send-request/http_error_hc005.spec (+1/-0)
test/rbkt/Queries/zorba/http-client/send-request/http_error_hc005.xq (+10/-0)
test/rbkt/Queries/zorba/http-client/send-request/send-request_get_binary.xq (+16/-0)
test/rbkt/Queries/zorba/http-client/send-request/send-request_href.xq (+7/-0)
test/rbkt/Queries/zorba/http_client/external_variable.spec (+0/-3)
test/rbkt/Queries/zorba/http_client/external_variable.xq (+0/-4)
test/rbkt/Queries/zorba/http_client/http-head.xq (+0/-3)
test/rbkt/Queries/zorba/http_client/http-options.xq (+0/-3)
test/rbkt/Queries/zorba/http_client/http1-read.xq (+0/-4)
test/rbkt/Queries/zorba/http_client/http3-simple.xq (+0/-4)
test/rbkt/Queries/zorba/http_client/http_error_hc001.xq (+0/-10)
test/rbkt/Queries/zorba/index/auctions1.xml (+1/-0)
test/rbkt/Queries/zorba/index/auctions1.xq (+180/-51)
test/rbkt/Queries/zorba/index/auctions1u.xq (+2/-0)
test/rbkt/Queries/zorba/index/auctions2.xq (+25/-0)
test/rbkt/Queries/zorba/index/auctions2u.xq (+175/-0)
test/rbkt/Queries/zorba/index/auctions_module1.xqlib (+38/-24)
test/rbkt/Queries/zorba/index/available.xq (+5/-5)
test/rbkt/Queries/zorba/index/count.xq (+5/-0)
test/rbkt/Queries/zorba/index/count.xqlib (+82/-0)
test/rbkt/Queries/zorba/index/declare_index/declare_01.spec (+1/-1)
test/rbkt/Queries/zorba/index/declare_index/declare_01.xqlib (+4/-2)
test/rbkt/Queries/zorba/index/declare_index/declare_02.spec (+1/-1)
test/rbkt/Queries/zorba/index/declare_index/declare_02.xqlib (+4/-2)
test/rbkt/Queries/zorba/index/declare_index/declare_03.spec (+1/-1)
test/rbkt/Queries/zorba/index/declare_index/declare_03.xqlib (+4/-2)
test/rbkt/Queries/zorba/index/declare_index/declare_04.spec (+1/-1)
test/rbkt/Queries/zorba/index/declare_index/declare_04.xq (+2/-2)
test/rbkt/Queries/zorba/index/declare_index/declare_04.xqlib (+5/-3)
test/rbkt/Queries/zorba/index/declare_index/declare_05.spec (+1/-1)
test/rbkt/Queries/zorba/index/declare_index/declare_05.xqlib (+3/-1)
test/rbkt/Queries/zorba/index/declared.xqlib (+5/-3)
test/rbkt/Queries/zorba/index/delete_from_collection_01.xq (+13/-0)
test/rbkt/Queries/zorba/index/delete_from_collection_01.xqlib (+42/-0)
test/rbkt/Queries/zorba/index/error1.spec (+1/-1)
test/rbkt/Queries/zorba/index/error1.xq (+1/-1)
test/rbkt/Queries/zorba/index/error2.spec (+1/-1)
test/rbkt/Queries/zorba/index/error2.xq (+1/-1)
test/rbkt/Queries/zorba/index/error3.spec (+1/-1)
test/rbkt/Queries/zorba/index/error3.xq (+1/-1)
test/rbkt/Queries/zorba/index/error4.spec (+1/-1)
test/rbkt/Queries/zorba/index/error4.xq (+3/-3)
test/rbkt/Queries/zorba/index/error_module1.xqlib (+3/-1)
test/rbkt/Queries/zorba/index/error_module2.xqlib (+3/-1)
test/rbkt/Queries/zorba/index/error_module3.xqlib (+2/-1)
test/rbkt/Queries/zorba/index/index_does_not_exist.spec (+1/-1)
test/rbkt/Queries/zorba/index/index_does_not_exist.xq (+5/-5)
test/rbkt/Queries/zorba/index/index_does_not_exist.xqlib (+5/-3)
test/rbkt/Queries/zorba/index/index_does_not_exist_2.spec (+1/-1)
test/rbkt/Queries/zorba/index/index_does_not_exist_2.xq (+1/-1)
test/rbkt/Queries/zorba/index/index_exists_already.spec (+1/-1)
test/rbkt/Queries/zorba/index/index_exists_already.xq (+5/-5)
test/rbkt/Queries/zorba/index/index_probe_range.spec (+1/-1)
test/rbkt/Queries/zorba/index/index_probe_range.xq (+2/-2)
test/rbkt/Queries/zorba/index/keys1.xq (+22/-0)
test/rbkt/Queries/zorba/index/keys1g.xq (+28/-0)
test/rbkt/Queries/zorba/index/keys2.xq (+22/-0)
test/rbkt/Queries/zorba/index/keys3.xq (+21/-0)
test/rbkt/Queries/zorba/index/keys_mod.xqlib (+40/-0)
test/rbkt/Queries/zorba/index/numbers.xml (+45/-0)
test/rbkt/Queries/zorba/index/numbers.xq (+75/-0)
test/rbkt/Queries/zorba/index/numbers.xqlib (+37/-0)
test/rbkt/Queries/zorba/index/numbers.xsd (+10/-0)
test/rbkt/Queries/zorba/index/numbers2.xq (+92/-0)
test/rbkt/Queries/zorba/index/paging.xq (+37/-0)
test/rbkt/Queries/zorba/index/paging.xqlib (+47/-0)
test/rbkt/Queries/zorba/index/probe_index_invalid_params.spec (+1/-1)
test/rbkt/Queries/zorba/index/probe_index_invalid_params.xq (+2/-2)
test/rbkt/Queries/zorba/index/remove_collection_with_index.spec (+1/-1)
test/rbkt/Queries/zorba/index/remove_collection_with_index.xq (+3/-3)
test/rbkt/Queries/zorba/index/remove_collection_with_index.xqlib (+3/-1)
test/rbkt/Queries/zorba/index/undo1.xq (+73/-0)
test/rbkt/Queries/zorba/index/undo2.xq (+43/-0)
test/rbkt/Queries/zorba/index/undo2.xqlib (+39/-0)
test/rbkt/Queries/zorba/index/undo3.xq (+59/-0)
test/rbkt/Queries/zorba/index/undo4.xq (+145/-0)
test/rbkt/Queries/zorba/index/undo4.xqlib (+43/-0)
test/rbkt/Queries/zorba/index/unique.xq (+50/-0)
test/rbkt/Queries/zorba/index/unique.xqlib (+37/-0)
test/rbkt/Queries/zorba/introspection/introsp-vars-1.xq (+3/-1)
test/rbkt/Queries/zorba/json/json-invalid-option-parameter.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-invalid-option-parameter.xq (+10/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-01.xq (+9/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-02.xq (+14/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-03.xq (+18/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-04.xq (+27/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-05.xq (+66/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-06.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-06.xq (+10/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-07.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-07.xq (+14/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-parse-wikipedia.xq (+23/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-serialize-01.xq (+10/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-serialize-02.xq (+13/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-serialize-03.xq (+10/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-serialize-indent-wikipedia.xq (+20/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-serialize-none-wikipedia.xq (+19/-0)
test/rbkt/Queries/zorba/json/json-jsonml_array-serialize-some-wikipedia.xq (+20/-0)
test/rbkt/Queries/zorba/json/json-snelson-invalid-json.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-invalid-json.xq (+9/-0)
test/rbkt/Queries/zorba/json/json-snelson-null-handling.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-numbers-and-decimals.xq (+10/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-array-01.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-array-02.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-array-03.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-array-04.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-array-05.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-array-06.xq (+7/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-array-07.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-array-08.xq (+7/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-empty.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-empty.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-example.xq (+20/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-object-01.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-object-02.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-object-03.xq (+7/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-object-04.xq (+12/-0)
test/rbkt/Queries/zorba/json/json-snelson-parse-serialize.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-01.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-02.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-03.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-04.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-05.xq (+9/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-06.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-06.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-07.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-07.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-08.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-08.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-09.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-09.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-10.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-10.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-11.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-11.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-array-12.xq (+11/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-comment-node.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-comment-node.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-indent-example.xq (+24/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-invalid-value-for-attribute.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-invalid-value-for-attribute.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-none-example.xq (+19/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-object-01.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-object-02.xq (+9/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-object-03.xq (+12/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-parse.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-some-example.xq (+24/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-type-value-missing.spec (+1/-0)
test/rbkt/Queries/zorba/json/json-snelson-serialize-type-value-missing.xq (+8/-0)
test/rbkt/Queries/zorba/json/json-snelson-uncommon-chars.xq (+5/-0)
test/rbkt/Queries/zorba/json/json-snelson-utf-8.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/arr_append_01.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_01.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_02.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_03.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_14.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_15.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_16.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_17.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_18.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_21.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_210.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_211.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_212.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_213.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_22.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_23.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_24.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_25.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_26.xq (+8/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_27.xq (+8/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_28.xq (+8/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_29.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_3_1.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_3_2.xq (+8/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_3_3.xq (+8/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_3_4.xq (+12/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_3_5.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_3_6.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_3_7.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_4_1.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_4_2.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_4_3.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_5_1.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_5_2.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_6_1.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_6_2.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_6_3.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_7_1.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_7_2.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_7_3.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_7_4.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_7_5.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_constr_7_6.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_01.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_02.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_03.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_04.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_04.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_05.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_05.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_06.xq (+8/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_07.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_07.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_08.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_08.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/arr_delete_09.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/arr_insert_01.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_insert_01.xq (+12/-0)
test/rbkt/Queries/zorba/jsoniq/arr_insert_02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_insert_02.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/arr_insert_03.xq (+42/-0)
test/rbkt/Queries/zorba/jsoniq/arr_insert_04.xq (+13/-0)
test/rbkt/Queries/zorba/jsoniq/arr_insert_05.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/arr_insert_06.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_insert_06.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/arr_mixed_01.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/arr_mixed_undo_01.xq (+20/-0)
test/rbkt/Queries/zorba/jsoniq/arr_replace_01.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_replace_01.xq (+13/-0)
test/rbkt/Queries/zorba/jsoniq/arr_update_01.xq (+12/-0)
test/rbkt/Queries/zorba/jsoniq/arr_update_02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/arr_update_02.xq (+13/-0)
test/rbkt/Queries/zorba/jsoniq/coll_dyn_01.xq (+57/-0)
test/rbkt/Queries/zorba/jsoniq/coll_dyn_02.spec (+2/-0)
test/rbkt/Queries/zorba/jsoniq/coll_dyn_02.xq (+16/-0)
test/rbkt/Queries/zorba/jsoniq/coll_dyn_03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/coll_dyn_03.xq (+95/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-collection-update.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-collection-update.xq (+36/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-collection.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-collection.xq (+15/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-index-general-point.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-index-general-point.xq (+16/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-index-point-maintenance.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-index-point-maintenance.xq (+35/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-index-point.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-index-point.xq (+15/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-index-range.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-index-range.xq (+16/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf_module-no-index.xqlib (+54/-0)
test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf_module-with-index.xqlib (+113/-0)
test/rbkt/Queries/zorba/jsoniq/data01.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/data01.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/data02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/data02.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/data03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/data03.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/data04.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/data04.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/ebv01.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/ebv02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/ebv02.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/ebv03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/ebv03.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/empty_member01.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/flatten_01.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/jn_accumulate.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jn_accumulate.xq (+15/-0)
test/rbkt/Queries/zorba/jsoniq/jn_descendant_objects.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jn_descendant_objects.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/jn_descendant_pairs.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jn_descendant_pairs.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/jn_intersect.xq (+20/-0)
test/rbkt/Queries/zorba/jsoniq/jn_values.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0003-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0003-1.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0003-2.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0003-2.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0018-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0018-1.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0018-2.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0018-2.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0018-3.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0018-3.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0018-4.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jndy0018-4.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0004-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0004-1.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0004-2.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0004-2.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-1.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-2.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-2.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-4.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-4.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-5.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-5.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-6.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-6.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-7.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0007-7.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-1.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-2.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-2.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-3.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-3.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-4.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-4.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-5.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-5.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-6.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-6.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-7.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-7.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-8.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0008-8.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0005.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0005.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0006.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0006.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0009-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0009-1.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0009-2.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0009-2.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0010.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0010.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0011-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0011-1.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0011-2.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnup0011-2.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/member_01.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/member_03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/member_03.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/names_01.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/names_02.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/null01.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/null02.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/null03.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/null04.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/null05.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/null06.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/null07.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/null08.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_01.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_02.xq (+13/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_03.xq (+15/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_04.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_04.xq (+15/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_05.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_05.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_06.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_07.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_08.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_09.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_10.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_11.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_constr_12.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_01.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_02.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_03.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_05.spec (+2/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_05.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_06.xq (+12/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_07.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_07.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_08.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_08.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/obj_delete_09.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_01.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_02.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_03.xq (+8/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_04.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_04.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_05.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_06.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_07.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_08.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_09.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_10.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_11.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_12.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_12.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_13.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_14.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_15.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_15.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_16.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_insert_16.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_01.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_02.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_03.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_04.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_04.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_05.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_05.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/obj_rename_06.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/obj_replace_01.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/obj_replace_02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_replace_02.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/obj_replace_03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/obj_replace_03.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/obj_replace_04.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/obj_replace_05.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/obj_update_01.xq (+11/-0)
test/rbkt/Queries/zorba/jsoniq/obj_update_02.xq (+12/-0)
test/rbkt/Queries/zorba/jsoniq/object_01.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/object_02.xq (+16/-0)
test/rbkt/Queries/zorba/jsoniq/object_03.xq (+18/-0)
test/rbkt/Queries/zorba/jsoniq/pair-constructor-atomize-array.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/pair-constructor-atomize-array.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/pair-constructor-atomize-node.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/pair-constructor-atomize-object.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/pair-constructor-atomize-object.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/pair-constructor-cast.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/pair-constructor-empty-sequence.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/pair-constructor-empty-sequence.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/pair-name-cast-1.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/pair-name-cast-2.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/pair_01.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/pair_value_boxing_01.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/pair_value_boxing_02.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-01.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-02.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-02.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-03.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-04.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-04.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-05.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-06.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-07.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-07.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-08.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/parse_json-08.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/prefixed_true.spec (+2/-0)
test/rbkt/Queries/zorba/jsoniq/prefixed_true.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/project_01.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/project_01.xq (+14/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/decode_01.xq (+32/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/decode_02.xq (+6/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/decode_03.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/decode_03.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/decode_04.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/decode_05.xq (+37/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_01.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_02.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_03.xq (+9/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_04.xq (+15/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_05.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_05.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_06.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_06.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_07.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_07.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_08.xq (+11/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_09.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encode_10.xq (+8/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/encoded_01.json (+1/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/roundtrip_01.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/roundtrip_02.xq (+27/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/roundtrip_03.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/roundtrip_04.xq (+8/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/roundtrip_05.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/roundtrip_06.xq (+15/-0)
test/rbkt/Queries/zorba/jsoniq/roundtrip/simple.xsd (+14/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-JNSE0022.xq (+38/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-allow-mixed-1.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-allow-mixed-2.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-disallow-mixed-1.spec (+2/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-disallow-mixed-1.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-disallow-mixed-2.spec (+2/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-disallow-mixed-2.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-disallow-mixed-3.spec (+2/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-disallow-mixed-3.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-disallow-mixed-4.spec (+2/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-disallow-mixed-4.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-nested-xml_01.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-nested-xml_02.spec (+2/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-nested-xml_02.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/string01.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/string01.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/string_escapes.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/true_false_null.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/true_false_null.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/use_case01.xq (+30/-0)
test/rbkt/Queries/zorba/jsoniq/use_case01_2.xq (+29/-0)
test/rbkt/Queries/zorba/jsoniq/use_case02.xq (+26/-0)
test/rbkt/Queries/zorba/jsoniq/use_case03.xq (+67/-0)
test/rbkt/Queries/zorba/jsoniq/use_case04.xq (+38/-0)
test/rbkt/Queries/zorba/jsoniq/use_case05.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/use_case05.xml (+44/-0)
test/rbkt/Queries/zorba/jsoniq/use_case05.xq (+10/-0)
test/rbkt/Queries/zorba/jsoniq/use_case06.xq (+16/-0)
test/rbkt/Queries/zorba/jsoniq/use_case07.xq (+34/-0)
test/rbkt/Queries/zorba/jsoniq/use_case08.xq (+24/-0)
test/rbkt/Queries/zorba/jsoniq/use_case09.xq (+33/-0)
test/rbkt/Queries/zorba/jsoniq/use_case10.xq (+20/-0)
test/rbkt/Queries/zorba/jsoniq/use_case11.xq (+60/-0)
test/rbkt/Queries/zorba/jsoniq/value_01.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/values_01.xq (+7/-0)
test/rbkt/Queries/zorba/jsoniq/zips.json (+29470/-0)
test/rbkt/Queries/zorba/misc/baseuri.xml (+1/-0)
test/rbkt/Queries/zorba/misc/baseuri.xq (+2/-0)
test/rbkt/Queries/zorba/misc/books.xml (+10/-0)
test/rbkt/Queries/zorba/misc/context-item-decl01.spec (+1/-0)
test/rbkt/Queries/zorba/misc/context-item-decl01.xq (+5/-0)
test/rbkt/Queries/zorba/misc/data.xml (+1/-0)
test/rbkt/Queries/zorba/misc/dataguide.xq (+27/-0)
test/rbkt/Queries/zorba/misc/guestbook.xq (+28/-0)
test/rbkt/Queries/zorba/misc/guestbook.xqlib (+46/-0)
test/rbkt/Queries/zorba/misc/hoist_error.spec (+1/-0)
test/rbkt/Queries/zorba/misc/hoist_error.xq (+8/-0)
test/rbkt/Queries/zorba/misc/misc4.xq (+20/-0)
test/rbkt/Queries/zorba/misc/misc5.xq (+16/-0)
test/rbkt/Queries/zorba/misc/validate1.xq (+15/-0)
test/rbkt/Queries/zorba/modules/dupl_func_decl.spec (+1/-0)
test/rbkt/Queries/zorba/modules/dupl_func_decl.xq (+4/-0)
test/rbkt/Queries/zorba/modules/dupl_func_decl.xqlib (+10/-0)
test/rbkt/Queries/zorba/modules/extvarModule-A.xqlib (+1/-0)
test/rbkt/Queries/zorba/modules/import_fn.xq (+3/-0)
test/rbkt/Queries/zorba/modules/import_fn_math.xq (+2/-0)
test/rbkt/Queries/zorba/modules/libraryModule15.xqlib (+8/-3)
test/rbkt/Queries/zorba/modules/mainModule16.xq (+3/-1)
test/rbkt/Queries/zorba/modules/modules-28.spec (+1/-1)
test/rbkt/Queries/zorba/no-copy/auction.xml (+2182/-0)
test/rbkt/Queries/zorba/no-copy/books.xml (+25/-0)
test/rbkt/Queries/zorba/no-copy/dataguide-c.xq (+85/-0)
test/rbkt/Queries/zorba/no-copy/dataguide-nc.xq (+91/-0)
test/rbkt/Queries/zorba/no-copy/dataguide2-c.xq (+33/-0)
test/rbkt/Queries/zorba/no-copy/dataguide2-nc.xq (+38/-0)
test/rbkt/Queries/zorba/no-copy/dblp-q0.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/dblp-q0.xq (+32/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-9065.xq (+9/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-9198.xq (+13/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-9199.xq (+11/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-9212.xq (+15/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-9389.xq (+13/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-9390.xq (+15/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-9392.xq (+14/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-gary1.xq (+42/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-idx1.xq (+12/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-idx4.xq (+33/-0)
test/rbkt/Queries/zorba/no-copy/hashjoin-q8.xq (+17/-0)
test/rbkt/Queries/zorba/no-copy/parser_test.xq (+3/-0)
test/rbkt/Queries/zorba/no-copy/path17.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/path17.xq (+12/-0)
test/rbkt/Queries/zorba/no-copy/q1.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q1.xq (+9/-0)
test/rbkt/Queries/zorba/no-copy/q10.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q10.xq (+36/-0)
test/rbkt/Queries/zorba/no-copy/q11.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q11.xq (+13/-0)
test/rbkt/Queries/zorba/no-copy/q12.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q12.xq (+16/-0)
test/rbkt/Queries/zorba/no-copy/q13.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q13.xq (+9/-0)
test/rbkt/Queries/zorba/no-copy/q14.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q14.xq (+11/-0)
test/rbkt/Queries/zorba/no-copy/q15.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q15.xq (+10/-0)
test/rbkt/Queries/zorba/no-copy/q16.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q16.xq (+17/-0)
test/rbkt/Queries/zorba/no-copy/q17.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q17.xq (+10/-0)
test/rbkt/Queries/zorba/no-copy/q18.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q18.xq (+17/-0)
test/rbkt/Queries/zorba/no-copy/q19.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q19.xq (+13/-0)
test/rbkt/Queries/zorba/no-copy/q2.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q2.xq (+10/-0)
test/rbkt/Queries/zorba/no-copy/q20.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q20.xq (+34/-0)
test/rbkt/Queries/zorba/no-copy/q21.xq (+86/-0)
test/rbkt/Queries/zorba/no-copy/q3.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q3.xq (+14/-0)
test/rbkt/Queries/zorba/no-copy/q4.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q4.xq (+14/-0)
test/rbkt/Queries/zorba/no-copy/q5.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q5.xq (+13/-0)
test/rbkt/Queries/zorba/no-copy/q6.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q6.xq (+10/-0)
test/rbkt/Queries/zorba/no-copy/q7.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q7.xq (+11/-0)
test/rbkt/Queries/zorba/no-copy/q8.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q8.xq (+14/-0)
test/rbkt/Queries/zorba/no-copy/q9.spec (+3/-0)
test/rbkt/Queries/zorba/no-copy/q9.xq (+20/-0)
test/rbkt/Queries/zorba/no-copy/ser_01.xq (+20/-0)
test/rbkt/Queries/zorba/no-copy/ser_02.xq (+18/-0)
test/rbkt/Queries/zorba/no-copy/ser_03.xq (+18/-0)
test/rbkt/Queries/zorba/no-copy/simple.xsd (+27/-0)
test/rbkt/Queries/zorba/no-copy/simple_parser.xqlib (+2207/-0)
test/rbkt/Queries/zorba/no-copy/test1.xq (+17/-0)
test/rbkt/Queries/zorba/no-copy/test2.xq (+14/-0)
test/rbkt/Queries/zorba/no-copy/test3.xq (+12/-0)
test/rbkt/Queries/zorba/no-copy/test4.xq (+17/-0)
test/rbkt/Queries/zorba/no-copy/test5.xq (+16/-0)
test/rbkt/Queries/zorba/no-copy/udfs1.xq (+33/-0)
test/rbkt/Queries/zorba/no-copy/udfs2.xq (+31/-0)
test/rbkt/Queries/zorba/no-copy/udfs3.xq (+14/-0)
test/rbkt/Queries/zorba/no-copy/udfs4.xq (+96/-0)
test/rbkt/Queries/zorba/nodes/copy01.xq (+10/-0)
test/rbkt/Queries/zorba/nodes/path.xq (+9/-0)
test/rbkt/Queries/zorba/nodes/position.xml (+15/-0)
test/rbkt/Queries/zorba/nodes/position_1.xq (+97/-0)
test/rbkt/Queries/zorba/nodes/position_1_parsed.xq (+98/-0)
test/rbkt/Queries/zorba/nodes/position_2.xq (+157/-0)
test/rbkt/Queries/zorba/nodes/position_2_parsed.xq (+156/-0)
test/rbkt/Queries/zorba/nodes/position_3.xq (+32/-0)
test/rbkt/Queries/zorba/nodes/position_3_parsed.xq (+34/-0)
test/rbkt/Queries/zorba/nodes/position_4.xq (+84/-0)
test/rbkt/Queries/zorba/nodes/position_4_parsed.xq (+81/-0)
test/rbkt/Queries/zorba/nodes/position_err.xq (+60/-0)
test/rbkt/Queries/zorba/nondeterministic/datetime.xq (+1/-1)
test/rbkt/Queries/zorba/numerics/comp01.xq (+1/-0)
test/rbkt/Queries/zorba/optim/flwor_vars_01.xq (+10/-0)
test/rbkt/Queries/zorba/optim/flwor_vars_02.xq (+29/-0)
test/rbkt/Queries/zorba/optim/hoist01.xq (+6/-0)
test/rbkt/Queries/zorba/optim/hoist01.xqlib (+39/-0)
test/rbkt/Queries/zorba/optim/pos_pred1.xq (+13/-0)
test/rbkt/Queries/zorba/optim/pos_pred10.xq (+1/-0)
test/rbkt/Queries/zorba/optim/pos_pred11.xq (+3/-0)
test/rbkt/Queries/zorba/optim/pos_pred12.xq (+37/-0)
test/rbkt/Queries/zorba/optim/pos_pred13.xq (+3/-0)
test/rbkt/Queries/zorba/optim/pos_pred2.xq (+16/-0)
test/rbkt/Queries/zorba/optim/pos_pred3.xq (+9/-0)
test/rbkt/Queries/zorba/optim/pos_pred4.xq (+13/-0)
test/rbkt/Queries/zorba/optim/pos_pred5.xq (+6/-0)
test/rbkt/Queries/zorba/optim/pos_pred6.xq (+5/-0)
test/rbkt/Queries/zorba/optim/pos_pred7.xq (+7/-0)
test/rbkt/Queries/zorba/optim/pos_pred8.xq (+7/-0)
test/rbkt/Queries/zorba/optim/pos_pred9.xq (+7/-0)
test/rbkt/Queries/zorba/optim/positioned-access.xq (+12/-0)
test/rbkt/Queries/zorba/optim/trycatch_hoist_01.xq (+17/-0)
test/rbkt/Queries/zorba/optim/var_inline_01.xq (+6/-0)
test/rbkt/Queries/zorba/optim/var_inline_02.xq (+5/-0)
test/rbkt/Queries/zorba/optim/var_inline_03.xq (+8/-0)
test/rbkt/Queries/zorba/optim/var_inline_04.xq (+8/-0)
test/rbkt/Queries/zorba/optim/var_inline_05.xq (+11/-0)
test/rbkt/Queries/zorba/options/unknown_1.spec (+1/-0)
test/rbkt/Queries/zorba/options/unknown_1.xq (+6/-0)
test/rbkt/Queries/zorba/options/unknown_2.xq (+7/-0)
test/rbkt/Queries/zorba/parser/shebang/shebang-01.xq (+2/-0)
test/rbkt/Queries/zorba/parser/shebang/shebang-02.xq (+3/-0)
test/rbkt/Queries/zorba/parser/shebang/shebang-03.spec (+1/-0)
test/rbkt/Queries/zorba/parser/shebang/shebang-03.xq (+3/-0)
test/rbkt/Queries/zorba/parser/shebang/shebang-04.spec (+1/-0)
test/rbkt/Queries/zorba/parser/shebang/shebang-04.xq (+4/-0)
test/rbkt/Queries/zorba/parser/shebang/shebang-05.spec (+1/-0)
test/rbkt/Queries/zorba/parser/shebang/shebang-05.xq (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/Comment_unterminated.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/Comment_unterminated.xq (+12/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/DirElemConstructor_no_closing_tag.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/DirElemConstructor_no_closing_tag.xq (+6/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/DirElemConstructor_unterminated.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/DirElemConstructor_unterminated.xq (+6/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/NumericLiteral_invalid.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/NumericLiteral_invalid.xq (+6/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/StringLiteral_unterminated.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/StringLiteral_unterminated.xq (+6/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/entity_reference.spec (+2/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/entity_reference.xq (+7/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/eval_old.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/eval_old.xq (+9/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/mismatched-tags-01.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/mismatched-tags-01.xq (+20/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing-comma.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing-comma.xq (+9/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing_semicolon_1.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing_semicolon_1.xq (+11/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing_semicolon_2.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing_semicolon_2.xq (+10/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing_semicolon_3.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing_semicolon_3.xq (+12/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing_semicolon_4.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/missing_semicolon_4.xq (+12/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected-qname-01.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected-qname-01.xq (+7/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected-qname-02.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected-qname-02.xq (+8/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected_character_1.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected_character_1.xq (+6/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected_character_2.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected_character_2.xq (+6/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected_eof.spec (+1/-0)
test/rbkt/Queries/zorba/parser/syntax-errors/unexpected_eof.xq (+6/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-01.xq (+5/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-02.xq (+5/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-03.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-04.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-05.xq (+37/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-06.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-07.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-07.xq (+11/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-08.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-08.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-09.xq (+58/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-10.xq (+2/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-11.xq (+30/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-12.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-12.xq (+6/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-13.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-13.xq (+4/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-14.xq (+6/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-15.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-16.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-17.xq (+2/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-18.xq (+2/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-19.xq (+3/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-20.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-21.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-22.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-23.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-24.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn-parse-xml-fragment-25.xq (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/fn_parse-xml_14.xq (+0/-1)
test/rbkt/Queries/zorba/parsing_and_serializing/fn_parse-xml_15.spec (+0/-1)
test/rbkt/Queries/zorba/parsing_and_serializing/fn_parse-xml_15.xq (+0/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/fn_parse-xml_16.spec (+0/-1)
test/rbkt/Queries/zorba/parsing_and_serializing/fn_parse-xml_16.xq (+0/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-01.xq (+12/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-02.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-03.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-04.xq (+14/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-05.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-06.xq (+12/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-07.xq (+15/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-08.xq (+12/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-09.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-09.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-10.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-10.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-11.xq (+15/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-12.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-doctype-12.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-01.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-02.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-03.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-04.xq (+19/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-05.xq (+19/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-06.xq (+19/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-07.xq (+19/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-08.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-09.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-10.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-11.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-12.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-13.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-14.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-15.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-16.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-17.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-18.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-19.xq (+15/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-20.xq (+15/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-21.xq (+15/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-22.xq (+15/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-23.xq (+15/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-24.xq (+16/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-25.xq (+21/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-26.xq (+21/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-27.xq (+21/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-28.xq (+21/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-29.xq (+21/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-30.xq (+21/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-31.xq (+65/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-32.xq (+65/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-33.xq (+65/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-34.xq (+65/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-35.xq (+65/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-36.xq (+65/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-37.xq (+20/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-38.xq (+20/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-39.xq (+20/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-40.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-41.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-42.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-43.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-44.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-45.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-46.xq (+37/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-47.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-47.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-48.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-48.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-49.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-49.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-50.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-50.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-51.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-51.xq (+11/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-52.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-52.xq (+11/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-53.xq (+13/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-54.xq (+14/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-55.xq (+14/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-56.xq (+14/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-01.xq (+6/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-02.xq (+6/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-03.xq (+6/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-04.xq (+6/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-05.xq (+8/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-06.xq (+6/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-07.xq (+6/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-08.xq (+7/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-09.xq (+6/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-10.xq (+2/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-11.xq (+7/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-12.xq (+12/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-13.xq (+10/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-14.xq (+44/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-15.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-16.xq (+14/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-17.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-17.xq (+18/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-18.spec (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-18.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-19.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-20.xq (+10/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-21.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-22.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-23.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-24.xq (+9/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-25.xq (+10/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-26.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-27.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-28.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-29.xq (+8/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-30.xq (+10/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-31.xq (+16/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-32.xq (+12/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-33.xq (+16/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/streamable.xml (+1/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/wiki.xml (+18/-0)
test/rbkt/Queries/zorba/paths/path28.xq (+2/-0)
test/rbkt/Queries/zorba/pul-schema/create-collection.xq (+18/-0)
test/rbkt/Queries/zorba/pul-schema/empty-pul.xq (+5/-0)
test/rbkt/Queries/zorba/pul-schema/insert-into-collection.xq (+12/-0)
test/rbkt/Queries/zorba/random/randbetween1.xq (+0/-4)
test/rbkt/Queries/zorba/random/randbetween2.xq (+0/-4)
test/rbkt/Queries/zorba/random/randbetween3.spec (+0/-1)
test/rbkt/Queries/zorba/random/randbetween3.xq (+0/-4)
test/rbkt/Queries/zorba/random/random1.xq (+3/-0)
test/rbkt/Queries/zorba/random/seeded-random-between1.xq (+18/-0)
test/rbkt/Queries/zorba/random/seeded-random1.xq (+16/-0)
test/rbkt/Queries/zorba/reference/collections.xqdata (+4/-1)
test/rbkt/Queries/zorba/reference/error.spec (+0/-4)
test/rbkt/Queries/zorba/reference/error.xq (+0/-6)
test/rbkt/Queries/zorba/reference/reference.xqlib (+3/-0)
test/rbkt/Queries/zorba/reference/reference_1.xq (+13/-0)
test/rbkt/Queries/zorba/reference/reference_2.xq (+14/-0)
test/rbkt/Queries/zorba/reference/reference_3.xq (+33/-0)
test/rbkt/Queries/zorba/reference/reference_4.spec (+1/-0)
test/rbkt/Queries/zorba/reference/reference_4.xq (+3/-0)
test/rbkt/Queries/zorba/reference/reference_5.xq (+29/-0)
test/rbkt/Queries/zorba/reference/reference_coll_1.xq (+1/-1)
test/rbkt/Queries/zorba/reference/reference_coll_2.xq (+1/-1)
test/rbkt/Queries/zorba/reference/reference_coll_3.xq (+1/-1)
test/rbkt/Queries/zorba/reference/reference_coll_4.xq (+20/-0)
test/rbkt/Queries/zorba/reference/reference_coll_5.xq (+21/-0)
test/rbkt/Queries/zorba/reference/reference_doc_example_01.spec (+0/-3)
test/rbkt/Queries/zorba/reference/reference_doc_example_01.xq (+0/-7)
test/rbkt/Queries/zorba/reference/reference_doc_example_02.spec (+0/-3)
test/rbkt/Queries/zorba/reference/reference_doc_example_02.xq (+0/-8)
test/rbkt/Queries/zorba/reflection/client.xqlib (+25/-0)
test/rbkt/Queries/zorba/reflection/reflection-eval-01.xq (+4/-0)
test/rbkt/Queries/zorba/reflection/reflection-eval-02.xq (+5/-0)
test/rbkt/Queries/zorba/reflection/reflection-eval-03.xq (+7/-0)
test/rbkt/Queries/zorba/reflection/reflection-eval-04.spec (+1/-0)
test/rbkt/Queries/zorba/reflection/reflection-eval-04.xq (+5/-0)
test/rbkt/Queries/zorba/reflection/reflection-invoke-01.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-02.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-03.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-04.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-05.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-06.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-07.xq (+2/-2)
test/rbkt/Queries/zorba/reflection/reflection-invoke-08.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-09.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-10.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-11.xq (+4/-0)
test/rbkt/Queries/zorba/reflection/reflection-invoke-12.xq (+4/-0)
test/rbkt/Queries/zorba/reflection/reflection-invoke-13.xq (+4/-0)
test/rbkt/Queries/zorba/reflection/reflection-invoke-90.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-91.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-92.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-93.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-94.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-95.xq (+1/-1)
test/rbkt/Queries/zorba/reflection/reflection-invoke-96.xq (+1/-1)
test/rbkt/Queries/zorba/schemas/extracontent.xsd (+9/-0)
test/rbkt/Queries/zorba/schemas/incl-base.xsd (+13/-0)
test/rbkt/Queries/zorba/schemas/incl-extensions.xsd (+20/-0)
test/rbkt/Queries/zorba/schemas/include.xq (+4/-0)
test/rbkt/Queries/zorba/schemas/local-xhtml.spec (+1/-0)
test/rbkt/Queries/zorba/schemas/local-xhtml.xq (+6/-0)
test/rbkt/Queries/zorba/schemas/val-1.xq (+11/-11)
test/rbkt/Queries/zorba/schemas/val-2.xq (+11/-11)
test/rbkt/Queries/zorba/schemas/val-attInSimpleContent-err.spec (+1/-0)
test/rbkt/Queries/zorba/schemas/val-attInSimpleContent-err.xq (+9/-0)
test/rbkt/Queries/zorba/schemas/val-elmInSimpleContent-err2.spec (+1/-0)
test/rbkt/Queries/zorba/schemas/val-elmInSimpleContent-err2.xq (+10/-0)
test/rbkt/Queries/zorba/schemas/val-elmInSimpleContent-err3.spec (+1/-0)
test/rbkt/Queries/zorba/schemas/val-elmInSimpleContent-err3.xq (+10/-0)
test/rbkt/Queries/zorba/schemas/val-inplace-err2.spec (+1/-0)
test/rbkt/Queries/zorba/schemas/val-inplace-err2.xq (+23/-0)
test/rbkt/Queries/zorba/schemas/val-inplace-err2.xsd (+18/-0)
test/rbkt/Queries/zorba/schemas/val-inplace-err3.spec (+1/-0)
test/rbkt/Queries/zorba/schemas/val-inplace-err3.xq (+11/-0)
test/rbkt/Queries/zorba/schemas/val-inplace-err4.spec (+1/-0)
test/rbkt/Queries/zorba/schemas/val-inplace-err4.xq (+11/-0)
test/rbkt/Queries/zorba/schemas/val-inplace3.xq (+22/-0)
test/rbkt/Queries/zorba/schemas/val-inplace3.xsd (+13/-0)
test/rbkt/Queries/zorba/schemas/val-inplace4.xq (+40/-0)
test/rbkt/Queries/zorba/schemas/val-inplace4.xsd (+26/-0)
test/rbkt/Queries/zorba/schemas/val-lax.xq (+11/-11)
test/rbkt/Queries/zorba/schemas/val-type.xq (+3/-3)
test/rbkt/Queries/zorba/schemas/val-xsiType-noSchemaImport.xq (+11/-0)
test/rbkt/Queries/zorba/schemas/val-xsitype.xq (+13/-13)
test/rbkt/Queries/zorba/schemas/validate_xqdoc_01.xq (+4/-0)
test/rbkt/Queries/zorba/schemas/validate_xqdoc_02.xq (+4/-0)
test/rbkt/Queries/zorba/scripting/break0.spec (+1/-0)
test/rbkt/Queries/zorba/scripting/break0.xq (+2/-0)
test/rbkt/Queries/zorba/scripting/constr1.xq (+1/-0)
test/rbkt/Queries/zorba/scripting/constr2.xq (+4/-0)
test/rbkt/Queries/zorba/scripting/constr3.xq (+4/-0)
test/rbkt/Queries/zorba/scripting/constr4.xq (+7/-0)
test/rbkt/Queries/zorba/scripting/constr5.xq (+8/-0)
test/rbkt/Queries/zorba/scripting/disable_scripting.spec (+1/-0)
test/rbkt/Queries/zorba/scripting/disable_scripting.xq (+5/-0)
test/rbkt/Queries/zorba/scripting/enclosed-expr-01.spec (+1/-0)
test/rbkt/Queries/zorba/scripting/enclosed-expr-01.xq (+1/-0)
test/rbkt/Queries/zorba/scripting/enclosed-expr-02.xq (+1/-0)
test/rbkt/Queries/zorba/scripting/enclosed-expr-03.spec (+1/-0)
test/rbkt/Queries/zorba/scripting/enclosed-expr-03.xq (+1/-0)
test/rbkt/Queries/zorba/scripting/enclosed-expr-04.xq (+1/-0)
test/rbkt/Queries/zorba/scripting/enclosed-expr-05.spec (+1/-0)
test/rbkt/Queries/zorba/scripting/enclosed-expr-05.xq (+1/-0)
test/rbkt/Queries/zorba/scripting/exit1.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/exit5.xq (+2/-2)
test/rbkt/Queries/zorba/scripting/exit6.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/exit7.spec (+1/-0)
test/rbkt/Queries/zorba/scripting/exit7.xq (+11/-0)
test/rbkt/Queries/zorba/scripting/flwor1.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/flwor10.xq (+7/-0)
test/rbkt/Queries/zorba/scripting/flwor11.xq (+7/-0)
test/rbkt/Queries/zorba/scripting/flwor12.xq (+31/-0)
test/rbkt/Queries/zorba/scripting/flwor13.xq (+20/-0)
test/rbkt/Queries/zorba/scripting/flwor14.xq (+18/-0)
test/rbkt/Queries/zorba/scripting/flwor15.xq (+34/-0)
test/rbkt/Queries/zorba/scripting/flwor2.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/flwor3.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/flwor4.spec (+1/-1)
test/rbkt/Queries/zorba/scripting/flwor4.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/flwor5.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/flwor6.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/flwor7.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/flwor8.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/gflwor1.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/gflwor2.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/local_vars1.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/local_vars3.xq (+12/-0)
test/rbkt/Queries/zorba/scripting/nonsequential1.spec (+1/-0)
test/rbkt/Queries/zorba/scripting/nonsequential1.xq (+8/-0)
test/rbkt/Queries/zorba/scripting/nonsequential2.xq (+13/-0)
test/rbkt/Queries/zorba/scripting/nonsequential3.spec (+1/-0)
test/rbkt/Queries/zorba/scripting/nonsequential3.xq (+10/-0)
test/rbkt/Queries/zorba/scripting/pul_xdm1.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/pul_xdm2.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/q2.spec (+1/-1)
test/rbkt/Queries/zorba/scripting/q4.xq (+18/-0)
test/rbkt/Queries/zorba/scripting/udf1.spec (+1/-0)
test/rbkt/Queries/zorba/scripting/udf1.xq (+23/-0)
test/rbkt/Queries/zorba/scripting/while1.xq (+6/-0)
test/rbkt/Queries/zorba/sequences/available-environment-variables.xq (+3/-0)
test/rbkt/Queries/zorba/sequences/distinct01.xq (+9/-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/seq66.xq (+1/-1)
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)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions1.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions1.xq (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions2.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions2.xq (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions3.spec (+2/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions3.xq (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions3a.xq (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/json1.xq (+5/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/json2.xq (+5/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/multiple1.spec (+2/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/multiple1.xq (+3/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/multiple2.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/multiple2.xq (+1/-0)
test/rbkt/Queries/zorba/serialization/html/empty-1.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/html/empty-1.xq (+14/-0)
test/rbkt/Queries/zorba/serialization/html/empty-2.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/html/empty-2.xq (+4/-0)
test/rbkt/Queries/zorba/serialization/indent.spec (+1/-1)
test/rbkt/Queries/zorba/serialization/xhtml/empty-1.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/xhtml/empty-1.xq (+14/-0)
test/rbkt/Queries/zorba/serialization/xhtml/empty-2.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/xhtml/empty-2.xq (+4/-0)
test/rbkt/Queries/zorba/spec/XQuery_1.0.html (+980/-636)
test/rbkt/Queries/zorba/spec/XQuery_3.0.html (+7725/-3519)
test/rbkt/Queries/zorba/spec/xquery_1_1.spec (+0/-5)
test/rbkt/Queries/zorba/spec/xquery_1_1.xq (+0/-69)
test/rbkt/Queries/zorba/spec/xquery_3_0.spec (+5/-0)
test/rbkt/Queries/zorba/spec/xquery_3_0.xq (+69/-0)
test/rbkt/Queries/zorba/spec/xquery_spec.xqi (+20/-19)
test/rbkt/Queries/zorba/store/documents.xq (+10/-9)
test/rbkt/Queries/zorba/store/example_1.xq (+10/-0)
test/rbkt/Queries/zorba/store/example_3.xq (+18/-0)
test/rbkt/Queries/zorba/store/mydoc.xml (+3/-0)
test/rbkt/Queries/zorba/store/unordered-map/map5.spec (+1/-1)
test/rbkt/Queries/zorba/store/unordered-map/map5.xq (+1/-1)
test/rbkt/Queries/zorba/store/unordered-map/map6.xq (+31/-0)
test/rbkt/Queries/zorba/store/unordered-map/map7.xq (+22/-0)
test/rbkt/Queries/zorba/store/unordered-map/transient-map0.xq (+27/-0)
test/rbkt/Queries/zorba/string/AnalyzeString/analyze_string13.xq (+13/-0)
test/rbkt/Queries/zorba/string/AnalyzeString/http-client-doc.htm (+1663/-0)
test/rbkt/Queries/zorba/string/ContainsFunc/ContainsFunc4.xq (+1/-1)
test/rbkt/Queries/zorba/string/Regex/regex-FORX0002-1.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex-FORX0002-1.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex-FORX0002-2.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex-FORX0002-2.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a1.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a10.xq (+11/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a11.xq (+9/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a2.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a3.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a4.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a5.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a6.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a7.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a8.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_a9.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err1.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err1.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err10.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err10.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err11.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err11.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err12.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err12.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err13.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err13.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err14.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err14.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err15.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err15.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err16.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err16.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err17.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err17.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err18.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err18.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err19.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err19.xq (+3/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err2.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err2.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err20.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err20.xq (+3/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err21.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err21.xq (+3/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err22.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err22.xq (+3/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err23.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err23.xq (+3/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err24.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err24.xq (+3/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err25.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err25.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err3.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err3.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err4.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err4.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err5.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err5.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err7.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err7.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err8.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err8.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err9.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_err9.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m1.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m10.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m11.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m12.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m13.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m14.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m15.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m16.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m17.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m18.xq (+3/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m19.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m2.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m20.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m21.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m22.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m23.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m24.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m25.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m26.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m27.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m28.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m29.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m3.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m30.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m31.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m32.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m33.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m34.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m35.xq (+4/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m36.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m37.xq (+4/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m38.xq (+4/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m39.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m4.xq (+6/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m40.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m41.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m42.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m43.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m44.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m45.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m46.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m47.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m48.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m49.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m5.xq (+6/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m50.xq (+2/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m51.xq (+2/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m52.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m53.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m6.xq (+6/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m7.xq (+6/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m8.xq (+7/-0)
test/rbkt/Queries/zorba/string/Regex/regex_m9.xq (+7/-0)
test/rbkt/Queries/zorba/string/Regex/regex_prime1.xq (+17/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r1.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r10.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r11.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r12.xq (+7/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r2.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r3.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r4.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r5.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r6.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r7_err.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r7_err.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r8_err.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r8_err.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_r9.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_t1.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_t2.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_t3_err.spec (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_t3_err.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/regex_t4.xq (+2/-0)
test/rbkt/Queries/zorba/string/Regex/regex_t5.xq (+1/-0)
test/rbkt/Queries/zorba/string/Regex/zorba.html (+242/-0)
test/rbkt/Queries/zorba/string/Regex/zorba2.html (+5/-0)
test/rbkt/Queries/zorba/string/ReplaceFunc/replace20.xq (+1/-0)
test/rbkt/Queries/zorba/string/StringToCodepointFunc/StringToCodepointFunc4.xq (+10/-0)
test/rbkt/Queries/zorba/string/token01.txt (+1/-0)
test/rbkt/Queries/zorba/string/token02.txt (+1/-0)
test/rbkt/Queries/zorba/string/token03.txt (+1/-0)
test/rbkt/Queries/zorba/string/token04.txt (+1/-0)
test/rbkt/Queries/zorba/string/tokenize01.xq (+5/-0)
test/rbkt/Queries/zorba/string/tokenize02.xq (+5/-0)
test/rbkt/Queries/zorba/string/tokenize03.xq (+5/-0)
test/rbkt/Queries/zorba/string/tokenize04.xq (+5/-0)
test/rbkt/Queries/zorba/syntax-error/syntax-error-01.spec (+0/-2)
test/rbkt/Queries/zorba/syntax-error/syntax-error-01.xq (+0/-7)
test/rbkt/Queries/zorba/syntax-error/syntax-error-02.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-02.xq (+0/-9)
test/rbkt/Queries/zorba/syntax-error/syntax-error-03.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-03.xq (+0/-6)
test/rbkt/Queries/zorba/syntax-error/syntax-error-04.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-04.xq (+0/-11)
test/rbkt/Queries/zorba/syntax-error/syntax-error-05.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-05.xq (+0/-10)
test/rbkt/Queries/zorba/syntax-error/syntax-error-06.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-06.xq (+0/-12)
test/rbkt/Queries/zorba/syntax-error/syntax-error-07.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-07.xq (+0/-12)
test/rbkt/Queries/zorba/syntax-error/syntax-error-08.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-08.xq (+0/-12)
test/rbkt/Queries/zorba/syntax-error/syntax-error-09.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-09.xq (+0/-6)
test/rbkt/Queries/zorba/syntax-error/syntax-error-10.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-10.xq (+0/-6)
test/rbkt/Queries/zorba/syntax-error/syntax-error-11.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-11.xq (+0/-6)
test/rbkt/Queries/zorba/syntax-error/syntax-error-12.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-12.xq (+0/-6)
test/rbkt/Queries/zorba/syntax-error/syntax-error-13.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-13.xq (+0/-6)
test/rbkt/Queries/zorba/syntax-error/syntax-error-14.spec (+0/-1)
test/rbkt/Queries/zorba/syntax-error/syntax-error-14.xq (+0/-6)
test/rbkt/Queries/zorba/testdriver/bom_bug.xq (+1/-0)
test/rbkt/Queries/zorba/trycatch/stacktrace1.xq (+20/-0)
test/rbkt/Queries/zorba/trycatch/stacktrace2.xq (+24/-0)
test/rbkt/Queries/zorba/trycatch/stacktrace3.xq (+8/-0)
test/rbkt/Queries/zorba/trycatch/trycatch10.xq (+17/-0)
test/rbkt/Queries/zorba/trycatch/trycatch11.xq (+8/-0)
test/rbkt/Queries/zorba/trycatch/trycatch12.xq (+1/-0)
test/rbkt/Queries/zorba/trycatch/trycatch13.xq (+1/-0)
test/rbkt/Queries/zorba/trycatch/trycatch14.spec (+1/-0)
test/rbkt/Queries/zorba/trycatch/trycatch14.xq (+9/-0)
test/rbkt/Queries/zorba/trycatch/trycatch15.spec (+1/-0)
test/rbkt/Queries/zorba/trycatch/trycatch15.xq (+7/-0)
test/rbkt/Queries/zorba/trycatch/trycatch4.xq (+2/-2)
test/rbkt/Queries/zorba/trycatch/trycatch8.xq (+2/-2)
test/rbkt/Queries/zorba/trycatch/trycatch9.xq (+13/-0)
test/rbkt/Queries/zorba/trycatch/trycatch_doc_example_01.xq (+3/-2)
test/rbkt/Queries/zorba/trycatch/trycatch_doc_example_02.xq (+2/-2)
test/rbkt/Queries/zorba/trycatch/trycatch_doc_example_03.xq (+2/-2)
test/rbkt/Queries/zorba/trycatch/trycatch_doc_example_04.xq (+2/-2)
test/rbkt/Queries/zorba/trycatch/trycatch_localwildcard2.xq (+2/-2)
test/rbkt/Queries/zorba/trycatch/trycatch_w3c_2.xq (+2/-2)
test/rbkt/Queries/zorba/udf/schema.xsd (+13/-0)
test/rbkt/Queries/zorba/udf/udf-fib-rec.spec (+1/-0)
test/rbkt/Queries/zorba/udf/udf-fib-rec.xq (+8/-0)
test/rbkt/Queries/zorba/udf/udf-recursive-1.spec (+1/-1)
test/rbkt/Queries/zorba/udf/udf-recursive-2.xq (+10/-0)
test/rbkt/Queries/zorba/updates/forms.xsd (+23/-0)
test/rbkt/Queries/zorba/updates/no_hoist.xq (+8/-0)
test/rbkt/Queries/zorba/updates/recursive.xq (+11/-0)
test/rbkt/Queries/zorba/updates/shiporder.xsd (+62/-0)
test/rbkt/Queries/zorba/updates/subst.xsd (+23/-0)
test/rbkt/Queries/zorba/updates/transform01.xq (+3/-0)
test/rbkt/Queries/zorba/updates/transform02.spec (+1/-0)
test/rbkt/Queries/zorba/updates/transform02.xq (+5/-0)
test/rbkt/Queries/zorba/updates/undo1.xq (+35/-0)
test/rbkt/Queries/zorba/updates/undo10.xq (+34/-0)
test/rbkt/Queries/zorba/updates/undo11.xq (+54/-0)
test/rbkt/Queries/zorba/updates/undo2.xq (+36/-0)
test/rbkt/Queries/zorba/updates/undo3.xq (+34/-0)
test/rbkt/Queries/zorba/updates/undo4.xq (+33/-0)
test/rbkt/Queries/zorba/updates/undo5.xq (+34/-0)
test/rbkt/Queries/zorba/updates/undo6.xq (+96/-0)
test/rbkt/Queries/zorba/updates/undo7.xq (+30/-0)
test/rbkt/Queries/zorba/updates/undo8.xq (+54/-0)
test/rbkt/Queries/zorba/updates/undo9.xq (+54/-0)
test/rbkt/Queries/zorba/updates/upd1.xq (+14/-0)
test/rbkt/Queries/zorba/updates/upd10.xq (+11/-0)
test/rbkt/Queries/zorba/updates/upd11.xq (+10/-0)
test/rbkt/Queries/zorba/updates/upd12.xq (+10/-0)
test/rbkt/Queries/zorba/updates/upd13.spec (+1/-0)
test/rbkt/Queries/zorba/updates/upd13.xq (+4/-0)
test/rbkt/Queries/zorba/updates/upd14.xq (+19/-0)
test/rbkt/Queries/zorba/updates/upd2.xq (+20/-0)
test/rbkt/Queries/zorba/updates/upd3.xq (+15/-0)
test/rbkt/Queries/zorba/updates/upd4.xq (+41/-0)
test/rbkt/Queries/zorba/updates/upd5.spec (+1/-0)
test/rbkt/Queries/zorba/updates/upd5.xq (+36/-0)
test/rbkt/Queries/zorba/updates/upd6.xq (+8/-0)
test/rbkt/Queries/zorba/updates/upd7.xq (+10/-0)
test/rbkt/Queries/zorba/updates/upd8.xq (+11/-0)
test/rbkt/Queries/zorba/updates/upd9.xq (+45/-0)
test/rbkt/Queries/zorba/updates/utils.xqlib (+30/-0)
test/rbkt/Queries/zorba/uris/decode_01.xq (+3/-0)
test/rbkt/Queries/zorba/uris/decode_02.spec (+1/-0)
test/rbkt/Queries/zorba/uris/decode_02.xq (+3/-0)
test/rbkt/Queries/zorba/uris/decode_03.xq (+4/-0)
test/rbkt/Queries/zorba/uris/decode_04.xq (+3/-0)
test/rbkt/Queries/zorba/versioning/external1.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/external2.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import-chain1.xq (+2/-2)
test/rbkt/Queries/zorba/versioning/import-chain2.spec (+1/-1)
test/rbkt/Queries/zorba/versioning/import-chain2.xq (+2/-2)
test/rbkt/Queries/zorba/versioning/import-chain3.spec (+1/-1)
test/rbkt/Queries/zorba/versioning/import-chain3.xq (+2/-2)
test/rbkt/Queries/zorba/versioning/import-chain4.xq (+2/-2)
test/rbkt/Queries/zorba/versioning/import1.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import2.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import3.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import4.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import5.spec (+1/-1)
test/rbkt/Queries/zorba/versioning/import5.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import6.spec (+1/-1)
test/rbkt/Queries/zorba/versioning/import6.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import7.spec (+1/-1)
test/rbkt/Queries/zorba/versioning/import7.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/link1.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/schema1.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/zorba-version1.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/zorba-version2.spec (+1/-1)
test/rbkt/Queries/zorba/versioning/zorba-version2.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/zorba-version3.spec (+1/-1)
test/rbkt/Queries/zorba/versioning/zorba-version4.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/zorba-version5.spec (+1/-1)
test/rbkt/Queries/zorba/versioning/zorba-version6.xq (+1/-1)
test/rbkt/Queries/zorba/w3c/ForExpr010.spec (+5/-0)
test/rbkt/Queries/zorba/w3c/ForExpr010.xq (+11/-0)
test/rbkt/Queries/zorba/w3c/ForExpr025.spec (+5/-0)
test/rbkt/Queries/zorba/w3c/ForExpr025.xq (+9/-0)
test/rbkt/Queries/zorba/w3c/WhereExpr001.spec (+5/-0)
test/rbkt/Queries/zorba/w3c/WhereExpr001.xq (+11/-0)
test/rbkt/Queries/zorba/w3c/XQTSCatalog.xml (+2737/-0)
test/rbkt/Queries/zorba/w3c/bids.xml (+101/-0)
test/rbkt/Queries/zorba/w3c/emptydoc.xml (+2/-0)
test/rbkt/Queries/zorba/w3c/fn-namespace-uri-17.spec (+5/-0)
test/rbkt/Queries/zorba/w3c/fn-namespace-uri-17.xq (+8/-0)
test/rbkt/Queries/zorba/w3c/fsx.xml (+5399/-0)
test/rbkt/Queries/zorba/w3c/items.xml (+64/-0)
test/rbkt/Queries/zorba/w3c/nodeexpression47.spec (+7/-0)
test/rbkt/Queries/zorba/w3c/nodeexpression47.xq (+24/-0)
test/rbkt/Queries/zorba/w3c/rdb-queries-results-q5.spec (+9/-0)
test/rbkt/Queries/zorba/w3c/rdb-queries-results-q5.xq (+31/-0)
test/rbkt/Queries/zorba/w3c/staff.xml (+33/-0)
test/rbkt/Queries/zorba/w3c/users.xml (+33/-0)
test/rbkt/Queries/zorba/w3c/works.xml (+68/-0)
test/rbkt/Queries/zorba/windowing/q19.xq (+2/-2)
test/rbkt/Queries/zorba/windowing/q4.xq (+1/-1)
test/rbkt/Queries/zorba/windowing/q9.xq (+8/-7)
test/rbkt/Queries/zorba/windowing/sliding01.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/sliding02.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/sliding03.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/sliding04.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/sliding05.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/sliding06.xq (+6/-0)
test/rbkt/Queries/zorba/windowing/sliding07.xq (+10/-0)
test/rbkt/Queries/zorba/windowing/sliding08.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/sliding08.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/sliding09.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/sliding10.xq (+18/-0)
test/rbkt/Queries/zorba/windowing/sliding11.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/sliding12.xq (+7/-0)
test/rbkt/Queries/zorba/windowing/sliding13.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/sliding14.xq (+12/-0)
test/rbkt/Queries/zorba/windowing/tumbling01.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling02.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/tumbling04.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling05.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/tumbling06.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling07.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling08.xq (+6/-0)
test/rbkt/Queries/zorba/windowing/tumbling09.xq (+6/-0)
test/rbkt/Queries/zorba/windowing/tumbling10.xq (+10/-0)
test/rbkt/Queries/zorba/windowing/tumbling11.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling11.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling14.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling14.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling15.spec (+2/-0)
test/rbkt/Queries/zorba/windowing/tumbling15.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling16.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling16.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling17.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling17.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling18.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling18.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling19.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling19.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling20.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling20.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling21.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling21.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling22.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling22.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling24.xq (+6/-0)
test/rbkt/Queries/zorba/windowing/tumbling25.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/tumbling26.xq (+3/-0)
test/rbkt/Queries/zorba/windowing/tumbling27.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling28.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling29.xq (+17/-0)
test/rbkt/Queries/zorba/windowing/tumbling31.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling31.xq (+3/-0)
test/rbkt/Queries/zorba/windowing/tumbling32.xq (+19/-0)
test/rbkt/Queries/zorba/windowing/tumbling33.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/tumbling34.xq (+6/-0)
test/rbkt/Queries/zorba/windowing/tumbling35.xq (+8/-0)
test/rbkt/Queries/zorba/windowing/tumbling36.xq (+5/-0)
test/rbkt/Queries/zorba/windowing/tumbling37.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling37.xq (+8/-0)
test/rbkt/Queries/zorba/windowing/tumbling38.xq (+8/-0)
test/rbkt/Queries/zorba/windowing/tumbling39.xq (+12/-0)
test/rbkt/Queries/zorba/windowing/tumbling40.xq (+27/-0)
test/rbkt/Queries/zorba/windowing/tumbling41.xq (+9/-0)
test/rbkt/Queries/zorba/windowing/tumbling42.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling42.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling43.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling43.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling44.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/tumbling44.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling45.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling46.xq (+17/-0)
test/rbkt/Queries/zorba/windowing/tumbling47.xq (+20/-0)
test/rbkt/Queries/zorba/windowing/tumbling48.xq (+18/-0)
test/rbkt/Queries/zorba/windowing/tumbling49.xq (+12/-0)
test/rbkt/Queries/zorba/windowing/tumbling50.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/tumbling51.xq (+4/-0)
test/rbkt/Queries/zorba/windowing/windowing03.xq (+2/-1)
test/rbkt/Queries/zorba/windowing/windowing06.xq (+5/-1)
test/rbkt/Queries/zorba/windowing/windowing12.xq (+10/-0)
test/rbkt/Queries/zorba/windowing/windowing13.spec (+1/-0)
test/rbkt/Queries/zorba/windowing/windowing13.xq (+4/-0)
test/rbkt/Queries/zorba/xdm-schema/1-to-5.xq (+11/-0)
test/rbkt/Queries/zorba/xdm-schema/empty-sequence.xq (+5/-0)
test/rbkt/Queries/zorba/xdm-schema/nodes.xq (+11/-0)
test/rbkt/Queries/zorba/xmark/q10.xq (+8/-4)
test/rbkt/Queries/zorba/xmark/q3.xq (+4/-2)
test/rbkt/Queries/zorba/xmlid/valid-ncname.spec (+1/-0)
test/rbkt/Queries/zorba/xmlid/valid-ncname.xq (+7/-0)
test/rbkt/Queries/zorba/xqddf/admin.xq (+23/-35)
test/rbkt/Queries/zorba/xqddf/daniel/dic1.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/dic2.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/daniel/dic2.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/dic3.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/daniel/dic3.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/dic4.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/eic1.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/eic2.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/eic3.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/eic4.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/i1.xq (+7/-5)
test/rbkt/Queries/zorba/xqddf/daniel/i2.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/i3.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/i4.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/i5.xq (+5/-5)
test/rbkt/Queries/zorba/xqddf/daniel/i6.xq (+7/-7)
test/rbkt/Queries/zorba/xqddf/daniel/ric1.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/ric2.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/daniel/ric2.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/ric3.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/daniel/ric3.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/ric4.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/ric5.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/daniel/ric6.xq (+11/-7)
test/rbkt/Queries/zorba/xqddf/daniel/t1.xq (+4/-4)
test/rbkt/Queries/zorba/xqddf/daniel/t2.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/t3.xq (+1/-1)
test/rbkt/Queries/zorba/xqddf/daniel/t4.spec (+1/-0)
test/rbkt/Queries/zorba/xqddf/daniel/t4.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/t5.spec (+1/-0)
test/rbkt/Queries/zorba/xqddf/daniel/t5.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/undo1.xq (+10/-6)
test/rbkt/Queries/zorba/xqddf/daniel/undo2.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/xqddf_prolog.xqlib (+5/-3)
test/rbkt/Queries/zorba/xqddf/default.xqlib (+5/-3)
test/rbkt/Queries/zorba/xqddf/error.xq (+1/-1)
test/rbkt/Queries/zorba/xqddf/ic-deactivate-err.xq (+14/-0)
test/rbkt/Queries/zorba/xqddf/ic-forEach-err.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/ic-forEach-err.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/ic-forEach.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/ic-foreignKey-err.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/ic-foreignKey-err.xq (+3/-3)
test/rbkt/Queries/zorba/xqddf/ic-foreignKey.xq (+13/-5)
test/rbkt/Queries/zorba/xqddf/ic-foreignKey2.xq (+14/-0)
test/rbkt/Queries/zorba/xqddf/ic-simple-err.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/ic-simple-err.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/ic-simple.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/ic-simple2.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/ic-simple3.xq (+12/-0)
test/rbkt/Queries/zorba/xqddf/ic-uniqueKey-err1.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/ic-uniqueKey-err1.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/ic-uniqueKey-err2.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/ic-uniqueKey-err2.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/ic-uniqueKey.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/news-data.xqlib (+13/-11)
test/rbkt/Queries/zorba/xqddf/test-node-reference.xq (+2/-0)
test/rbkt/Queries/zorba/xqddf/test1.spec (+1/-1)
test/rbkt/Queries/zorba/xqddf/test1_mod2.xqlib (+6/-1)
test/rbkt/Queries/zorba/xqddf/test2.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/test2.xqlib (+2/-1)
test/rbkt/Queries/zorba/xqddf/test3.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/test3.xqlib (+4/-1)
test/rbkt/Queries/zorba/xqddf/test4.xqlib (+11/-4)
test/rbkt/Queries/zorba/xqddf/test5.xq (+7/-0)
test/rbkt/Queries/zorba/xqddf/test5.xqlib (+28/-0)
test/rbkt/Queries/zorba/xqddf/undo1.xq (+44/-0)
test/rbkt/Queries/zorba/xqdoc/basic.xq (+9/-1)
test/rbkt/Queries/zorba/xqdoc/basic_options.xq (+33/-0)
test/rbkt/Queries/zorba/xqdoc/basic_with_error.xq (+13/-3)
test/rbkt/Queries/zorba/xqdoc/collindex.xq (+29/-0)
test/rbkt/Queries/zorba/xqdoc/collindex.xqlib (+40/-0)
test/rbkt/Queries/zorba/xqdoc/content_options.xq (+32/-0)
test/rbkt/Queries/zorba/xqdoc/content_with_error.spec (+1/-1)
test/rbkt/Queries/zorba/xqdoc/indentation.spec (+1/-1)
test/rbkt/Queries/zorba/xqdoc/indentation.xq (+9/-1)
test/rbkt/Queries/zorba/xqdoc/local.xq (+9/-1)
test/rbkt/Queries/zorba/xqdoc/make_xqdoc.xqi (+45/-0)
test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.spec (+1/-1)
test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq (+139/-70)
test/rbkt/Queries/zorba/xqdoc/no_global_var.xq (+9/-1)
test/rbkt/Queries/zorba/xqdoc/testSchemaTypes.xq (+9/-1)
test/rbkt/Queries/zorba/xqdoc/unorderedAnnotations.xq (+9/-1)
test/rbkt/Queries/zorba/xqueryx/err1.spec (+1/-1)
test/rbkt/Queries/zorba/xqueryx/err2.spec (+1/-1)
test/rbkt/Scripts/cmp_ctest_logs (+32/-0)
test/rbkt/Scripts/w3c/Readme.txt (+56/-38)
test/rbkt/Scripts/w3c/Submit.cmake (+0/-36)
test/rbkt/Scripts/w3c/Submit_xqftts.cmake (+36/-0)
test/rbkt/Scripts/w3c/Submit_xqts.cmake (+50/-0)
test/rbkt/Scripts/w3c/XQFTTS.xml (+745/-0)
test/rbkt/Scripts/w3c/XQTS.xml (+451/-0)
test/rbkt/Scripts/w3c/generate-submission-xqftts.xq (+82/-0)
test/rbkt/Scripts/w3c/generate-submission-xqts.xq (+94/-0)
test/rbkt/Scripts/w3c/generate-submission.xq (+0/-109)
test/rbkt/Scripts/w3c/import_w3c_full_text_testsuite.sh (+10/-10)
test/rbkt/Scripts/w3c/import_w3c_testsuite.sh (+2/-2)
test/rbkt/itertest.xq.in (+74/-44)
test/rbkt/modules/CMakeLists.txt (+43/-33)
test/rbkt/modules/bad-ver.xq (+1/-1)
test/rbkt/modules/check_manifest.xq (+7/-0)
test/rbkt/modules/ext.xq (+1/-1)
test/rbkt/modules/ext.xq.src/ext.cpp (+6/-0)
test/rbkt/modules/ext.xq.src/ext.h (+3/-1)
test/rbkt/modules/ext2.xq (+1/-1)
test/rbkt/modules/ext2.xq.src/ext.cpp (+6/-0)
test/rbkt/modules/ext2.xq.src/ext.h (+3/-1)
test/rbkt/modules/ext2_config.txt.in (+1/-0)
test/rbkt/modules/java/CMakeLists.txt (+36/-0)
test/rbkt/modules/java/Test.java (+7/-0)
test/rbkt/modules/link.xq (+1/-1)
test/rbkt/modules/link.xq.src/link.cpp (+10/-4)
test/rbkt/modules/link.xq.src/link.h (+3/-1)
test/rbkt/modules/manifest.xsd (+30/-0)
test/rbkt/modules/module-A.xq (+2/-2)
test/rbkt/modules/module-B.xq (+2/-2)
test/rbkt/modules/ourlib/CMakeLists.txt (+3/-0)
test/rbkt/modules/random-file.txt (+1/-0)
test/rbkt/modules/schema.xq (+2/-2)
test/rbkt/modules/schema.xsd (+2/-2)
test/rbkt/modules/ver.xq (+1/-1)
test/rbkt/modules/ver2.xq (+1/-1)
test/rbkt/specification.h (+67/-43)
test/rbkt/testdriver.cpp (+67/-20)
test/rbkt/testdriver_common.cpp (+99/-67)
test/rbkt/testdriver_common.h (+2/-1)
test/rbkt/testdriver_mt.cpp (+195/-31)
test/rbkt/testdriverconfig.h.in (+16/-0)
test/remote/PostProcessTests.xq (+2/-1)
test/remote/RunRemoteTest.cmake (+6/-3)
test/remote/SvnPackage.cmake (+12/-12)
test/rest/get_example.xq (+0/-14)
test/rest/google_get_home_page.xq (+0/-5)
test/rest/google_get_search.xq (+0/-8)
test/rest/google_get_with_referer.xq (+0/-10)
test/rest/google_logo_base64.xq (+0/-5)
test/rest/post_file_octet_stream.xq (+0/-7)
test/rest/post_image_file.xq (+0/-7)
test/rest/post_multipart_strings.xq (+0/-10)
test/rest/post_multipart_strings_headers.xq (+0/-13)
test/rest/post_multipart_xmls.xq (+0/-15)
test/rest/post_plain_text.xq (+0/-7)
test/rest/post_text_with_content_type.xq (+0/-7)
test/rest/post_xml_part.xq (+0/-12)
test/sax2/sax2testdriverconfig.h.in (+16/-0)
test/test_ordpath.cpp (+7/-5)
test/unit/CMakeLists.txt (+53/-8)
test/unit/books.xml (+39/-39)
test/unit/collection.cpp (+23/-9)
test/unit/collection1.xq (+17/-1)
test/unit/collection1.xqlib (+19/-1)
test/unit/collection2.xq (+20/-4)
test/unit/collection2.xqlib (+18/-1)
test/unit/context_item.cpp (+237/-0)
test/unit/context_item1.xq (+4/-0)
test/unit/context_item2.xq (+6/-0)
test/unit/cxx_api_ch1.xq (+26/-0)
test/unit/cxx_api_ch2.xq (+17/-0)
test/unit/cxx_api_ch3.xq (+20/-0)
test/unit/cxx_api_ch4.xq (+19/-0)
test/unit/cxx_api_changes.cpp (+345/-0)
test/unit/datetime.cpp (+2/-0)
test/unit/debugger/CMakeLists.txt (+0/-15)
test/unit/debugger/DebuggerTestClient.cpp (+0/-125)
test/unit/debugger/DebuggerTestClient.h (+0/-80)
test/unit/debugger/DebuggerTestHandler.cpp (+0/-83)
test/unit/debugger/DebuggerTestHandler.h (+0/-64)
test/unit/debugger/guestbook.xq (+0/-38)
test/unit/debugger/test_debugger_endianness.cpp (+0/-65)
test/unit/debugger/test_debugger_message.cpp (+0/-149)
test/unit/debugger/test_debugger_protocol.h (+0/-69)
test/unit/debugger/test_debugger_serialization.cpp (+0/-148)
test/unit/debugger/test_debugger_server.cpp (+0/-721)
test/unit/ext_in_opt.cpp (+1/-1)
test/unit/ext_in_opt.xq (+16/-0)
test/unit/ext_in_opt.xqlib (+16/-0)
test/unit/ext_in_opt2.xqlib (+16/-0)
test/unit/ext_main.xq (+17/-1)
test/unit/ext_main2.xq (+21/-0)
test/unit/ext_main3.xq (+21/-0)
test/unit/ext_mod.xq (+20/-0)
test/unit/ext_mod2.xq (+19/-0)
test/unit/external_function.cpp (+262/-16)
test/unit/fold_main.xq (+17/-1)
test/unit/fold_mod1.xq (+16/-0)
test/unit/fold_mod2.xq (+16/-0)
test/unit/guestbook.xq (+32/-4)
test/unit/guestbook_main.xq (+17/-1)
test/unit/invoke.cpp (+15/-0)
test/unit/main_invoke.xq (+9/-0)
test/unit/main_sequential.cpp (+1/-1)
test/unit/main_sequential.xq (+16/-0)
test/unit/main_sequential.xqlib (+16/-0)
test/unit/mini_audit.xq (+13/-0)
test/unit/mini_http.xq (+40/-0)
test/unit/module1.xq (+17/-1)
test/unit/module2.xq (+36/-1)
test/unit/module3.xq (+19/-1)
test/unit/module4.xq (+6/-0)
test/unit/module5.xq (+20/-0)
test/unit/module6.xq (+38/-0)
test/unit/ordpath_big.cpp (+15/-0)
test/unit/plan_serializer.cpp (+61/-14)
test/unit/schema1.xsd (+21/-0)
test/unit/staticcollectionmanager.cpp (+378/-11)
test/unit/stemmer_provider.cpp (+0/-100)
test/unit/streamable_string.cpp (+1/-1)
test/unit/streamable_string_query_1.xq (+16/-0)
test/unit/streamable_string_query_2.xq (+16/-0)
test/unit/testGetExtVarA.xq (+13/-0)
test/unit/testGetExtVarB.xq (+6/-0)
test/unit/test_audit.cpp (+49/-13)
test/unit/test_static_context.cpp (+386/-0)
test/unit/xmldatamanager.cpp (+69/-0)
test/unit/xquery_functions.cpp (+1/-1)
test/update/CMakeLists.txt (+14/-8)
test/update/ExpectedTestResults/zorba/store/sc1_ex2.xml.res (+1/-0)
test/update/ExpectedTestResults/zorba/store/sc1_ex4.xml.res (+1/-0)
test/update/ExpectedTestResults/zorba/store/sc1_ex7.xml.res (+1/-0)
test/update/ExpectedTestResults/zorba/store/sc2_ex1.xml.res (+1/-0)
test/update/ExpectedTestResults/zorba/store/sc2_ex3.xml.res (+1/-0)
test/update/ExpectedTestResults/zorba/store/sc3_ex3.xml.res (+17/-0)
test/update/Queries/zorba/store/kml21.xsd (+1065/-0)
test/update/Queries/zorba/store/meat_poultry.csv (+100/-0)
test/update/Queries/zorba/store/sc1.spec (+10/-0)
test/update/Queries/zorba/store/sc1_ex1.xqlib (+14/-0)
test/update/Queries/zorba/store/sc1_ex2.xq (+10/-0)
test/update/Queries/zorba/store/sc1_ex3.xq (+14/-0)
test/update/Queries/zorba/store/sc1_ex4.xq (+10/-0)
test/update/Queries/zorba/store/sc1_ex5.xq (+11/-0)
test/update/Queries/zorba/store/sc1_ex6.xq (+13/-0)
test/update/Queries/zorba/store/sc1_ex7.xq (+8/-0)
test/update/Queries/zorba/store/sc1_ex8.xq (+7/-0)
test/update/Queries/zorba/store/sc2_ex.spec (+5/-0)
test/update/Queries/zorba/store/sc2_ex1.xq (+6/-0)
test/update/Queries/zorba/store/sc2_ex2.xq (+10/-0)
test/update/Queries/zorba/store/sc2_ex3.xq (+10/-0)
test/update/Queries/zorba/store/sc3.spec (+5/-0)
test/update/Queries/zorba/store/sc3_ex1.xq (+9/-0)
test/update/Queries/zorba/store/sc3_ex2.xq (+7/-0)
test/update/Queries/zorba/store/sc3_ex3.xq (+10/-0)
test/update/Scripts/Readme.txt (+39/-35)
test/update/Scripts/Submit.cmake (+0/-37)
test/update/Scripts/Submit_xquts.cmake (+37/-0)
test/update/Scripts/XQUTS.xml (+49/-0)
test/update/Scripts/generate-submission-xquts.xq (+95/-0)
test/update/Scripts/generate-submission.xq (+0/-107)
test/update/Scripts/import_w3c_update_testsuite.sh (+1/-1)
test/update/Scripts/zorba-xquts-submission.xml (+858/-0)
test/update/Scripts/zorba-xqutsx-submission.xml (+858/-0)
test/update/updtestdriver.cpp (+46/-15)
test/zorbatest/testing/tests/acceptance/valgrind/x.xq (+16/-0)
test/zperf/src/start.xq (+177/-109)
test/zperf/src/timings.xq (+16/-0)
To merge this branch: bzr merge lp:~zorba-coders/zorba/zorba-2.7
Reviewer Review Type Date Requested Status
Matthias Brantner Approve
Review via email: mp+128851@code.launchpad.net

Commit message

generate 2.7 try-zorba

Description of the change

generate 2.7 try-zorba

To post a comment you must log in.
Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/zorba-2.7 into lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the failed tests.

experimental build started for lp:~zorba-coders/zorba/zorba-2.7. Check out http://zorba-2.7.zorba-xquery.com/ in half an hour or so. Logfile at http://zorbatest.lambda.nu:8080/remotequeue/experimental/zorba-2.7.log .

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/zorba-2.7 into lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the failed tests.

experimental build started for lp:~zorba-coders/zorba/zorba-2.7. Check out http://zorba-2.7.zorba-xquery.com/ in half an hour or so. Logfile at http://zorbatest.lambda.nu:8080/remotequeue/experimental/zorba-2.7.log .

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/zorba-2.7 into lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the failed tests.

experimental build started for lp:~zorba-coders/zorba/zorba-2.7. Check out http://zorba-2.7.zorba-xquery.com/ in half an hour or so. Logfile at http://zorbatest.lambda.nu:8080/remotequeue/experimental/zorba-2.7.log .

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/zorba-2.7 into lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the failed tests.

experimental build started for lp:~zorba-coders/zorba/zorba-2.7. Check out http://zorba-2.7.zorba-xquery.com/ in half an hour or so. Logfile at http://zorbatest.lambda.nu:8080/remotequeue/experimental/zorba-2.7.log .

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/zorba-2.7 into lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the failed tests.

experimental build started for lp:~zorba-coders/zorba/zorba-2.7. Check out http://zorba-2.7.zorba-xquery.com/ in half an hour or so. Logfile at http://zorbatest.lambda.nu:8080/remotequeue/experimental/zorba-2.7.log .

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/zorba-2.7 into lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the failed tests.

experimental build started for lp:~zorba-coders/zorba/zorba-2.7. Check out http://zorba-2.7.zorba-xquery.com/ in half an hour or so. Logfile at http://zorbatest.lambda.nu:8080/remotequeue/experimental/zorba-2.7.log .

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/zorba-2.7 into lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the failed tests.

experimental build started for lp:~zorba-coders/zorba/zorba-2.7. Check out http://zorba-2.7.zorba-xquery.com/ in half an hour or so. Logfile at http://zorbatest.lambda.nu:8080/remotequeue/experimental/zorba-2.7.log .

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/zorba-2.7 into lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the failed tests.

experimental build started for lp:~zorba-coders/zorba/zorba-2.7. Check out http://zorba-2.7.zorba-xquery.com/ in half an hour or so. Logfile at http://zorbatest.lambda.nu:8080/remotequeue/experimental/zorba-2.7.log .

Unmerged revisions

11087. By Chris Hillery

Un-tagging geos module so try-zorba can pick up a fix.

11086. By [u'Matthias Brantner <matthias.brantner@28msec.com>']

added back lost NOTICE.txt file Approved: Matthias Brantner, Juan Zacarias

11085. By [u'Markos Zaharioudakis <email address hidden>']

fixed implementation of copy-namespaces mode in static_context (the old one was ugly and buggy) Approved: Markos Zaharioudakis

11084. By [u'Markos Zaharioudakis <email address hidden>']

1. Put back markForSerialization() (renamed as markInUsafeContext())
2. path expr is unsafe if it contains any KindTest with type check and the construction mode i strip
3. copying is unsafe only if ns_inherit and ns_preserve
 Approved: Markos Zaharioudakis

11083. By [u'Paul J. Lucas <email address hidden>']

Moved uuid.h to public API. Approved: Juan Zacarias, Paul J. Lucas, Sorin Marian Nasoi

11082. By [u'Markos Zaharioudakis <email address hidden>']

Replaced markForSerialization() method with theIsInUnsafeContext data member. Approved: Markos Zaharioudakis

11081. By [u'Cezar Andrei <email address hidden>', <email address hidden>']

Add read-pdf module for getting text and rendered images from pdf documents.
Make doc comments for createBaser64Binary more explicit on what parameters they expect and what they do.
Change, return value to xs_int for getIntValue() method. Approved: Juan Zacarias, Matthias Brantner, Cezar Andrei

11080. By [u'Markos Zaharioudakis <email address hidden>']

Removed two unnecessary steps from optimizer. Approved: Markos Zaharioudakis

11079. By [u'Till Westmann <till.westmann@28msec.com>']

use XDM node kinds in encode-for-roundtrip Approved: Ghislain Fourny, Matthias Brantner

11078. By [u'Till Westmann <till.westmann@28msec.com>']

serialize nested XDM nodes as XML for the json-xml-hybrid method Approved: Ghislain Fourny, Till Westmann

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.bzrignore'
2--- .bzrignore 1970-01-01 00:00:00 +0000
3+++ .bzrignore 2012-10-24 01:05:28 +0000
4@@ -0,0 +1,2 @@
5+CMakeLists.txt.user
6+build
7
8=== modified file 'AUTHORS.txt'
9--- AUTHORS.txt 2011-02-09 15:40:01 +0000
10+++ AUTHORS.txt 2012-10-24 01:05:28 +0000
11@@ -22,18 +22,24 @@
12 * Matthias Brantner
13 * Nicolae Brinza
14 * William Candillon
15- * Dana Florescu
16+ * Dana Florescu
17 * David Graf
18 * Chris Hillery
19 * Donald Kossmann
20 * Tim Kraska
21 * Paul Kunz
22+ * Carlos Lopez
23 * Paul Lucas
24 * Dan Muresan
25 * Sorin Nasoi
26+ * Rodolfo Ochoa
27 * Paul Pedersen
28 * Gabriel Petrovay
29 * Markus Pilman
30 * Sam Rehman
31+ * Luis Rodriguez
32+ * Daniel Thomas
33 * Daniel Turcanu
34+ * Till Westmann
35+ * Juan Zacarias
36 * Markos Zaharioudakis
37
38=== modified file 'CMakeCPack.cmake'
39--- CMakeCPack.cmake 2009-10-30 16:24:51 +0000
40+++ CMakeCPack.cmake 2012-10-24 01:05:28 +0000
41@@ -17,6 +17,75 @@
42 SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.txt")
43 SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
44
45+
46+SET(CPACK_NSIS_COMPONENT_INSTALL ON)
47+SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "FALSE")
48+
49+SET(CPACK_COMPONENT_UNSPECIFIED_DISPLAY_NAME "Zorba")
50+SET(CPACK_COMPONENT_DOC_DISPLAY_NAME "Docs")
51+SET(CPACK_COMPONENT_PHP_EXAMPLES_DISPLAY_NAME "PHP Examples")
52+SET(CPACK_COMPONENT_CXX_EXAMPLES_DISPLAY_NAME "CXX Examples")
53+SET(CPACK_COMPONENT_PYTHON_EXAMPLES_DISPLAY_NAME "Python Examples")
54+SET(CPACK_COMPONENT_RUBY_EXAMPLES_DISPLAY_NAME "Ruby Examples")
55+SET(CPACK_COMPONENT_JAVA_SWIG_DISPLAY_NAME "Java API")
56+SET(CPACK_COMPONENT_PHP_SWIG_DISPLAY_NAME "PHP API")
57+SET(CPACK_COMPONENT_PYTHON_SWIG_DISPLAY_NAME "Python API")
58+SET(CPACK_COMPONENT_RUBY_SWIG_DISPLAY_NAME "Ruby API")
59+SET(CPACK_COMPONENT_XQJ_SWIG_DISPLAY_NAME "Java XQJ API")
60+SET(CPACK_COMPONENT_THESAURUS_DISPLAY_NAME "Thesaurus")
61+SET(CPACK_COMPONENT_CSHARP_SWIG_DISPLAY_NAME "C# API")
62+
63+SET(CPACK_COMPONENT_UNSPECIFIED_DESCRIPTION "Zorba Required Files.")
64+SET(CPACK_COMPONENT_DOC_DESCRIPTION "Files with the Description of different features of zorba.")
65+SET(CPACK_COMPONENT_PHP_EXAMPLES_DESCRIPTION "Examples for the PHP extension.")
66+SET(CPACK_COMPONENT_PYTHON_EXAMPLES_DESCRIPTION "Examples for the Python extension.")
67+SET(CPACK_COMPONENT_RUBY_EXAMPLES_DESCRIPTION "Examples for the Ruby extension.")
68+SET(CPACK_COMPONENT_CXX_EXAMPLES_DESCRIPTION "Examples for CXX.")
69+SET(CPACK_COMPONENT_JAVA_SWIG_DESCRIPTION "API for Java")
70+SET(CPACK_COMPONENT_PHP_SWIG_DESCRIPTION "API for PHP")
71+SET(CPACK_COMPONENT_PYTHON_SWIG_DESCRIPTION "API for Python")
72+SET(CPACK_COMPONENT_RUBY_SWIG_DESCRIPTION "API for Ruby")
73+SET(CPACK_COMPONENT_XQJ_SWIG_DESCRIPTION "XQJ API for Java")
74+SET(CPACK_COMPONENT_THESAURUS_DESCRIPTION "Thesaurus for Zorba")
75+SET(CPACK_COMPONENT_CSHARP_SWIG_DESCRIPTION "API for C#")
76+
77+SET(CPACK_COMPONENT_DOC_GROUP "Documents")
78+SET(CPACK_COMPONENT_PHP_EXAMPLES_GROUP "Documents")
79+SET(CPACK_COMPONENT_PYTHON_EXAMPLES_GROUP "Documents")
80+SET(CPACK_COMPONENT_RUBY_EXAMPLES_GROUP "Documents")
81+SET(CPACK_COMPONENT_CXX_EXAMPLES_GROUP "Documents")
82+
83+SET(CPACK_COMPONENT_JAVA_SWIG_GROUP "APIs")
84+SET(CPACK_COMPONENT_PHP_SWIG_GROUP "APIs")
85+SET(CPACK_COMPONENT_PYTHON_SWIG_GROUP "APIs")
86+SET(CPACK_COMPONENT_RUBY_SWIG_GROUP "APIs")
87+SET(CPACK_COMPONENT_XQJ_SWIG_GROUP "APIs")
88+SET(CPACK_COMPONENT_CSHARP_SWIG_GROUP "APIs")
89+
90+SET(CPACK_COMPONENT_GROUP_EXTERNAL_MODULES_DISPLAY_NAME "External Modules")
91+SET(CPACK_COMPONENT_GROUP_EXTERNAL_MODULES_DESCRIPTION "Complete list of external modules.")
92+SET(CPACK_COMPONENT_GROUP_DOCUMENTS_DESCRIPTION "Complete Documentation of Zorba and Modules.")
93+SET(CPACK_COMPONENT_GROUP_APIS_DESCRIPTION "APIs to work with zorba.")
94+
95+SET(CPACK_ALL_INSTALL_TYPES Full Simple Lite)
96+
97+SET(CPACK_COMPONENT_DOC_INSTALL_TYPES Full Simple)
98+SET(CPACK_COMPONENT_PHP_EXAMPLES_INSTALL_TYPES Full Simple)
99+SET(CPACK_COMPONENT_PYTHON_EXAMPLES_INSTALL_TYPES Full Simple)
100+SET(CPACK_COMPONENT_RUBY_EXAMPLES_INSTALL_TYPES Full Simple)
101+SET(CPACK_COMPONENT_CXX_EXAMPLES_INSTALL_TYPES Full Simple)
102+SET(CPACK_COMPONENT_JAVA_SWIG_INSTALL_TYPES Full)
103+SET(CPACK_COMPONENT_PYTHON_SWIG_INSTALL_TYPES Full)
104+SET(CPACK_COMPONENT_PHP_SWIG_INSTALL_TYPES Full)
105+SET(CPACK_COMPONENT_RUBY_SWIG_INSTALL_TYPES Full)
106+SET(CPACK_COMPONENT_XQJ_SWIG_INSTALL_TYPES Full)
107+SET(CPACK_COMPONENT_UNSPECIFIED_INSTALL_TYPES Full Simple Lite)
108+SET(CPACK_COMPONENT_THESAURUS_INSTALL_TYPES Full)
109+SET(CPACK_COMPONENT_CSHARP_SWIG_INSTALL_TYPES Full)
110+
111+INCLUDE(${CMAKE_BINARY_DIR}/CMakeCPackModules.cmake)
112+
113+
114 CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/CMakeCPackOptions.cmake.in"
115 "${CMAKE_BINARY_DIR}/CMakeCPackOptions.cmake" @ONLY)
116 SET(CPACK_PROJECT_CONFIG_FILE "${CMAKE_BINARY_DIR}/CMakeCPackOptions.cmake")
117
118=== modified file 'CMakeCPackOptions.cmake.in'
119--- CMakeCPackOptions.cmake.in 2011-06-28 17:47:40 +0000
120+++ CMakeCPackOptions.cmake.in 2012-10-24 01:05:28 +0000
121@@ -22,13 +22,23 @@
122
123 # for Windows Null Soft Installer System ...
124 if(CPACK_GENERATOR MATCHES "NSIS")
125- SET(CPACK_PACKAGE_EXECUTABLES "zorba" "Zorba Command Line Client" )
126-
127- SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\zoba.exe")
128 SET(CPACK_NSIS_DISPLAY_NAME "Zorba XQuery Processor ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
129 SET(CPACK_NSIS_HELP_LINK "http:\\\\http://www.zorba-xquery.org/")
130 SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\http://www.zorba-xquery.org/")
131 SET(CPACK_NSIS_CONTACT "info@flworfound.org")
132+
133+ SET(CPACK_NSIS_CREATE_ICONS_EXTRA "
134+ CreateShortCut '$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\Zorba Command Line Client.lnk' 'cmd.exe' '/K set path=%path%;%JAVA_HOME%;%JAVA_HOME%\\client;%cd%\\bin;&echo Start using Zorba: zorba -q 1+1 or zorba -f -q example.xq'
135+ CreateShortCut '$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\Zorba Documentation.lnk' '$INSTDIR\\\\share\\\\doc\\\\zorba-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\\\\zorba\\\\html\\\\index.html'
136+ CreateShortCut '$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\Modules Documentation.lnk' '$INSTDIR\\\\share\\\\doc\\\\zorba-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\\\\zorba\\\\xqdoc\\\\xhtml\\\\index.html'
137+ ")
138+ SET(CPACK_NSIS_DELETE_ICONS_EXTRA "
139+ !insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
140+ Delete '$SMPROGRAMS\\\\$MUI_TEMP\\\\Zorba Command Line Client.lnk'
141+ Delete '$SMPROGRAMS\\\\$MUI_TEMP\\\\Zorba Documentation.lnk'
142+ Delete '$SMPROGRAMS\\\\$MUI_TEMP\\\\Modules Documentation.lnk'
143+ ")
144+
145 SET(CPACK_NSIS_MODIFY_PATH ON)
146 endif(CPACK_GENERATOR MATCHES "NSIS")
147
148
149=== modified file 'CMakeCompiler.txt'
150--- CMakeCompiler.txt 2011-01-19 12:48:17 +0000
151+++ CMakeCompiler.txt 2012-10-24 01:05:28 +0000
152@@ -13,11 +13,18 @@
153 # limitations under the License.
154
155
156-IF (${CMAKE_CXX_COMPILER} MATCHES "clang")
157- SET (CLANG 1)
158-ELSE (${CMAKE_CXX_COMPILER} MATCHES "clang")
159- SET (CLANG 0)
160-ENDIF(${CMAKE_CXX_COMPILER} MATCHES "clang")
161+# check if clang is used to compile c++
162+EXEC_PROGRAM(${CMAKE_CXX_COMPILER}
163+ ARGS --version
164+ OUTPUT_VARIABLE CXX_COMPILER_VERSION_OUTPUT
165+)
166+STRING(REGEX MATCH "clang"
167+ CXX_IS_CLANG "${CXX_COMPILER_VERSION_OUTPUT}")
168+IF (CXX_IS_CLANG)
169+ SET (CLANG 1)
170+ELSE ()
171+ SET (CLANG 0)
172+ENDIF ()
173
174 #-----------------------------------------------------------------------------
175 # Let's use the highest warning level.
176@@ -108,6 +115,9 @@
177 IF(NOT CMAKE_CXX_FLAGS MATCHES "-Wextra")
178 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra")
179 ENDIF(NOT CMAKE_CXX_FLAGS MATCHES "-Wextra")
180+ IF(NOT CMAKE_CXX_FLAGS MATCHES "-D_FILE_OFFSET_BITS")
181+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FILE_OFFSET_BITS=64")
182+ ENDIF(NOT CMAKE_CXX_FLAGS MATCHES "-D_FILE_OFFSET_BITS")
183 IF (UNIX AND NOT APPLE)
184 IF (NOT CMAKE_SHARED_LINKER_FLAGS MATCHES "as-needed")
185 SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--as-needed")
186@@ -231,3 +241,24 @@
187 ENDIF (NOT CMAKE_C_FLAGS MATCHES "-fvisibility")
188 ENDIF ( ZORBA_GNUCOMPILER_MAJOR_VERSION GREATER 3 )
189 ENDIF(CMAKE_COMPILER_IS_GNUCC)
190+
191+IF (APPLE)
192+ # Needed for CFUUID*() functions in util/uuid.c.
193+ SET(CMAKE_SHARED_LINKER_FLAGS "-framework CoreFoundation ${CMAKE_SHARED_LINKER_FLAGS}")
194+ELSEIF (WIN32)
195+ # Needed for UuidCreateSequential() function in util/uuid.c.
196+ SET(requiredlibs ${requiredlibs} "Rpcrt4")
197+ELSEIF (ZORBA_HAVE_UUID_H)
198+ # Needed for uuid_generate() function in util/uuid.c.
199+ SET(requiredlibs ${requiredlibs} "uuid")
200+ # Double-check that we can link against the required library.
201+ CHECK_LIBRARY_EXISTS(uuid uuid_generate "" LIBUUID_EXISTS)
202+ IF (NOT LIBUUID_EXISTS)
203+ MESSAGE (FATAL_ERROR "Could not find libuuid - required on Linux!")
204+ ENDIF (NOT LIBUUID_EXISTS)
205+ELSE (APPLE)
206+ # We're not Apple or Win32, and we didn't find uuid.h - can't compile
207+ MESSAGE (FATAL_ERROR "Could not find uuid/uuid.h header, which is "
208+ "required on Linux. On Ubuntu, the 'uuid-dev' package is required; "
209+ "look for similar packages on other platforms.")
210+ENDIF (APPLE)
211
212=== modified file 'CMakeConfiguration.txt'
213--- CMakeConfiguration.txt 2011-07-01 10:27:23 +0000
214+++ CMakeConfiguration.txt 2012-10-24 01:05:28 +0000
215@@ -70,10 +70,6 @@
216 SET(ZORBA_FOR_ONE_THREAD_ONLY OFF CACHE BOOL "compile zorba for single threaded use")
217 MESSAGE(STATUS "ZORBA_FOR_ONE_THREAD_ONLY: " ${ZORBA_FOR_ONE_THREAD_ONLY})
218
219-# by default the zorba command line client is deactivated until it gets to a more stable and userfriendly state
220-SET(ZORBA_WITH_DEBUGGER_CLIENT OFF CACHE BOOL "build and install zorbas command line debugger client")
221-MESSAGE(STATUS "ZORBA_WITH_DEBUGGER_CLIENT: " ${ZORBA_WITH_DEBUGGER_CLIENT})
222-
223 IF (DEFINED UNIX)
224 IF (NOT DEFINED ZORBA_HAVE_PTHREAD_H AND NOT DEFINED ZORBA_FOR_ONE_THREAD_ONLY)
225 MESSAGE(FATAL_ERROR "pthread is not available")
226@@ -96,11 +92,16 @@
227 SET(ZORBA_TEST_TIMEOUT_VALUE 60 CACHE INTEGER "default test timeout value")
228 MESSAGE(STATUS "ZORBA_TEST_TIMEOUT_VALUE: " ${ZORBA_TEST_TIMEOUT_VALUE})
229
230+SET(ZORBA_VERIFY_PEER_SSL_CERTIFICATE OFF CACHE BOOL "Disable root certificate validation")
231+MESSAGE(STATUS "ZORBA_VERIFY_PEER_SSL_CERTIFICATE: " ${ZORBA_VERIFY_PEER_SSL_CERTIFICATE})
232+
233 IF(${ZORBA_WITH_CODE_PROFILE})
234 SET(ZORBA_BUILD_STATIC_LIBRARY ON CACHE BOOL "build a static library, e.g. when creating a profile")
235 ELSE(${ZORBA_WITH_CODE_PROFILE})
236 SET(ZORBA_BUILD_STATIC_LIBRARY OFF CACHE BOOL "build a static library, e.g. when creating a release")
237 ENDIF(${ZORBA_WITH_CODE_PROFILE})
238+MESSAGE(STATUS "ZORBA_WITH_CODE_PROFILE: " ${ZORBA_WITH_CODE_PROFILE})
239+
240 MESSAGE(STATUS "ZORBA_BUILD_STATIC_LIBRARY: " ${ZORBA_BUILD_STATIC_LIBRARY})
241
242 IF(MSVC AND NOT ZORBA_BUILD_STATIC_LIBRARY)
243@@ -112,28 +113,36 @@
244
245 # We need the path to the zorba executable because it will be used during the
246 # build to generate source code and documentation.
247-SET(ZORBA_EXE_SCRIPT "${CMAKE_BINARY_DIR}/bin/zorba")
248+SET(ZORBA_EXE "${CMAKE_BINARY_DIR}/bin/zorba")
249 IF(WIN32)
250- SET(ZORBA_EXE_SCRIPT "${ZORBA_EXE_SCRIPT}.bat")
251+ SET(ZORBA_EXE "${ZORBA_EXE}.bat")
252 ENDIF(WIN32)
253-SET(ZORBA_EXE_SCRIPT ${ZORBA_EXE_SCRIPT} CACHE STRING "executable used for generating the runtime")
254-MESSAGE(STATUS "ZORBA_EXE_SCRIPT: " ${ZORBA_EXE_SCRIPT})
255+SET(ZORBA_EXE ${ZORBA_EXE} CACHE STRING "executable used for generating the runtime")
256+MESSAGE(STATUS "ZORBA_EXE: " ${ZORBA_EXE})
257
258 # flags for debugging the parser
259 SET(ZORBA_DEBUG_PARSER OFF CACHE BOOL "debug the parser")
260 MESSAGE(STATUS "ZORBA_DEBUG_PARSER: " ${ZORBA_DEBUG_PARSER})
261
262-SET(ZORBA_DEBUG_STRING OFF CACHE BOOL "debug strings")
263-MESSAGE(STATUS "ZORBA_DEBUG_STRING: " ${ZORBA_DEBUG_STRING})
264-
265-SET(ZORBA_NO_UNICODE OFF CACHE BOOL "disable ICU")
266-MESSAGE(STATUS "ZORBA_NO_UNICODE: " ${ZORBA_NO_UNICODE})
267-
268-IF (ZORBA_NO_UNICODE)
269+# if not set by the user, set ZORBA_DEBUG_STRING to ON for Debug and RelWithDebInfo builds
270+IF (NOT ZORBA_DEBUG_STRING)
271+ IF (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
272+ SET (ZORBA_DEBUG_STRING ON)
273+ ELSE (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
274+ SET (ZORBA_DEBUG_STRING OFF)
275+ ENDIF (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
276+ENDIF (NOT ZORBA_DEBUG_STRING)
277+SET (ZORBA_DEBUG_STRING ${ZORBA_DEBUG_STRING} CACHE BOOL "debug strings")
278+MESSAGE (STATUS "ZORBA_DEBUG_STRING: " ${ZORBA_DEBUG_STRING})
279+
280+SET(ZORBA_NO_ICU OFF CACHE BOOL "disable ICU")
281+MESSAGE(STATUS "ZORBA_NO_ICU: " ${ZORBA_NO_ICU})
282+
283+IF (ZORBA_NO_ICU)
284 SET (no_full_text ON)
285-ELSE (ZORBA_NO_UNICODE)
286+ELSE (ZORBA_NO_ICU)
287 SET (no_full_text OFF)
288-ENDIF (ZORBA_NO_UNICODE)
289+ENDIF (ZORBA_NO_ICU)
290 SET (ZORBA_NO_FULL_TEXT ${no_full_text} CACHE BOOL "disable XQuery Full-Text support")
291 MESSAGE(STATUS "ZORBA_NO_FULL_TEXT: " ${ZORBA_NO_FULL_TEXT})
292
293@@ -143,13 +152,20 @@
294 SET(ZORBA_WITH_BIG_INTEGER OFF CACHE BOOL "enable arbitrary precision integers")
295 MESSAGE(STATUS "ZORBA_WITH_BIG_INTEGER: " ${ZORBA_WITH_BIG_INTEGER})
296
297-IF (SWIG_FOUND)
298- SET (use_swig ON)
299-ELSE (SWIG_FOUND)
300+SET(ZORBA_WITH_JSON ON CACHE BOOL "enable integrated JSON support")
301+MESSAGE(STATUS "ZORBA_WITH_JSON: " ${ZORBA_WITH_JSON})
302+
303+SET(ZORBA_WITH_THESAURUS ON CACHE BOOL
304+ "enable installation of default English Wordnet thesaurus")
305+MESSAGE(STATUS "ZORBA_WITH_THESAURUS: " ${ZORBA_WITH_THESAURUS})
306+
307+IF (ZORBA_SUPPRESS_SWIG)
308+ SET (no_swig ON)
309+ELSE (ZORBA_SUPPRESS_SWIG)
310 SET (no_swig OFF)
311-ENDIF (SWIG_FOUND)
312-SET(ZORBA_USE_SWIG ${no_swig} CACHE BOOL "use Swig to generate api for Python, Php and Ruby")
313-MESSAGE(STATUS "ZORBA_USE_SWIG: " ${ZORBA_USE_SWIG})
314+ENDIF (ZORBA_SUPPRESS_SWIG)
315+SET(ZORBA_SUPPRESS_SWIG ${no_swig} CACHE BOOL "use Swig to generate api for Python, Php and Ruby")
316+MESSAGE(STATUS "ZORBA_SUPPRESS_SWIG [ON/OFF]: " ${no_swig})
317
318 SET(ZORBA_XQUERYX OFF CACHE BOOL "Activate capability to compile XQueryX code (on/off)")
319 MESSAGE(STATUS "ZORBA_XQUERYX: " ${ZORBA_XQUERYX})
320
321=== modified file 'CMakeLists.txt'
322--- CMakeLists.txt 2011-07-06 20:43:46 +0000
323+++ CMakeLists.txt 2012-10-24 01:05:28 +0000
324@@ -22,9 +22,6 @@
325 SET(CMAKE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
326 SET(CMAKE_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
327
328-# Enable RPaths in installed binaries
329-SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
330-
331 INCLUDE(${CMAKE_SOURCE_DIR}/cmake_modules/CMakeCompareVersionStrings.cmake)
332
333 cmake_minimum_required(VERSION 2.6)
334@@ -52,29 +49,29 @@
335 MESSAGE(FATAL_ERROR "Please create a separate build directory and call CMake again")
336 ENDIF(${CMAKE_BINARY_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
337
338-IF (MSVC)
339- IF (CMAKE_BUILD_TYPE)
340- MESSAGE (STATUS "You provided CMAKE_BUILD_TYPE but the Visual Studio generator cannot make use of it. So I'd better clear it now! Sorry! :(")
341- SET (CMAKE_BUILD_TYPE)
342- ELSE (CMAKE_BUILD_TYPE)
343- MESSAGE (STATUS "No CMAKE_BUILD_TYPE was provided, which is exactly what the Visual Studio generator expects from you. Very good! Weiter machen! :)")
344- ENDIF(CMAKE_BUILD_TYPE)
345-ELSE(MSVC)
346- # set the default build type to release
347- # NOTE: the "NMake Makefiles" generator will always set the default build type to "Debug"
348- IF(NOT CMAKE_BUILD_TYPE)
349- SET(CMAKE_BUILD_TYPE Release CACHE STRING
350- "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
351- FORCE)
352- ENDIF(NOT CMAKE_BUILD_TYPE)
353-ENDIF(MSVC)
354+# set the default build type to release
355+# NOTE: the "NMake Makefiles" generator will always set the default build type to "Debug"
356+IF (NOT CMAKE_BUILD_TYPE)
357+ SET (CMAKE_BUILD_TYPE Release CACHE STRING
358+ "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
359+ FORCE)
360+ENDIF (NOT CMAKE_BUILD_TYPE)
361
362 # set the default installation directory to "dist" in the build directory
363 IF (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
364- SET(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/dist CACHE STRING
365- "Set the defalt installation directory to \"dist\" in the binary directory." FORCE)
366-ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
367-
368+ SET (CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/dist CACHE STRING
369+ "Set the defalt installation directory to \"dist\" in the binary directory." FORCE)
370+ENDIF (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
371+
372+# Enable RPaths in installed binaries
373+SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
374+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
375+
376+# turn on the folder grouping used by IDEs (VS or XCode)
377+SET(ZORBA_USE_TARGET_FOLDERS ON CACHE BOOL "Activate use of target grouping into folders")
378+IF(ZORBA_USE_TARGET_FOLDERS)
379+ SET_PROPERTY (GLOBAL PROPERTY USE_FOLDERS ON)
380+ENDIF(ZORBA_USE_TARGET_FOLDERS)
381
382 ###############################################################################
383 # Check for system include files, features, etc.
384@@ -104,6 +101,7 @@
385 CHECK_INCLUDE_FILES ("execinfo.h" ZORBA_HAVE_EXECINFO_H)
386 ENDIF (NOT APPLE OR ${CMAKE_SYSTEM_VERSION} VERSION_GREATER "10.4")
387 CHECK_INCLUDE_FILE_CXX ("FlexLexer.h" ZORBA_HAVE_FLEXLEXER_H)
388+CHECK_INCLUDE_FILES ("uuid/uuid.h" ZORBA_HAVE_UUID_H)
389
390 CHECK_FUNCTION_EXISTS (strtof ZORBA_HAVE_STRTOF_FUNCTION)
391 CHECK_FUNCTION_EXISTS (strtoll ZORBA_HAVE_STRTOLL_FUNCTION)
392@@ -126,23 +124,90 @@
393 CHECK_TYPE_SIZE("__int32" ZORBA_HAVE_MS_INT32)
394 CHECK_TYPE_SIZE("int64_t" ZORBA_HAVE_INT64_T)
395
396-CHECK_CXX_SOURCE_COMPILES ("int main() { int *p = nullptr; }" ZORBA_CXX_NULLPTR)
397-CHECK_CXX_SOURCE_COMPILES ("int main() { static_assert(1,\"\"); }" ZORBA_CXX_STATIC_ASSERT)
398+# C++ built-in type sizes
399+CHECK_TYPE_SIZE("double" ZORBA_SIZEOF_DOUBLE BUILTIN_TYPES_ONLY)
400+CHECK_TYPE_SIZE("float" ZORBA_SIZEOF_FLOAT BUILTIN_TYPES_ONLY)
401+CHECK_TYPE_SIZE("int" ZORBA_SIZEOF_INT BUILTIN_TYPES_ONLY)
402+CHECK_TYPE_SIZE("long" ZORBA_SIZEOF_LONG BUILTIN_TYPES_ONLY)
403+CHECK_TYPE_SIZE("long long" ZORBA_SIZEOF_LONG_LONG BUILTIN_TYPES_ONLY)
404+CHECK_TYPE_SIZE("void*" ZORBA_SIZEOF_POINTER BUILTIN_TYPES_ONLY)
405+CHECK_TYPE_SIZE("short" ZORBA_SIZEOF_SHORT BUILTIN_TYPES_ONLY)
406+CHECK_TYPE_SIZE("size_t" ZORBA_SIZEOF_SIZE_T)
407+SET(CMAKE_EXTRA_INCLUDE_FILES wchar.h)
408+CHECK_TYPE_SIZE("wchar_t" ZORBA_SIZEOF_WCHAR_T)
409+SET(CMAKE_EXTRA_INCLUDE_FILES)
410+
411+# C++11 langauge features
412+CHECK_CXX_SOURCE_COMPILES(
413+ "int main() { int *p = nullptr; }" ZORBA_CXX_NULLPTR)
414+CHECK_CXX_SOURCE_COMPILES(
415+ "int main() { static_assert(1,\"\"); }" ZORBA_CXX_STATIC_ASSERT)
416+
417+# C++11 standard library types
418+CHECK_CXX_SOURCE_COMPILES (
419+ "#include <type_traits>
420+ int main() { std::enable_if<true,int> x; }" ZORBA_HAVE_ENABLE_IF)
421+CHECK_CXX_SOURCE_COMPILES ("
422+ #include <memory>
423+ int main() { std::unique_ptr<int> p; }" ZORBA_HAVE_UNIQUE_PTR)
424+CHECK_CXX_SOURCE_COMPILES (
425+ "#include <unordered_map>
426+ int main() { std::unordered_map<int,int> m; }" ZORBA_HAVE_UNORDERED_MAP)
427+CHECK_CXX_SOURCE_COMPILES (
428+ "#include <unordered_set>
429+ int main() { std::unordered_set<int> s; }" ZORBA_HAVE_UNORDERED_SET)
430
431 ################################################################################
432 # Various cmake macros
433
434-IF(WIN32)
435+SET (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_modules ${CMAKE_MODULE_PATH})
436+IF (WIN32)
437 # On Windows we use proxy modules that try to guess first the location
438 # of the required third party libraries. This will search in order in:
439 # 1. the path pointed by ZORBA_THIRD_PARTY_REQUIREMENTS
440 # 2. the Program Files directory available on the users computer
441 # 3. the PATH environment variable
442 # The logic is implemented by the macros in the ProxyFindModule.cmake module.
443- LIST (APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake_modules/Windows")
444- INCLUDE(ProxyFindModule)
445-ENDIF(WIN32)
446-LIST (APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake_modules")
447+ SET (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_modules/Windows ${CMAKE_MODULE_PATH})
448+ INCLUDE (ProxyFindModule)
449+ENDIF (WIN32)
450+
451+################################################################################
452+# This section is used for batch script and Visual Studio Project file generation.
453+# Each executable on Windows needs a bat script and in the Visual Studio build a \
454+# pre-generated Visual Studio Project file in order to set the PATH to the required DLLs.
455+# For this we use CACHE variables to gather all the information generated
456+# throughout the cmake execution (required DLLs, list of scripts to generate).
457+# The generation occurs only at the end of CMake execution (through the macro
458+# ZORBA_GENERATE_EXE_HELPERS_WIN32) when ALL the requirements have been found.
459+# E.g. zorba.exe needs in PATH all the DLLs of all external modules, etc.
460+IF (WIN32)
461+ # Clear all the variables because they are used only for this build.
462+ SET (ZORBA_REQUIRED_DLLS ""
463+ CACHE STRING "List of DLLs that must be installed" FORCE
464+ )
465+ SET (ZORBA_REQUIRED_DLL_PATHS ""
466+ CACHE STRING "List of paths executable require in order to find the required DLLs" FORCE
467+ )
468+ SET (ZORBA_EXE_SCRIPT_LIST ""
469+ CACHE STRING "List of Windows batch scripts to be generated, one for each executable" FORCE
470+ )
471+ IF (MSVC_IDE)
472+ SET (ZORBA_VC_PROJECT_FILE_LIST ""
473+ CACHE STRING "List of Visual Studio project files to be generated, one for each executable" FORCE
474+ )
475+ ENDIF(MSVC_IDE)
476+
477+ # Moreover, mark it as advanced since the CMake GUI user should not see this.
478+ MARK_AS_ADVANCED (FORCE ZORBA_REQUIRED_DLLS)
479+ MARK_AS_ADVANCED (FORCE ZORBA_REQUIRED_DLL_PATHS)
480+ MARK_AS_ADVANCED (FORCE ZORBA_EXE_SCRIPT_LIST)
481+ IF (MSVC_IDE)
482+ MARK_AS_ADVANCED (FORCE ZORBA_VC_PROJECT_FILE_LIST)
483+ ENDIF(MSVC_IDE)
484+ENDIF (WIN32)
485+################################################################################
486+
487
488 # ZorbaModule includes a number of generally-useful utility functions,
489 # including expected_failure(). Include it now (very early) to ensure
490@@ -212,11 +277,21 @@
491 MESSAGE(STATUS "Looking for LibXml2")
492 FIND_PACKAGE(LibXml2)
493 IF(LIBXML2_FOUND)
494- MESSAGE(STATUS "Found LIBXML2 library -- " ${LIBXML2_LIBRARIES})
495-
496- INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
497- SET(requiredlibs-store ${requiredlibs-store} ${LIBXML2_LIBRARIES})
498- SET(CXXFLAGS ${CXXFLAGS} ${LIBXML2_DEFINITONS})
499+ # Now check LibXml2's version
500+ FILE(STRINGS ${LIBXML2_INCLUDE_DIR}/libxml/xmlversion.h LIBXML2_VERSION_TMP REGEX
501+ "^#define[ \t]+LIBXML_DOTTED_VERSION[ \t]+\".*\"")
502+ STRING(REGEX REPLACE "^#define[ \t]+LIBXML_DOTTED_VERSION[ \t]+\"(.*)\"" "\\1"
503+ LIBXML2_VERSION ${LIBXML2_VERSION_TMP})
504+
505+ IF(LIBXML2_VERSION VERSION_EQUAL "2.7.0" OR LIBXML2_VERSION VERSION_GREATER "2.7.0")
506+ MESSAGE(STATUS "Found LIBXML2 library -- " ${LIBXML2_LIBRARIES})
507+ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
508+ SET(requiredlibs-store ${requiredlibs-store} ${LIBXML2_LIBRARIES})
509+ SET(CXXFLAGS ${CXXFLAGS} ${LIBXML2_DEFINITONS})
510+ ELSE(LIBXML2_VERSION VERSION_EQUAL "2.7.0" OR LIBXML2_VERSION VERSION_GREATER "2.7.0")
511+ MESSAGE(FATAL_ERROR "The libxml2 library version 2.7.0 or higher is required in order to build Zorba.")
512+ ENDIF(LIBXML2_VERSION VERSION_EQUAL "2.7.0" OR LIBXML2_VERSION VERSION_GREATER "2.7.0")
513+
514 ELSE(LIBXML2_FOUND)
515 MESSAGE(FATAL_ERROR "The libxml2 library and headers are required in order to build simple store.")
516 ENDIF(LIBXML2_FOUND)
517@@ -265,15 +340,29 @@
518 #
519 # Xerces-C part 1 - finding in default locations
520 #
521-MESSAGE(STATUS "Looking for Xerces-C")
522-FIND_PACKAGE(XercesC)
523-MESSAGE(STATUS "")
524+MESSAGE (STATUS "Looking for Xerces-C")
525+FIND_PACKAGE (XercesC)
526+MESSAGE (STATUS "")
527+
528+#
529+# shlwapi
530+#
531+IF(WIN32)
532+ SET(requiredlibs ${requiredlibs} "shlwapi")
533+ENDIF(WIN32)
534
535 #
536 # SWIG
537 #
538 IF (NOT ZORBA_SUPPRESS_SWIG)
539 FIND_PACKAGE (SWIG)
540+
541+ COMPARE_VERSION_STRINGS("${SWIG_VERSION}" "1.3.40" result)
542+ IF(result LESS 0)
543+ MESSAGE(WARNING "You need at least SWIG version 1.3.40")
544+ ENDIF(result LESS 0)
545+
546+
547 IF (SWIG_FOUND)
548 # this will be used both in swig and doc sub-directories
549
550@@ -281,13 +370,19 @@
551 # PHP5
552 #
553 FIND_PACKAGE (PHP5)
554+
555+ #
556+ # Python
557+ #
558+ FIND_PACKAGE (PythonInterp)
559+ FIND_PACKAGE (PythonLibs)
560+
561 ELSE (SWIG_FOUND)
562 MESSAGE (STATUS "SWIG not found => no language bindings are generated.")
563 ENDIF (SWIG_FOUND)
564 ELSE (NOT ZORBA_SUPPRESS_SWIG)
565 MESSAGE (STATUS "SWIG is disabled => no language bindings are generated.")
566 ENDIF (NOT ZORBA_SUPPRESS_SWIG)
567-MESSAGE (STATUS "")
568
569
570 LIST(APPEND requiredlibs ${requiredlibs-store})
571@@ -349,11 +444,14 @@
572 " - build without XMLSchema support")
573 ENDIF (NOT ZORBA_NO_XMLSCHEMA)
574
575-LIST(APPEND requiredlibs ${requiredlibs-store})
576-
577-
578 IF(WIN32)
579 SET(requiredlibs ${requiredlibs} wsock32)
580+
581+ # Clear those variables because this is used only for this build.
582+ # A cache variable is needed since this must be modified by subdirectories
583+ # and be visible at this level when ZORBA_GENERATE_EXE_HELPERS_WIN32 is called
584+ SET(ZORBA_EXE_SCRIPT_LIST "" CACHE STRING "List of bat scripts" FORCE)
585+ SET(ZORBA_VC_PROJECT_FILE_LIST "" CACHE STRING "List of VC project files" FORCE)
586 ENDIF(WIN32)
587
588 ################################################################################
589@@ -373,12 +471,37 @@
590 INCLUDE_DIRECTORIES(AFTER ${CMAKE_CURRENT_SOURCE_DIR}/include)
591
592 # zorba versioning
593-SET(ZORBA_MAJOR_NUMBER "1")
594-SET(ZORBA_MINOR_NUMBER "5")
595+SET(ZORBA_MAJOR_NUMBER "2")
596+SET(ZORBA_MINOR_NUMBER "7")
597 SET(ZORBA_PATCH_NUMBER "0")
598 SET(ZORBA_VERSION ${ZORBA_MAJOR_NUMBER}.${ZORBA_MINOR_NUMBER}.${ZORBA_PATCH_NUMBER})
599 MESSAGE(STATUS "Zorba version number: ${ZORBA_VERSION}")
600
601+SET(ZORBA_LIB_DIRNAME "lib" CACHE STRING
602+ "directory name for libs (may want to set to 'lib64' on 64-bit Linux platforms)")
603+
604+# Directories for modules and schemas. "Core" are those which are
605+# shipped with Zorba and must be present for correct Zorba
606+# functionality. "Non-core" are developed independently of Zorba and
607+# have different version lifecycles.
608+#
609+# URI dir is for things resolved by URI - specifically modules (.xq
610+# files) and schemas (.xsd files) - which are platform-
611+# independent. Lib dir is for platform-specific files, specifically
612+# shared libraries for module external functions.
613+SET(ZORBA_NONCORE_URI_DIR "share/zorba/uris"
614+ CACHE STRING "Path (relative to installdir) to non-core modules/schemas")
615+MARK_AS_ADVANCED(ZORBA_NONCORE_URI_DIR)
616+SET(ZORBA_CORE_URI_DIR "${ZORBA_NONCORE_URI_DIR}/core/${ZORBA_VERSION}"
617+ CACHE STRING "Path (relative to installdir) to core modules/schemas")
618+MARK_AS_ADVANCED(ZORBA_CORE_URI_DIR)
619+SET(ZORBA_NONCORE_LIB_DIR "${ZORBA_LIB_DIRNAME}/zorba"
620+ CACHE STRING "Path (relative to installdir) to non-core libraries")
621+MARK_AS_ADVANCED(ZORBA_NONCORE_LIB_DIR)
622+SET(ZORBA_CORE_LIB_DIR "${ZORBA_NONCORE_LIB_DIR}/core/${ZORBA_VERSION}"
623+ CACHE STRING "Path (relative to installdir) to core libraries")
624+MARK_AS_ADVANCED(ZORBA_CORE_LIB_DIR)
625+
626 # add compiler variables
627 ADD_DEFINITIONS(${DEFINITIONS})
628
629@@ -405,37 +528,49 @@
630 ENDIF(APPLE)
631
632
633-################################################################################
634-# #
635-# Tell CMake to process the sub-directories #
636-# #
637-################################################################################
638-
639 SET (ZORBA_MODULES_DIR "${CMAKE_SOURCE_DIR}/../zorba_modules"
640 CACHE PATH "Path to directory (outside of Zorba svn root) containing external modules to add to the build")
641
642+# Subdir of the installation directory for CMake files, relative to
643+# CMAKE_INSTALL_PREFIX.
644+IF (WIN32)
645+ SET(ZORBA_CMAKE_DIR "cmake" CACHE STRING
646+ "Relative path to CMake files in Zorba installation")
647+ELSE (WIN32)
648+ SET(ZORBA_CMAKE_DIR "share/cmake/zorba-${ZORBA_VERSION}" CACHE STRING
649+ "Relative path to CMake files in Zorba installation")
650+ENDIF (WIN32)
651+
652+################################################################################
653+# #
654+# Tell CMake to process the sub-directories #
655+# #
656+################################################################################
657+
658 ADD_SUBDIRECTORY(scripts)
659 ADD_SUBDIRECTORY(cmake_modules)
660
661 # Subdirectory ordering: We need to include "test" before "config" so
662 # ZorbaConfig knows about testdriver. We need to include "config"
663 # before "modules" so external modules will be able to find
664-# ZorbaConfig.cmake.
665+# ZorbaConfig.cmake. We need to include "modules" before "include" so
666+# config.h can know eg. whether we found CURL. We need to include "modules"
667+# before "doc" so xqdoc can know what non-core modules are available.
668
669 ADD_SUBDIRECTORY(test)
670 ADD_SUBDIRECTORY(config)
671-ADD_SUBDIRECTORY(include)
672-ADD_SUBDIRECTORY(doc)
673 ADD_SUBDIRECTORY(schemas)
674 ADD_SUBDIRECTORY(modules)
675+ADD_SUBDIRECTORY(doc)
676+ADD_SUBDIRECTORY(include)
677
678 ADD_DEFINITIONS(-Dzorba_EXPORTS)
679 ADD_SUBDIRECTORY(src)
680 REMOVE_DEFINITIONS(-Dzorba_EXPORTS)
681
682-IF(ZORBA_USE_SWIG)
683- ADD_SUBDIRECTORY(swig)
684-ENDIF(ZORBA_USE_SWIG)
685+IF (SWIG_FOUND)
686+ ADD_SUBDIRECTORY (swig)
687+ENDIF (SWIG_FOUND)
688
689 ADD_SUBDIRECTORY(bin)
690
691@@ -466,5 +601,16 @@
692 ENDIF (APPLE AND UNIVERSAL)
693
694 IF (WIN32)
695- ZORBA_GENERATE_EXE_SCRIPTS_WIN32 ()
696+ ZORBA_GENERATE_EXE_HELPERS_WIN32 ()
697 ENDIF (WIN32)
698+
699+# This must be done last! Create the one top-level target which
700+# depends on all generated (copied) module/schema files.
701+DONE_DECLARING_ZORBA_URIS()
702+
703+# This dependency makes sure that the error and warning definition
704+# modules are generated before trying to install them as zorba modules.
705+# This dependency is zorba-only related, which is why it's added here
706+# and not within zorba-modules, which is for general use in other
707+# non-zorba modules.
708+ADD_DEPENDENCIES(check_core_uris gen_diag_modules)
709
710=== modified file 'CPackSourceConfig.cmake.in'
711--- CPackSourceConfig.cmake.in 2009-10-30 16:24:51 +0000
712+++ CPackSourceConfig.cmake.in 2012-10-24 01:05:28 +0000
713@@ -19,7 +19,7 @@
714
715 SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
716 SET(CPACK_GENERATOR "TGZ;TZ")
717-SET(CPACK_IGNORE_FILES "test/coverity/;dist/;_CPack_Packages/;build/;build./;CVS/;/\\.svn/;\\.swp$;\\.#;/#")
718+SET(CPACK_IGNORE_FILES "test/coverity/;dist/;_CPack_Packages/;build/;build./;CVS/;/\\.svn/;\\.swp$;\\.#;/#;\\.bzr/")
719 SET(CPACK_INSTALLED_DIRECTORIES "@CMAKE_SOURCE_DIR@;/")
720 SET(CPACK_INSTALL_CMAKE_PROJECTS "")
721 SET(CPACK_MODULE_PATH "")
722
723=== modified file 'ChangeLog'
724--- ChangeLog 2011-06-08 06:57:13 +0000
725+++ ChangeLog 2012-10-24 01:05:28 +0000
726@@ -1,27 +1,420 @@
727 Zorba - The XQuery Processor
728
729+version 2.7
730+
731+New Features:
732+ * XQuery 3.0 simple map operator http://www.w3.org/TR/xquery-30/#id-map-operator
733+ * Copy function added to the node module
734+ * Allow prolog variables to be referenced before they are declared (XQuery 3.0 feature)
735+ * Module http://www.jsoniq.org/modules/function-library with handy JSONiq functions
736+ * jn:parse-json can parse multiple top-level JSON items
737+ * New semantics of null for comparison and arithmetics operations
738+ * xml:parse (fragment parsing) now allows for a DOCTYPE declaration at the
739+ beginning of the XML document (requested in bug #1016606).
740+ * Roundtripping of JSON items has been moved from the serializer to encoding functions.
741+ * Added uuid to public API.
742+ * Best-effort serialization of atomic values in JSON items.
743+ * Positional pagination support for index probes
744+ * Recognize the {http://www.zorba-xquery.com/extensions}no-copy pragma to avoid
745+ copying nodes before insertion into a collection.
746+ * Added createUntypedAtomic to API's ItemFactory.
747+ * new xqDoc feature; reporting collections and indexes
748+ * new xqDoc function parameter to enable/disable xqDoc generation of certain
749+ components
750+ * Adding new external module read-pdf, it converts PDF documents to text or rendered images.
751+
752+Optimizations:
753+ * Improved memory management for compiler expressions (no more ref counting)
754+ * Extended optimization rules (for variable inlining/elimination and positional
755+ predicate rewrite) to general flwor expressions.
756+ * Early optimization of positional predicates to subsequence expressions: now
757+ done at translation time, if possible.
758+ * For non-mutable global variables, assign a type based on their initializing expr.
759+ * Use char* instead of zstring as the hashmap key in json objects
760+ * Removed document-order sorting after the index value probe functions.
761+ * Optimize positional predicates involving inequality (convert them to subsequence)
762+ * Optimize positional predicate that is in CNF with other predicates.
763+ * Optimized runtime group iterator based on latest group-by semantics.
764+ * Removed two unnecessary steps from optimizer.
765+
766+Bug Fixes/Other Changes:
767+ * Fixed bug #1006960 (taking construction mode into account during no-copy rule)
768+ * Fixed bug #950621 (Removed two-arg version of fn:parse-xml(); use XML module
769+ function xml:parse() instead)
770+ * Fixed bug #867227 (Improved error message for missing commas)
771+ * Fixed memory leak during runtime group-by"
772+ * Fixed bug #1024033 and #1023170 (segfaults in parse-xml:parse())
773+ * Fixed bug #898792 (Dynamically computed strings can now be cast to xs:QName)
774+ * Fixed bug in determining the IsId property of constructed attribute nodes
775+ * Fixed bug #1034990 (text serialization with jsoniq fails)
776+ * Fixed bugs #899364 and 899363 (throw XQST0103 in case of non-distinct window
777+ variables)
778+ * Fixed bug #923686 (implicitly declare global context size and context position
779+ variables in main module and provide api function to assign values to these
780+ variables)
781+ * Fixed bug #899366 (enforce the type declaration of a window variable)
782+ * Fixed bug #1034942 (improper variable inlining inside general flwor expr)
783+ * Fixed bug #1024892 (index declaration references udf declared after the index)
784+ * Fixed bug #1038410 (Memory leaks in parser, trace iterator, and general index)
785+ * Fixed bug #1046411 (automatic boxing of multi-item sequence appearing as the
786+ value of an object pair)
787+ * Fixed bug #1046410 (automatic conversion to null of empty sequence appearing
788+ as the value of an object pair)
789+ * Fixed bug #1039488 (inserting more than one pair at once in a JSON object)
790+ * Fixed bug #1042840 (QName pool free-list corruption)
791+ * Fixed bug #866984 (better error message for an eval error)
792+ * Fixed bug #1047538 (SourceFinder::findLocalNodeSources missing json expressions)
793+ * Fixed bug #932374 (FOTS fn:matches failing tests)
794+ * Fixed #1052383 (accessing context item in eval expr)
795+ * Fixed bug #1046559 (dynamic resolution between function invocation and jsoniq
796+ navigation)
797+ * Fixed bug #932884 (HTML and XHTML serialization of empty elements)
798+ * Fixed bug #1046415 (pair name cast to string)
799+ * Fixed bug #1045902 (file:last-modified returns current date time)
800+ * Fixed bug #1043976 (compiler warning in serializer code)
801+ * Fixed bug #866994 (a better error message when collection iterator not open)
802+ * Fixed bug #1039254 (allow empty sequence as position value in positional LET
803+ var iterator)
804+
805+
806+version 2.6
807+
808+New Features:
809+ * Include first-class support for JSON data by implementing the JSONiq spec
810+ - see http://jsoniq.org/ for more information. This feature is enabled by default.
811+ * Implemented the new EQName syntax (use Q{namespace}local instead of "namespace":local)
812+ * New function Item::isSeekable for streamable content (xs:string and xs:base64Binary)
813+ * Implemented the latest W3C specification for the group by clause (backwards incompatible)
814+ * New ft:tokenize-nodes() function to full-text module
815+ * New XQuery 3.0 function fn:parse-xml-fragment#1
816+ * New ItemFactory function that allows creating dateTime items without timezone
817+ * Added support for transient maps to the
818+ http://www.zorba-xquery.com/modules/store/data-structures/unordered-map module.
819+ * Added support for fragments to fn:path
820+ * Positional pagination support for collections
821+ * http://www.zorba-xquery.com/modules/archive module for creating,
822+ reading, and updating various (compressed) archives (e.g. zip, tar.gz,
823+ or tar.bz2)
824+ * Incremental maintenance for general indexes
825+ * New function in the http://www.zorba-xquery.com/modules/store/static/indexes/dml
826+ module which returns the value of all keys contained in an index
827+
828+Optimizations:
829+ * Optimization of comparison operations
830+ * Tighter hoisting of expressions (also fixes bug #967428)
831+ * Optimized hash sets used by fn:distinct-values and nodes-distinct
832+ * Optimized hash function used for nodes (also fixes bug #1010051)
833+ * Rewrite of plan serializer internals, resulting in big performance improvement
834+ * Avoid treat expr for checking that the value of a non-external
835+ global variable conforms to the type declaration of the variable
836+ * Streaming execution for tumbling windows (also fixes bug #1010051)
837+
838+Bug Fixes/Other Changes:
839+ * Fixed bug #1025622 (Incorrect JSON serialization of supplementary plane code points)
840+ * Fixed bug #1016606 (DOCTYPE in the input of the parse-fragment function)
841+ * Fixed bug #1002993 (bug during revalidation after update; improper condition
842+ for calling TypeOps::get_atomic_type_code() from
843+ SchemaValidatorImpl::isPossibleSimpleContentRevalImpl())
844+ * Fixed bug #867357 (Improved parser error messages)
845+ * Fixed bug #1026379 ("q" flag for fn:replace() is ignored)
846+ * Fixed bug #932314 (non-comparable values must be treated as distinct by
847+ fn:distinct-values)
848+ * Fixed bug #1015580 (Add base64_streambuf / replace inefficient base64 code)
849+ * Fixed bug #1022557 (subsequence function applied on window variable)
850+ * Fixed bug #9910884 (raise XUST0001 in trycatch with mixed updating and simple clauses)
851+ * Fixed bug #854506 (ugly type error messages) and partial fix for bug #867008
852+ * Fixed bug #1008082 (bug in transform expr when a copy var is not used anywhere)
853+ * Fixed bug #898066 (Stringstream & fn:trace)
854+ * Fixed numbering of items in fn:trace starts with one
855+ * Fixed bug #1003023$ (optimizer problems due to common subexpression after
856+ var folding into if-then-else)
857+ * Fixed bug #1006166 (disabling 2 functions with the same qname)
858+ * Fixed bug #960083 (improper error handling of NaN comparisons)
859+ * Fixed bug #878508 (JsonML serialization not escaping characters)
860+ * The XML plan serialization format is not supported anymore
861+
862+
863+version 2.5
864+
865+New Features:
866+ * New XQuery 3.0 functions
867+ - fn:available-environment-variables
868+ - fn:environment-variables
869+ - fn:uri-collection
870+ - fn:unparsed-text
871+ - fn:unparsed-text-available
872+ - fn:has-children#0
873+ - fn:nilled#0
874+ - fn:path
875+ * Added base64:decode#2 function which also does transcoding
876+ * Extended API for Python, Java, PHP and Ruby
877+ * Added JVM classpath to zorbacmd and to Zorba API
878+ * Added full-text module
879+ * Added support for NO_ICU (to not use ICU for unicode processing)
880+ * Added XQJ support
881+ * Added CollectionManager and DocumentManager support for XQJ
882+ * Added new API EntityKind SOME_CONTENT
883+ * Added new API StreamResource which is able to specify whether a
884+ stream is seekable or not.
885+ * Added new functions in the fetch module and the StaticContext to fetch
886+ resources as binary
887+ * Added non-core schema-tools module for getting sample XMLSchema from
888+ XML instances and sample XML instances from XMLSchema.
889+
890+Optimizations:
891+ * optimized insertion into a collection (don't copy it if the node was
892+ created by an element constructor and is not used anywhere else in the query)
893+ * Fixed performance problem with the findNodeSources function of the no-copy rule
894+
895+Bug Fixes/Other Changes:
896+ * Fixed bug #867170 (Variables declared in Prolog are Overwritten inside the query)
897+ * Fixed bug #1001463 (type not available during computation of function caching)
898+ * Fixed bug #1002867 (resulting base64 in http-client is wrong)
899+ * Fixed bugs #905028 (Allow to set base URI to undefined)
900+ * Fixed bugs #931501 and #866987 (improved error messages for fn:format-number()
901+ * fn:format-number raises FODF1310 instead of XTDE1310
902+ * Fixed bug 955170 (Catch clause with URILiteral-based wilcard NameTest)
903+ * Fixed bug #862971 (no error upon duplicate function declarations)
904+ * Fixed bug 955135 (err:XQDY0044 not caught by try-catch expressions)
905+ * Fixed bug #986075 (encountering flwor expr with no clauses)
906+ * Fixed bug #967864 (var substitution did not update theFreeVars property)
907+ * Fixed bug #891650 (context size var not always declared within path expr)
908+ * Fixed bug #948879 (--uri-path doesn't work with fetch:content())
909+ * Fixed bug in MarkNodeCopyProps rule (static cast to replace_expr without chaing the expr kind first)
910+ * Fixed bug in window iterator (binding the end vars in the output tuple stream)
911+ * Fixed bug #866547 (protect index-join rule from general flwor)
912+ * Fixed bug #867253 (cdml:delete-nodes should only remove root nodes)
913+ * Fixed bug #967428 (do not hoist index creation outside a try-catch)
914+ * Fixed bug #872234 (prevent a rewritting to take place in case of sequential expr)
915+ * Fixed bug #966706 (key uniqueness of index not enforced during incremental refresh)
916+ * Fixed bug #906494 (default compile with D_FILE_OFFSET_BITS=64)
917+ * Fixed bug #988412 (date:current-dateTime daylight saving)
918+ * Fixed bug #912586, #912593 and #912722 (assertion failures with lax validation)
919+ * Fixed bug #986377 (do not apply any updates on collection if it is to be truncated)
920+ * Fixed bug #921458 (file:read-text-lines() blocking)
921+ * Fixed bug #981405 (do not hoist expr containing try-catch variables out of the associated try-catch expression)
922+ * Fixed bug #996084 (crash in Streamable*Item with file module)
923+ * Fixed bug #947627 (throw XQST0099 if more than one declarations of context item type in same module)
924+ * Fixed bug #980526 (no-copy rule bug due to global var being set in "distant" udf)
925+ * Fixed bug #949910 (has-children may be invoked on all nodes)
926+ * Fixed Bug #933490 (Error ItemFactoryImpl::createBase64Binary with istream)
927+ * Fixed bug #867112 (Diagnostic Handler was not working on external APIs)
928+ * Fixed bug #857842 (Assertion failed with simple content element with comments)
929+ * Fixed bug #928626 (no setting classpath in xsl-fo module)
930+
931+version 2.2
932+
933+New Features:
934+ * Add --compile-plan (-c) and --execute-plan (-e) options to zorba command line.
935+ * Add XQuery 3.0 concat operator (http://www.w3.org/TR/xquery-30/#id-string-concat-expr)
936+ * New URI module providing percent-decoding functions.
937+ * The core parse-xml module is now able to parse input files in a streaming mode. A number of new options have also been added.
938+ * LibXml2 version 2.7.0 or higher is now required in order to build Zorba.
939+ * Added index management function to the C++ api's StaticCollectionManager.
940+ * Added createDayTimeDuration, createYearMonthDuration, createDocumentNode, createCommentNode, createPiNode to api's ItemFactory.
941+ * Fixed bug #905050 (setting and getting the context item type via the c++ api).
942+ * Added split function to the string module that allows for streamable tokenization but doesn't have regular expression
943+ * Add new XQuery interface for the PHP bindings.
944+ * Added two API methods StaticContext::getFunctions to introspect the functions of a static context
945+ * Added API method Item::getNamespaceBindings().
946+ * Added a transcoding streambuffer to the API which allows transcoding arbitrary encodings
947+ from and to UTF-8
948+ * file:read-text is able to handle arbitrary encodings (fixes bug #867159)
949+ * http:send-request is able to handle arbitrary encodings
950+ * Added API method StaticContext::getNamespaceBindings() (see bug #905035)
951+ * New version of the JSON converter module in the core of Zorba (no external dependencies anymore)
952+ * Added truncate function to the collection modules for efficient deletion of all nodes in a collection.
953+
954+
955+Optimization:
956+ * No-copy optimization: avoids copying nodes during node-constructor expressions.
957+ * Added external function annotations %ann:propagates-input-nodes and
958+ %ann:must-copy-input-nodes to be used by the no-copy optimization.
959+ * Caching of results for recursive functions with atomic parameter and return types.
960+ * Added %ann:cache and %ann:no-cache to enable or disable caching of results of functions with atomic parameter and return types.
961+ * Types-related optimizations for runtime operators (comparisons, FnBoolean, Or, And,
962+ Compare, instance-of, cast, castable, treat, promote).
963+ * More efficient implementation for base64Binary items
964+ * Preallocate and reuse temp sequence iterator for LetVarITerator
965+ and CtxVarIterator.
966+ * Enhanced push-down of positional predicate into LetVarITerator
967+ and CtxVarIterator.
968+ * Change the implementation of the free-vars annotation and got rid
969+ of the annotations map in expressions.
970+
971+Bug Fixes/Other Changes:
972+ * Fixed bug 923015 (clone() not implemented for full-text expressions)
973+ * Fixed bug 917923 (bug in copying outer var values into the eval dynamic context)
974+ * Fixed bug 867509 (Can not handle largest xs:unsignedLong values)
975+ * Fixed bug 924063 (sentence is incorrectly incremented when token characters end without sentence terminator)
976+ * Fixed bug 909126 (bug in cloning of var_expr)
977+ * Fixed bug 928631 (external builtin function were not executed in the module they
978+ were declared)
979+ * Fixed bug in destruction of exit_catcher_expr
980+ * Fixed bug #867024 (error messages)
981+ * Fixed bug #957580 (stream read failure in StringToCodepointsIteartor)
982+ * Fixed bug #911585 (management of variables during eval)
983+ * Fixed bug #866423 (fn:empty and fn:exists iterators must reset their input in
984+ case of early-out)
985+ * Fixed bug #955574 (http-client "hangs" if following a POST request)
986+ * Fixed bug #945241 (StaticCollectionManager::declaredIndexes() and temporary indexes)
987+ * Fixed bug #872288 (reset recursive flag during node rename)
988+ * Fixed bug #905041 (allow for the default element and function namespaces to be
989+ set multiple times via the c++ api).
990+ * Fixed bug #907872 (segfault when returning an input ItemSequence from an external function).
991+ * Fixed bug in codegen: do not create a materialize clause if one exists already
992+ support.
993+ * Fixed bug involving positional var and groupby
994+ * Fixed bug #867266 (do not hoist updating expressions)
995+ * Fixed bug #867022 (added location and params to some XPTY0004 errors)
996+ * zerr is not predeclared anymore to be http://www.zorba-xquery.com/errors
997+ * Fixed bug #917981 (disallow declaring same module twice).
998+ * Deprecated StaticContext:getNamespaceURIByPrefix()
999+ * Fixed bug #943788 (streamable string is not seekable)
1000+ * Fixed bug #921624 (slow queries with bogus example.com schema URIs)
1001+ * Fixed bug #918211 (xqueryx fulltext w3c conformance generation)
1002+ * Fixed bug #918157 (Add XQFTTS to validation queue)
1003+ * Fixed bug with unversioned modules with C++ external functions
1004+ * Fixed bug #912579 (validate-in-place on non-root elements)
1005+ * Fixed bug #891209 (validation with xsi:type returns untyped)
1006+ * Fixed bug #952829 (Nondeterministic annotation doesn't seem to be checked)
1007+ * Fixed bug #951772 (Comment node crashes serialization)
1008+ * Fixed bug #945241 (StaticCollectionManager::declaredIndexes() and temporary indexes)
1009+
1010+
1011+version 2.1
1012+
1013+New Features:
1014+ * New node-position module. This module allows to obtain a representation of a node position, which
1015+ can be used to assess structural relationships with other nodes.
1016+ * New node-reference module. References can be obtained for any node, and
1017+ different nodes cannot have the same identifier.
1018+ * Custom Full-text thesaurus using Zorba URI resolver mechanism.
1019+ * Modified C++ API to add isSequential, getExternalVariables, isBoundContextItem and
1020+ isBoundExternalVariable Functions
1021+ * Collection allows to retrieve information about the type
1022+ and the annotations of a static collection.
1023+ * Implemented the probe-index-range-value for general indexes
1024+ * Added ExternalFunctionParameter class to be registered in the DynamicContext
1025+ * New module for compiling and executing XQueries from XQuery (xqxq)
1026+ * External functions are allowed to be updating (i.e. return a pending update list)
1027+
1028+Optimization:
1029+ * Optimization for positioned sequence access (e.g. $x[$x[1]] where $x is a
1030+ sequence of integers)
1031+ * Optimization for count(collection()) expressions
1032+ * Optimization of the fn:substring function in the case when its $start and $length arguments
1033+ are integers
1034+
1035+Bug Fixes/Other Changes:
1036+ * Fixed bug #3403291 (build for Fedora 15)
1037+ * Fixed bug #3397293 (Incorrect XQueryX error message)
1038+ * Fixed bug #3398637 (Nested element constructors cause loss of namespace bindings)
1039+ * Fixed bug #3401592 (Undo of Create Collection doesn't work)
1040+ * Fixed bug #3404689 (assignment problem in flwor)
1041+ * Fix for bug #3404450 (testdriver_mt problem: caching and validation of docs)
1042+ * Fixed installation bug to not install the .so for test modules
1043+ * Fixed bug #3390410 (Adding a node to a collection causes out of bound in vector)
1044+ * Fixed bug #3406200 (node types were not being moved to new tree during node detach)
1045+ * Fixed bug #3406191 (Namespace bindings lost after update due to bug in node detach)
1046+ * Fixed bug #3290122 (ZDST0003 needs collection name)
1047+ * Fixed bug #3406272 (merging of adjacent text nodes must be done after all
1048+ updates have been applied).
1049+ * Don't raise warnings for unknown annotations.
1050+ * Fixed bug #3409344 (during detach, if the node being detached is the root of
1051+ its tree, it should be detached from the tree as well; otherwise memory
1052+ corruption will occur)
1053+ * Fixed bug # (Should not destroy the parent of a node that is being detached
1054+ before the detach is done).
1055+ * Added const qualifier to StaticContext::getAuditEvent()
1056+ * Fixed bug #3408181 (available-collection() returns undeclared collections)
1057+ * Fixed bug #859465 (Fatal error if a PUL contains two deactivate IC primitives)
1058+ * Fixed bug #859467 (Fatal error if a PUL contains two activate Foreign Key primitives)
1059+ * Fixed bug #859468 (Fatal error if a PUL contains two activate Simple IC primitives)
1060+ * Fixed bug #859522 (Fatal error if a PUL contains two delete document primitives)
1061+ * Fixed bug #859968 (Using put on an attribute produces an invalid XDM instance and may cause segmentation faults)
1062+ * Fixed bug #855314 (should not fold a constant expr that returns an error item)
1063+ * Fixed bug when parsing a document with a base-uri attribute.
1064+ * Fixed bug #863320 (Sentence is incorrectly incremented when token characters end without sentence terminator)
1065+ * Fixed bug #863730 (static delete-node* functions don't raise ZDDY0012)
1066+ * Implemented the probe-index-range-value for general indexes
1067+ * Removed ZSTR0005 and ZSTR0006 error codes
1068+ * Fixed bug #867662 ("nullptr" warning)
1069+ * Fixed bug #868258 (Assertion failure with two delete collection)
1070+ * Fixed bug #871623 and #871629 (assertion failures with insertions in dynamic collections)
1071+ * Fixed bug #867262 (allow reuse of iterator over ExtFuncArgItemSequence)
1072+ * Fixed bug #869024 (segmentation fault with node-reference)
1073+ * Fixed bug #869025 (segmentation fault with node-reference)
1074+ * New node-reference module. References can be obtained for any node, and
1075+ different nodes cannot have the same identifier.
1076+ * Fixed bug #872697 (segmentation fault with validation of NMTOKENS)
1077+ * General index cannot be declared as unique if the type of its key is
1078+ xs:anyAtomicType or xs:untypedAtomic.
1079+ * Added undo for node revalidation
1080+ * Optimization for count(collection()) expressions
1081+ * Fixed bug #872796 (validate-in-place can interfere with other update primitives)
1082+ * Fixed bug #872799 (validate-in-place can set incorrect types)
1083+ * Fixed bug #855715 (Invalid escaped characters in regex not caught)
1084+ * Fixed bug #868325 (fn:analyze-string fails with some recursive subgroups)
1085+ * Fixed bug #872697 (segmentation fault with validation of NMTOKENS)
1086+ * General index cannot be declared as unique if the type of its key is
1087+ xs:anyAtomicType or xs:untypedAtomic.
1088+ * Added undo for node revalidation
1089+ * Optimization for count(collection()) expressions
1090+ * Fixed bug #867133 (SWIG PHP build failure on Mac OSX)
1091+ * Fixed bug #872796 (validate-in-place can interfere with other update primitives)
1092+ * Fixed bug #872799 (validate-in-place can set incorrect types)
1093+ * Fixed bug #872850 (Serialization of Tumbling Window For fails)
1094+ * Fixed bug #855715 (Invalid escaped characters in regex not caught)
1095+ * Fixed bug #862089 (Split binary/xq install directories for modules) by
1096+ splitting "module path" into separate URI and Library paths
1097+ * New node-position module. This module allows to obtain a representation of a node position, which
1098+ can be used to assess structural relationships with other nodes.
1099+ * Fixed bug #872502 (validation of the JSON module xqdoc fails)
1100+ * Fixed bug #897619 (testdriver_mt can not run the XQueryX tests)
1101+ * Fixed bug #867107 (xqdoc dependency to zorba is wrong)
1102+ * Fixed bug #897616 (Fix the generation of the XQFTTS report results for
1103+ W3C)
1104+
1105+version 2.0.3
1106+ * Fixed bug #867662 ("nullptr" warning)
1107+ * documentation improvements
1108+
1109+version 2.0.2
1110+ * Fixed bug #3401971 (node-by-reference on dynamic collections)
1111+ * documentation improvements
1112+ * installer improvements
1113+ * Fixed bug #3403291 (build for Fedora 15)
1114+ * Don't install the .so for test modules
1115+ * Fix for running ctest on Windows
1116+
1117+version 2.0.1
1118+
1119+ * Custom Full-text stemming.
1120+ * Custom Full-text tokenization.
1121+ * Fixed scripting bug where apply statement was considered a sequential expr even if the source expr was non-updating and non-sequential.
1122+ * Fixed bug #3394400 (Element replacement, really unexpected result)
1123+ * Fixed bug #3394588 (Unexpected error during pul undo)
1124+ * Fixed bugs #3398511 and #3398552 with "make install"
1125+ * Fixed bug #3398521 for compiling with ZORBA_NO_XMLSCHEMA
1126+
1127 version 2.0
1128- * Removed the --install-path zorba command line argument. This functionality was duplicating
1129- the existing --module-path argument
1130- * zorba executable deletes the output file (if one is provided) in case the execution fails
1131- * changed the error codes returned by the zorba executable (using different codes for
1132- different locations where the execution might fail)
1133- * Removed the XQuery 1.1 "outer for" construct, and replaced it with "allowing empty"
1134- * Added the XQuery 1.1 functions and variables annotations. Removed the "deterministic"
1135- and "nondeterministic" keywords, which were replaced by the "%deterministic" and
1136- "%nondeterministic" annotations.
1137- * Changed the singature of ExternalModule::getExternalFunction. The const modified was removed
1138- to allow for lazy instantiation of the function objects. Also, the localname is passed as
1139- as a const reference.
1140- * renamed the fn:parse function (XQuery Functions and Operators 1.1) to fn:parse-xml
1141- (XQuery Functions and Operators 3.0)
1142- * added the fn:serialize function (XQuery Functions and Operators 3.0)
1143- * removed the serialize module (http://www.zorba-xquery.com/modules/serialize) since this
1144- functionality is now covered by the built-in function fn:serialize
1145- * updated the file module to the new http://expath.org/ file module specification. The new module is now in the http://expath.org/ns/file namespace
1146- * the XML Schema atomic types are now serialized including the "xs" prefix (used in sax2 serialization,
1147- debuger, etc.)
1148- * zorba uses now DBGP as the debugger protocol
1149+ * Zorba 2.0 is a major rewrite of previous versions. It doesn't claim to
1150+ preserve backwards compatibility with any 1.X version.
1151+ Host language API changes have been made to the following components:
1152+ - External functions API
1153+ - XmlDataManager
1154+ - Error reporting
1155+ - Debugger API
1156+ XQuery language and API changes have been made to the following components:
1157+ - XQuery Scripting Extension
1158+ - Function APIs
1159+ - XQuery Data Definition Facility
1160+ - XQuery modules and module versioning
1161+ - Changes to conform with the latest XQuery 3.0
1162+ - Namespaces of annotations, errors, collations.
1163+ * In addition to host language API and XQuery language improvements,
1164+ plenty of bug fixes and optimizations have been made.
1165
1166 version 1.4
1167 * added a datetime library module with nondeterministic functions
1168
1169=== modified file 'KNOWN_ISSUES.txt'
1170--- KNOWN_ISSUES.txt 2011-07-01 14:37:20 +0000
1171+++ KNOWN_ISSUES.txt 2012-10-24 01:05:28 +0000
1172@@ -1,41 +1,52 @@
1173- ----------------------------
1174- FLWOR Foundation - Zorba 2.0
1175- ----------------------------
1176+This is a list of issues that we are aware of but are not imlemeneted or fixed:
1177
1178-This is a list of issues that we are aware of but are not fixed in this version:
1179+Zorba Version 2.0
1180
1181 * Floating-point precision problems.
1182 For details, see the following bugs:
1183- - 2204089 <https://sourceforge.net/tracker2/?func=detail&aid=2204089&group_id=226244&atid=1067586>
1184- - 2205034 <https://sourceforge.net/tracker2/?func=detail&aid=2205034&group_id=226244&atid=1067586>
1185- - 2210851 <https://sourceforge.net/tracker2/?func=detail&aid=2210851&group_id=226244&atid=1067586>
1186+ - 2204089 <https://bugs.launchpad.net/zorba/+bug/sf-2204089>
1187+ - 2205034 <https://bugs.launchpad.net/zorba/+bug/sf-2205034>
1188+ - 2210851 <https://bugs.launchpad.net/zorba/+bug/sf-2210851>
1189
1190 * When using the (now default) xs:integer representation of a C++ "long long",
1191 the largest xs:unsignedLong values are not handled correctly.
1192 For details, see the following bug:
1193- - 3323548 <https://sourceforge.net/tracker/?func=detail&aid=3323548&group_id=226244&atid=1067586>
1194+ - 3323548 <https://bugs.launchpad.net/zorba/+bug/sf-3323548>
1195
1196 * Zorba uses ICU for regular expressions that does not support range
1197- subtraction.
1198- For details, see the following bug:
1199- - 3150856 <https://sourceforge.net/tracker/?func=detail&aid=3150856&group_id=226244&atid=1067586>
1200+ subtraction. For details, see the following bug:
1201+ - 3150856 <https://bugs.launchpad.net/zorba/+bug/sf-3150856>
1202
1203 * If you link against ICU <= 3.8.1, you can get wrong results when using \s to
1204- match a white space character.
1205- For details, see following bug:
1206- - 3155900 <https://sourceforge.net/tracker/?func=detail&aid=3155900&group_id=226244&atid=1067586>
1207+ match a white space character. For details, see following bug:
1208+ - 3155900 <https://bugs.launchpad.net/zorba/+bug/sf-3155900>
1209
1210 * A known bug in Xerces < 3.0, when an .xsd contains an any wildcard with
1211 namespace #others and the instance contains an element without a namespace,
1212 there should still be an error. See "Definitive XMLSchema" by Priscilla
1213 Wamsley, p. 279. This was fixed in Xerses > 3.0.
1214 For details, see following bug:
1215- - 3137594 <https://sourceforge.net/tracker/index.php?func=detail&aid=3137594&group_id=226244&atid=1067586>
1216+ - 3137594 <https://bugs.launchpad.net/zorba/+bug/sf-3137594>
1217
1218 * XQuery Full-Text is mostly, but not completely, implemented.
1219 For details, see following bugs:
1220- - 3187470 <https://sourceforge.net/tracker/?func=detail&aid=3187470&group_id=226244&atid=1067586>
1221- - 3187462 <https://sourceforge.net/tracker/?func=detail&aid=3187462&group_id=226244&atid=1067586>
1222+ - 3172383 <https://bugs.launchpad.net/zorba/+bug/sf-3172383>
1223+ - 3187470 <https://bugs.launchpad.net/zorba/+bug/sf-3187470>
1224+ - 3187462 <https://bugs.launchpad.net/zorba/+bug/sf-3187462>
1225
1226 * The serializer currently doesn't implement character maps as specified
1227 (http://www.w3.org/TR/xslt-xquery-serialization/#character-maps)
1228+
1229+* In the 2.0 release, setting the CMake variables ZORBA_NO_ICU to
1230+ ON is not supported.
1231+
1232+* The PHP language binding is not supported on Mac OS X. For details,
1233+ see the following bug:
1234+ - <https://bugs.launchpad.net/zorba/+bug/sf-3371525>
1235+
1236+* Generating the XQDoc documentation on Windows using nmake is broken,
1237+ see the following bug:
1238+ - <https://bugs.launchpad.net/zorba/+bug/sf-3393173>
1239+
1240+* The Scripting Extension's features break and continue are not
1241+ implemented if used within a FLWOR Statement.
1242
1243=== added file 'NOTICE.txt'
1244--- NOTICE.txt 1970-01-01 00:00:00 +0000
1245+++ NOTICE.txt 2012-10-24 01:05:28 +0000
1246@@ -0,0 +1,740 @@
1247+-----------
1248+Zorba 2.7.0
1249+-----------
1250+
1251+(Note: This file is generated automatically from NOTICE.xml.
1252+Please do not modify this file directly.)
1253+
1254+
1255+
1256+
1257+Apache 2
1258+
1259+ Copyright 2006-2011 The FLWOR Foundation
1260+
1261+ See LICENSE.txt for license information.
1262+
1263+ ------------------------
1264+ This product includes software developed at
1265+ The FLWOR Foundation (http://www.flworfound.org/).
1266+
1267+ ------------------------
1268+ Portions of this software were developed at the Systems
1269+ Group of the ETH Zurich, Switzerland.
1270+
1271+
1272+Other files used by this project:
1273+----------------------------------------------------
1274+
1275+src/zorbatypes/m_apm.h
1276+src/zorbatypes/mapm/
1277+
1278+Copyright: 1999-2007 Michael C. Ring
1279+Website: http://www.tc.umn.edu/~ringx004/mapm-main.html
1280+
1281+ This software is Freeware.
1282+
1283+ Permission to use, copy, and distribute this software and its
1284+ documentation for any purpose with or without fee is hereby granted,
1285+ provided that the above copyright notice appear in all copies and
1286+ that both that copyright notice and this permission notice appear
1287+ in supporting documentation.
1288+
1289+ Permission to modify the software is granted. Permission to distribute
1290+ the modified code is granted. Modifications are to be distributed by
1291+ using the file 'license.txt' as a template to modify the file header.
1292+ 'license.txt' is available in the official MAPM distribution.
1293+
1294+ To distribute modified source code, insert the file 'license.txt'
1295+ at the top of all modified source code files and edit accordingly.
1296+
1297+ This software is provided "as is" without express or implied warranty.
1298+
1299+----------------------------------------------------
1300+
1301+src/zorbamisc/config/stdint.h
1302+
1303+Copyright: 2006 Alexander Chemeris
1304+
1305+
1306+ Redistribution and use in source and binary forms, with or without
1307+ modification, are permitted provided that the following conditions are met:
1308+
1309+ 1. Redistributions of source code must retain the above copyright notice,
1310+ this list of conditions and the following disclaimer.
1311+
1312+ 2. Redistributions in binary form must reproduce the above copyright
1313+ notice, this list of conditions and the following disclaimer in the
1314+ documentation and/or other materials provided with the distribution.
1315+
1316+ 3. The name of the author may be used to endorse or promote products
1317+ derived from this software without specific prior written permission.
1318+
1319+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
1320+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1321+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
1322+ EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1323+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
1324+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
1325+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1326+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
1327+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
1328+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1329+
1330+----------------------------------------------------
1331+
1332+src/zorbautils/stemmer/
1333+
1334+Copyright: 2001 Dr. Martin Porter
1335+
1336+
1337+ All the software given out on this Snowball site is covered by the BSD
1338+ License (see http://www.opensource.org/licenses/bsd-license.html), with
1339+ Copyright (c) 2001, Dr Martin Porter, and (for the Java developments)
1340+ Copyright (c) 2002, Richard Boulton.
1341+
1342+ Essentially, all this means is that you can do what you like with the code,
1343+ except claim another Copyright for it, or claim that it is issued under a
1344+ different license. The software is also issued without warranties, which
1345+ means that if anyone suffers through its use, they cannot come back and sue
1346+ you. You also have to alert anyone to whom you give the Snowball software to
1347+ the fact that it is covered by the BSD license.
1348+
1349+ We have not bothered to insert the licensing arrangement into the text of
1350+ the Snowball software.
1351+
1352+----------------------------------------------------
1353+
1354+src/util/less.h
1355+
1356+Copyright: 1998 Paul J. Lucas
1357+
1358+
1359+ Redistribution and use in source and binary forms, with or without
1360+ modification, are permitted provided that the following conditions are met:
1361+
1362+ o Redistributions of source code must retain the above copyright notice,
1363+ this list of conditions and the following disclaimer.
1364+
1365+ o Redistributions in binary form must reproduce the above copyright
1366+ notice, this list of conditions and the following disclaimer in the
1367+ documentation and/or other materials provided with the distribution.
1368+
1369+ o The name of the author may not be used to endorse or promote products
1370+ derived from this software without specific prior written permission.
1371+
1372+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1373+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1374+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1375+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
1376+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1377+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1378+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1379+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1380+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1381+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1382+ POSSIBILITY OF SUCH DAMAGE.
1383+
1384+----------------------------------------------------
1385+
1386+src/util/auto_vector.h (has been modified)
1387+
1388+Copyright: 2003 Reliable Software
1389+
1390+
1391+ Redistribution and use in source and binary forms, with or without
1392+ modification, are permitted provided that the following conditions are met:
1393+
1394+ o Redistributions of source code must retain the above copyright notice,
1395+ this list of conditions and the following disclaimer.
1396+
1397+ o Redistributions in binary form must reproduce the above copyright
1398+ notice, this list of conditions and the following disclaimer in the
1399+ documentation and/or other materials provided with the distribution.
1400+
1401+ o The name of the author may not be used to endorse or promote products
1402+ derived from this software without specific prior written permission.
1403+
1404+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1405+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1406+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1407+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
1408+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1409+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1410+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1411+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1412+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1413+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1414+ POSSIBILITY OF SUCH DAMAGE.
1415+
1416+----------------------------------------------------
1417+
1418+cmake_modules/FindBoost.cmake
1419+
1420+Copyright:
1421+ 2006-2008 Andreas Schneider <mail@cynapses.org>
1422+ 2007 Wengo
1423+ 2007 Mike Jackson
1424+ 2008 Andreas Pakulat <apaku@gmx.de>
1425+
1426+
1427+
1428+ Redistribution AND use is allowed according to the terms of the New BSD license.
1429+ For details see the accompanying COPYING-CMAKE-SCRIPTS file.
1430+
1431+----------------------------------------------------
1432+
1433+cmake_modules/FindJNI.cmake
1434+cmake_modules/FindPythonLibs.cmake
1435+cmake_modules/FindSWIG.cmake
1436+
1437+Copyright: 2001-2009 Kitware, Inc.
1438+
1439+
1440+ Distributed under the OSI-approved BSD License (the "License");
1441+ see accompanying file Copyright.txt for details.
1442+
1443+ This software is distributed WITHOUT ANY WARRANTY; without even the
1444+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1445+ See the License for more information.
1446+
1447+ CMake - Cross Platform Makefile Generator
1448+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
1449+ All rights reserved.
1450+
1451+ Redistribution and use in source and binary forms, with or without
1452+ modification, are permitted provided that the following conditions
1453+ are met:
1454+
1455+ * Redistributions of source code must retain the above copyright
1456+ notice, this list of conditions and the following disclaimer.
1457+
1458+ * Redistributions in binary form must reproduce the above copyright
1459+ notice, this list of conditions and the following disclaimer in the
1460+ documentation and/or other materials provided with the distribution.
1461+
1462+ * Neither the names of Kitware, Inc., the Insight Software Consortium,
1463+ nor the names of their contributors may be used to endorse or promote
1464+ products derived from this software without specific prior written
1465+ permission.
1466+
1467+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1468+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1469+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1470+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1471+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1472+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1473+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1474+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1475+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1476+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1477+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1478+
1479+ ------------------------------------------------------------------------------
1480+
1481+ The above copyright and license notice applies to distributions of
1482+ CMake in source and binary form. Some source files contain additional
1483+ notices of original copyright by their contributors; see each source
1484+ for details. Third-party software packages supplied with CMake under
1485+ compatible licenses provide their own copyright notices documented in
1486+ corresponding subdirectories.
1487+
1488+ ------------------------------------------------------------------------------
1489+
1490+ CMake was initially developed by Kitware with the following sponsorship:
1491+
1492+ * National Library of Medicine at the National Institutes of Health
1493+ as part of the Insight Segmentation and Registration Toolkit (ITK).
1494+
1495+ * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
1496+ Visualization Initiative.
1497+
1498+ * National Alliance for Medical Image Computing (NAMIC) is funded by the
1499+ National Institutes of Health through the NIH Roadmap for Medical Research,
1500+ Grant U54 EB005149.
1501+
1502+ * Kitware, Inc.
1503+
1504+----------------------------------------------------
1505+
1506+/xml.xsd
1507+
1508+Copyright: 2001 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University)
1509+
1510+
1511+ All Rights Reserved. This work is distributed under the W3C Software License [1] in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1512+
1513+ W3C Software Notice and License
1514+
1515+ This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license.
1516+
1517+ License
1518+
1519+ By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
1520+
1521+ Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications:
1522+ •The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
1523+ •Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code.
1524+ •Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)
1525+
1526+ Disclaimers
1527+
1528+ THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
1529+
1530+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
1531+
1532+ The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.
1533+
1534+----------------------------------------------------
1535+
1536+schemas/xslt-xquery-serialization.xsd
1537+
1538+Copyright: 2010 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University)
1539+
1540+
1541+ All Rights Reserved. This work is distributed under the W3C Software License [1] in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1542+
1543+ W3C Software Notice and License
1544+
1545+ This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license.
1546+
1547+ License
1548+
1549+ By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
1550+
1551+ Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications:
1552+ •The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
1553+ •Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code.
1554+ •Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)
1555+
1556+ Disclaimers
1557+
1558+ THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
1559+
1560+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
1561+
1562+ The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.
1563+
1564+----------------------------------------------------
1565+
1566+modules/w3c/xpath-functions.xsd
1567+
1568+Copyright: 2005 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University)
1569+
1570+
1571+ All Rights Reserved. This work is distributed under the W3C Software License [1] in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1572+
1573+ W3C Software Notice and License
1574+
1575+ This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license.
1576+
1577+ License
1578+
1579+ By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
1580+
1581+ Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications:
1582+ •The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
1583+ •Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code.
1584+ •Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)
1585+
1586+ Disclaimers
1587+
1588+ THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
1589+
1590+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
1591+
1592+ The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.
1593+
1594+----------------------------------------------------
1595+
1596+include/xqc.h
1597+
1598+Copyright: 2008, Matthias Brantner, John Snelson
1599+
1600+
1601+ * All rights reserved.
1602+ *
1603+ * Redistribution and use in source and binary forms, with or without
1604+ * modification, are permitted provided that the following conditions are met:
1605+ *
1606+ * * Redistributions of source code must retain the above copyright notice,
1607+ * this list of conditions and the following disclaimer.
1608+ * * Redistributions in binary form must reproduce the above copyright
1609+ * notice, this list of conditions and the following disclaimer in the
1610+ * documentation and/or other materials provided with the distribution.
1611+ * * Neither the name of the developers nor the names of contributors may be
1612+ * used to endorse or promote products derived from this software without
1613+ * specific prior written permission.
1614+ *
1615+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1616+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1617+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1618+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
1619+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1620+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1621+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1622+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1623+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1624+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1625+ * POSSIBILITY OF SUCH DAMAGE.
1626+
1627+----------------------------------------------------
1628+
1629+modules/functx/functx.xq
1630+
1631+Copyright: 2007 Datypic
1632+
1633+
1634+ : This library is free software; you can redistribute it and/or
1635+ : modify it under the terms of the GNU Lesser General Public
1636+ : License as published by the Free Software Foundation; either
1637+ : version 2.1 of the License.
1638+
1639+ : This library is distributed in the hope that it will be useful,
1640+ : but WITHOUT ANY WARRANTY; without even the implied warranty of
1641+ : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1642+ : Lesser General Public License for more details.
1643+
1644+ : You should have received a copy of the GNU Lesser General Public
1645+ : License along with this library; if not, write to the Free Software
1646+ : Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1647+
1648+----------------------------------------------------
1649+
1650+src/compiler/parser/FlexLexer.h
1651+
1652+Copyright: 1993 The Regents of the University of California
1653+
1654+
1655+ // All rights reserved.
1656+ //
1657+ // This code is derived from software contributed to Berkeley by
1658+ // Kent Williams and Tom Epperly.
1659+ //
1660+ // Redistribution and use in source and binary forms, with or without
1661+ // modification, are permitted provided that the following conditions
1662+ // are met:
1663+
1664+ // 1. Redistributions of source code must retain the above copyright
1665+ // notice, this list of conditions and the following disclaimer.
1666+ // 2. Redistributions in binary form must reproduce the above copyright
1667+ // notice, this list of conditions and the following disclaimer in the
1668+ // documentation and/or other materials provided with the distribution.
1669+
1670+ // Neither the name of the University nor the names of its contributors
1671+ // may be used to endorse or promote products derived from this software
1672+ // without specific prior written permission.
1673+
1674+ // THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1675+ // IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1676+ // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1677+ // PURPOSE.
1678+
1679+----------------------------------------------------
1680+
1681+src/diagnostics/StackWalker.cpp
1682+src/diagnostics/StackWalker.h
1683+
1684+Copyright: 2005 Jochen Kalmbach
1685+
1686+
1687+ Under BSD License: http://www.opensource.org/licenses/bsd-license.php
1688+
1689+----------------------------------------------------
1690+
1691+src/util/singleton.h
1692+src/util/threads.h
1693+
1694+Copyright: 2001 Andrei Alexandrescu
1695+
1696+
1697+ This code accompanies the book:
1698+ Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
1699+ Patterns Applied". Copyright (c) 2001. Addison-Wesley.
1700+ Permission to use, copy, modify, distribute and sell this software for any
1701+ purpose is hereby granted without fee, provided that the above copyright
1702+ notice appear in all copies and that both that copyright notice and this
1703+ permission notice appear in supporting documentation.
1704+ The author or Addison-Wesley Longman make no representations about the
1705+ suitability of this software for any purpose. It is provided "as is"
1706+ without express or implied warranty.
1707+
1708+
1709+External libraries used by this project:
1710+----------------------------------------------------
1711+
1712+Name: LIBXML2
1713+Preferred version: 2.2.16 or higher
1714+Is mandatory: true
1715+Website: http://xmlsoft.org/
1716+License: MIT
1717+Copyright: 1998-2002 Daniel Veillard. All Rights Reserved.
1718+External notice:
1719+
1720+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1721+
1722+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1723+
1724+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1725+
1726+ Except as contained in this notice, the name of Daniel Veillard shall not
1727+ be used in advertising or otherwise to promote the sale, use or other deal-
1728+ ings in this Software without prior written authorization from him.
1729+
1730+----------------------------------------------------
1731+
1732+Name: LIBXSLT
1733+Preferred version: 1.1.26
1734+Is mandatory: false
1735+Website: http://xmlsoft.org/XSLT/
1736+License: MIT
1737+Copyright: 2001-2002 Daniel Veillard. All Rights Reserved.
1738+External notice:
1739+
1740+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1741+
1742+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1743+
1744+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1745+
1746+
1747+ Except as contained in this notice, the name of Daniel Veillard shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from him.
1748+
1749+
1750+----------------------------------------------------
1751+
1752+Name: ICU4C
1753+Preferred version: 3.6 or higher
1754+Is mandatory: true
1755+Website: http://www.icu-project.org/
1756+License: ICU License
1757+Copyright: 1995-2011 International Business Machines Corporation and others
1758+External notice:
1759+
1760+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation.
1761+
1762+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1763+
1764+ Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder.
1765+
1766+----------------------------------------------------
1767+
1768+Name: CURL
1769+Preferred version: above 7.12
1770+Is mandatory: false
1771+Website: http://curl.haxx.se/
1772+License: MIT/X derivate license
1773+Copyright: 1996 - 2011, Daniel Stenberg, <daniel@haxx.se>.
1774+External notice:
1775+
1776+ All rights reserved.
1777+
1778+ Permission to use, copy, modify, and distribute this software for any purpose
1779+ with or without fee is hereby granted, provided that the above copyright
1780+ notice and this permission notice appear in all copies.
1781+
1782+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1783+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1784+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
1785+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
1786+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
1787+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
1788+ OR OTHER DEALINGS IN THE SOFTWARE.
1789+
1790+ Except as contained in this notice, the name of a copyright holder shall not
1791+ be used in advertising or otherwise to promote the sale, use or other dealings
1792+ in this Software without prior written authorization of the copyright holder.
1793+
1794+----------------------------------------------------
1795+
1796+Name: ICONV
1797+Preferred version: above 1.12
1798+Is mandatory: true
1799+Website: http://www.gnu.org/software/libiconv/
1800+License: LGPL
1801+Copyright: 1998, 2010 Free Software Foundation, Inc.
1802+External notice:
1803+
1804+----------------------------------------------------
1805+
1806+Name: ZLIB
1807+Preferred version: 1.2.5
1808+Is mandatory: true
1809+Website: http://www.zlib.net/
1810+Copyright: 1995-2004 Jean-loup Gailly and Mark Adler
1811+External notice:
1812+
1813+ This software is provided 'as-is', without any express or implied
1814+ warranty. In no event will the authors be held liable for any damages
1815+ arising from the use of this software.
1816+
1817+ Permission is granted to anyone to use this software for any purpose,
1818+ including commercial applications, and to alter it and redistribute it
1819+ freely, subject to the following restrictions:
1820+
1821+ 1. The origin of this software must not be misrepresented; you must not
1822+ claim that you wrote the original software. If you use this software
1823+ in a product, an acknowledgment in the product documentation would be
1824+ appreciated but is not required.
1825+ 2. Altered source versions must be plainly marked as such, and must not be
1826+ misrepresented as being the original software.
1827+ 3. This notice may not be removed or altered from any source distribution.
1828+
1829+ Jean-loup Gailly jloup@gzip.org
1830+ Mark Adler madler@alumni.caltech.edu
1831+
1832+----------------------------------------------------
1833+
1834+Name: XERCES
1835+Preferred version: 2.8.0 or higher
1836+Is mandatory: true
1837+Website: http://xerces.apache.org/xerces-c/
1838+License: Apache 2
1839+Copyright: Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.
1840+External notice:
1841+
1842+ http://www.apache.org/licenses/LICENSE-2.0
1843+
1844+----------------------------------------------------
1845+
1846+Name: BOOST (boost_filesystem)
1847+Preferred version: 1.32 or higher
1848+Is mandatory: false
1849+Website: http://www.boost.org/
1850+License: Boost Software License v1.0
1851+Copyright:
1852+ Beman Dawes, David Abrahams, 1998-2005.
1853+ Rene Rivera 2004-2007
1854+
1855+External notice:
1856+
1857+ Permission is hereby granted, free of charge, to any person or organization
1858+ obtaining a copy of the software and accompanying documentation covered by
1859+ this license (the "Software") to use, reproduce, display, distribute,
1860+ execute, and transmit the Software, and to prepare derivative works of the
1861+ Software, and to permit third-parties to whom the Software is furnished to
1862+ do so, all subject to the following:
1863+
1864+ The copyright notices in the Software and this entire statement, including
1865+ the above license grant, this restriction and the following disclaimer,
1866+ must be included in all copies of the Software, in whole or in part, and
1867+ all derivative works of the Software, unless such copies or derivative
1868+ works are solely in the form of machine-executable object code generated by
1869+ a source language processor.
1870+
1871+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1872+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1873+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
1874+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
1875+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
1876+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1877+ DEALINGS IN THE SOFTWARE.
1878+
1879+
1880+External applications used by this project:
1881+----------------------------------------------------
1882+
1883+Name: FLEX
1884+Preferred version: 2.5.33
1885+Is mandatory: false
1886+Website: http://flex.sourceforge.net/
1887+Copyright:
1888+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The Flex Project.
1889+ 1990, 1997 The Regents of the University of California. All rights reserved.
1890+
1891+External notice:
1892+
1893+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1894+
1895+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
1896+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
1897+
1898+ Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
1899+
1900+ THIS SOFTWARE IS PROVIDED “AS IS” AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1901+
1902+----------------------------------------------------
1903+
1904+Name: BISON
1905+Preferred version: 2.4 or higher
1906+Is mandatory: false
1907+Website: http://www.gnu.org/software/bison/
1908+License: GPL
1909+Copyright: 1998, 2001, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1910+External notice:
1911+
1912+----------------------------------------------------
1913+
1914+Name: DOXYGEN
1915+Preferred version: v1.7.4
1916+Is mandatory: false
1917+Website: www.doxygen.org
1918+License: GPL
1919+Copyright: 1997-2011 by Dimitri van Heesch
1920+External notice:
1921+
1922+ Permission to use, copy, modify, and distribute this software and its documentation under the terms of the GNU General Public License is hereby granted.
1923+ No representations are made about the suitability of this software for any purpose.
1924+ It is provided "as is" without express or implied warranty.
1925+ See the GNU General Public License for more details.
1926+
1927+ Documents produced by doxygen are derivative works derived from the input used in their production; they are not affected by this license.
1928+
1929+----------------------------------------------------
1930+
1931+Name: CMAKE
1932+Preferred version: 2.8.4
1933+Is mandatory: true
1934+Website: http://www.cmake.org/
1935+License: Creative Commons Attribution-NoDerivs 3.0 Unported License
1936+Copyright: 2000-2009 Kitware, Inc., Insight Software Consortium. All rights reserved.
1937+External notice:
1938+
1939+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1940+
1941+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
1942+
1943+ Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
1944+
1945+ Neither the names of Kitware, Inc., the Insight Software Consortium, nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission.
1946+
1947+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1948+
1949+----------------------------------------------------
1950+
1951+Name: SWIG
1952+Preferred version: 2.0.4 or above
1953+Is mandatory: false
1954+Website: http://www.swig.org/
1955+License: GPL
1956+Copyright:
1957+ 1995-2011 The SWIG Developers
1958+ 2005-2006 Arizona Board of Regents (University of Arizona).
1959+ 1998-2005 University of Chicago.
1960+ 1995-1998 The University of Utah and the Regents of the University of California
1961+
1962+External notice:
1963+
1964+ SWIG is free software: you can redistribute it and/or modify it
1965+ under the terms of the GNU General Public License as published by
1966+ the Free Software Foundation, either version 3 of the License, or
1967+ (at your option) any later version. See the LICENSE-GPL file for
1968+ the full terms of the GNU General Public license version 3.
1969+
1970+ Portions of SWIG are also licensed under the terms of the licenses
1971+ in the file LICENSE-UNIVERSITIES. You must observe the terms of
1972+ these licenses, as well as the terms of the GNU General Public License,
1973+ when you distribute SWIG.
1974+
1975+ The SWIG library and examples, under the Lib and Examples top level
1976+ directories, are distributed under the following terms:
1977+
1978+ You may copy, modify, distribute, and make derivative works based on
1979+ this software, in source code or object code form, without
1980+ restriction. If you distribute the software to others, you may do
1981+ so according to the terms of your choice. This software is offered as
1982+ is, without warranty of any kind.
1983+
1984+ See the COPYRIGHT file for a list of contributors to SWIG and their
1985+ copyright notices.
1986+
1987\ No newline at end of file
1988
1989=== removed file 'NOTICE.txt'
1990--- NOTICE.txt 2011-04-26 08:59:08 +0000
1991+++ NOTICE.txt 1970-01-01 00:00:00 +0000
1992@@ -1,145 +0,0 @@
1993-Zorba XQuery Processor
1994-Copyright 2006-2008 The FLWOR Foundation
1995-
1996- See LICENSE.txt for license information.
1997-
1998- This product includes software developed at
1999- The FLWOR Foundation (http://www.flworfound.org/).
2000-
2001- Portions of this software were developed at the Systems
2002- Group of the ETH Zurich, Switzerland.
2003-
2004-The file src/zorbatypes/m_apm.h and the directory src/zorbatypes/mapm/
2005-are copyright 1999-2007 Michael C. Ring. The original distribution
2006-contains the following notice:
2007-
2008- This software is Freeware.
2009-
2010- Permission to use, copy, and distribute this software and its
2011- documentation for any purpose with or without fee is hereby granted,
2012- provided that the above copyright notice appear in all copies and
2013- that both that copyright notice and this permission notice appear
2014- in supporting documentation.
2015-
2016- Permission to modify the software is granted. Permission to distribute
2017- the modified code is granted. Modifications are to be distributed by
2018- using the file 'license.txt' as a template to modify the file header.
2019- 'license.txt' is available in the official MAPM distribution.
2020-
2021- To distribute modified source code, insert the file 'license.txt'
2022- at the top of all modified source code files and edit accordingly.
2023-
2024- This software is provided "as is" without express or implied warranty.
2025-
2026-
2027-The file src/common/config/stdint.h is copyright 2006 Alexander Chemeris and
2028-contains the following notice:
2029-
2030- Redistribution and use in source and binary forms, with or without
2031- modification, are permitted provided that the following conditions are met:
2032-
2033- 1. Redistributions of source code must retain the above copyright notice,
2034- this list of conditions and the following disclaimer.
2035-
2036- 2. Redistributions in binary form must reproduce the above copyright
2037- notice, this list of conditions and the following disclaimer in the
2038- documentation and/or other materials provided with the distribution.
2039-
2040- 3. The name of the author may be used to endorse or promote products
2041- derived from this software without specific prior written permission.
2042-
2043- THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
2044- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2045- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
2046- EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2047- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2048- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
2049- OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2050- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2051- OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2052- ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2053-
2054-
2055-The files in src/runtime/full_text/stemmer is copyright 2001 Dr. Martin Porter
2056-and contains the following notice:
2057-
2058- All the software given out on this Snowball site is covered by the BSD
2059- License (see http://www.opensource.org/licenses/bsd-license.html), with
2060- Copyright (c) 2001, Dr Martin Porter, and (for the Java developments)
2061- Copyright (c) 2002, Richard Boulton.
2062-
2063- Essentially, all this means is that you can do what you like with the code,
2064- except claim another Copyright for it, or claim that it is issued under a
2065- different license. The software is also issued without warranties, which
2066- means that if anyone suffers through its use, they cannot come back and sue
2067- you. You also have to alert anyone to whom you give the Snowball software to
2068- the fact that it is covered by the BSD license.
2069-
2070- We have not bothered to insert the licensing arrangement into the text of
2071- the Snowball software.
2072-
2073-
2074-The file src/util/less.h is copyright 1998 Paul J. Lucas and contains the
2075-following notice:
2076-
2077- Redistribution and use in source and binary forms, with or without
2078- modification, are permitted provided that the following conditions are met:
2079-
2080- o Redistributions of source code must retain the above copyright notice,
2081- this list of conditions and the following disclaimer.
2082-
2083- o Redistributions in binary form must reproduce the above copyright
2084- notice, this list of conditions and the following disclaimer in the
2085- documentation and/or other materials provided with the distribution.
2086-
2087- o The name of the author may not be used to endorse or promote products
2088- derived from this software without specific prior written permission.
2089-
2090- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2091- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2092- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2093- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
2094- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2095- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2096- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2097- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2098- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2099- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2100- POSSIBILITY OF SUCH DAMAGE.
2101-
2102-
2103-The file src/util/auto_vector.h is slightly modified from code
2104-originally copyright 2003 Reliable Software which contains the
2105-following notice:
2106-
2107- Any use, commercial or noncommercial of this code
2108- is hereby granted, under the condition
2109- that this copyright notice be not removed.
2110-
2111-
2112-Furthermore, this software depends / makes use of:
2113-
2114- * LIBXML2 2.2.16 or higher (http://xmlsoft.org/ )
2115-
2116- * ICU4C 3.6 or higher (http://www.icu-project.org/)
2117-
2118- * BOOST 1.32 or higher (http://www.boost.org/)
2119- * boost_program_options
2120- * boost_date_time
2121- * boost_filesystem
2122-
2123- * XERCES 2.7.0 or higher (http://xerces.apache.org/xerces-c/)
2124-
2125- * ICONV 1.12 (used by LIBXML2; http://www.gnu.org/software/libiconv/)
2126-
2127- * MAPM 4.9.5 (by Michael C. Ring; http://www.tc.umn.edu/~ringx004/mapm-main.html)
2128-
2129- * Loki C++ Library (see http://loki-lib.sourceforge.net/index.php?n=Main.HomePage)
2130-
2131-Optional:
2132-
2133- * FLEX 2.5.33 (http://flex.sourceforge.net/)
2134-
2135- * BISON 2.4 or higher (http://www.gnu.org/software/bison/)
2136-
2137- * CURL 7.12 (http://curl.haxx.se/)
2138
2139=== added file 'NOTICE.xml'
2140--- NOTICE.xml 1970-01-01 00:00:00 +0000
2141+++ NOTICE.xml 2012-10-24 01:05:28 +0000
2142@@ -0,0 +1,686 @@
2143+<?xml version="1.0" encoding="utf-8"?>
2144+<notice xmlns="http://www.zorba-xquery.com/notice">
2145+ <master-license>
2146+ <license>Apache 2</license>
2147+ <text>
2148+ Copyright 2006-2011 The FLWOR Foundation
2149+
2150+ See LICENSE.txt for license information.
2151+
2152+ ------------------------
2153+ This product includes software developed at
2154+ The FLWOR Foundation (http://www.flworfound.org/).
2155+
2156+ ------------------------
2157+ Portions of this software were developed at the Systems
2158+ Group of the ETH Zurich, Switzerland.
2159+ </text>
2160+ </master-license>
2161+ <foreign-files>
2162+ <file>src/zorbatypes/m_apm.h</file>
2163+ <file>src/zorbatypes/mapm/</file>
2164+ <copyright>1999-2007 Michael C. Ring</copyright>
2165+ <website>http://www.tc.umn.edu/~ringx004/mapm-main.html</website>
2166+ <foreign-notice>
2167+ This software is Freeware.
2168+
2169+ Permission to use, copy, and distribute this software and its
2170+ documentation for any purpose with or without fee is hereby granted,
2171+ provided that the above copyright notice appear in all copies and
2172+ that both that copyright notice and this permission notice appear
2173+ in supporting documentation.
2174+
2175+ Permission to modify the software is granted. Permission to distribute
2176+ the modified code is granted. Modifications are to be distributed by
2177+ using the file 'license.txt' as a template to modify the file header.
2178+ 'license.txt' is available in the official MAPM distribution.
2179+
2180+ To distribute modified source code, insert the file 'license.txt'
2181+ at the top of all modified source code files and edit accordingly.
2182+
2183+ This software is provided "as is" without express or implied warranty.
2184+ </foreign-notice>
2185+ </foreign-files>
2186+ <foreign-files>
2187+ <file>src/zorbamisc/config/stdint.h</file>
2188+ <copyright>2006 Alexander Chemeris</copyright>
2189+ <foreign-notice>
2190+ Redistribution and use in source and binary forms, with or without
2191+ modification, are permitted provided that the following conditions are met:
2192+
2193+ 1. Redistributions of source code must retain the above copyright notice,
2194+ this list of conditions and the following disclaimer.
2195+
2196+ 2. Redistributions in binary form must reproduce the above copyright
2197+ notice, this list of conditions and the following disclaimer in the
2198+ documentation and/or other materials provided with the distribution.
2199+
2200+ 3. The name of the author may be used to endorse or promote products
2201+ derived from this software without specific prior written permission.
2202+
2203+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
2204+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2205+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
2206+ EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2207+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2208+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
2209+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2210+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2211+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2212+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2213+ </foreign-notice>
2214+ </foreign-files>
2215+ <foreign-files>
2216+ <file>src/zorbautils/stemmer/</file>
2217+ <copyright>2001 Dr. Martin Porter</copyright>
2218+ <foreign-notice>
2219+ All the software given out on this Snowball site is covered by the BSD
2220+ License (see http://www.opensource.org/licenses/bsd-license.html), with
2221+ Copyright (c) 2001, Dr Martin Porter, and (for the Java developments)
2222+ Copyright (c) 2002, Richard Boulton.
2223+
2224+ Essentially, all this means is that you can do what you like with the code,
2225+ except claim another Copyright for it, or claim that it is issued under a
2226+ different license. The software is also issued without warranties, which
2227+ means that if anyone suffers through its use, they cannot come back and sue
2228+ you. You also have to alert anyone to whom you give the Snowball software to
2229+ the fact that it is covered by the BSD license.
2230+
2231+ We have not bothered to insert the licensing arrangement into the text of
2232+ the Snowball software.
2233+ </foreign-notice>
2234+ </foreign-files>
2235+ <foreign-files>
2236+ <file>src/util/less.h</file>
2237+ <copyright>1998 Paul J. Lucas</copyright>
2238+ <foreign-notice>
2239+ Redistribution and use in source and binary forms, with or without
2240+ modification, are permitted provided that the following conditions are met:
2241+
2242+ o Redistributions of source code must retain the above copyright notice,
2243+ this list of conditions and the following disclaimer.
2244+
2245+ o Redistributions in binary form must reproduce the above copyright
2246+ notice, this list of conditions and the following disclaimer in the
2247+ documentation and/or other materials provided with the distribution.
2248+
2249+ o The name of the author may not be used to endorse or promote products
2250+ derived from this software without specific prior written permission.
2251+
2252+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2253+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2254+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2255+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
2256+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2257+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2258+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2259+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2260+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2261+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2262+ POSSIBILITY OF SUCH DAMAGE.
2263+ </foreign-notice>
2264+ </foreign-files>
2265+ <foreign-files>
2266+ <file is-modified="true">src/util/auto_vector.h</file>
2267+ <copyright>2003 Reliable Software</copyright>
2268+ <foreign-notice>
2269+ Redistribution and use in source and binary forms, with or without
2270+ modification, are permitted provided that the following conditions are met:
2271+
2272+ o Redistributions of source code must retain the above copyright notice,
2273+ this list of conditions and the following disclaimer.
2274+
2275+ o Redistributions in binary form must reproduce the above copyright
2276+ notice, this list of conditions and the following disclaimer in the
2277+ documentation and/or other materials provided with the distribution.
2278+
2279+ o The name of the author may not be used to endorse or promote products
2280+ derived from this software without specific prior written permission.
2281+
2282+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2283+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2284+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2285+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
2286+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2287+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2288+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2289+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2290+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2291+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2292+ POSSIBILITY OF SUCH DAMAGE.
2293+ </foreign-notice>
2294+ </foreign-files>
2295+ <foreign-files>
2296+ <file>cmake_modules/FindBoost.cmake</file>
2297+ <copyright>
2298+ 2006-2008 Andreas Schneider &lt;mail@cynapses.org&gt;
2299+ 2007 Wengo
2300+ 2007 Mike Jackson
2301+ 2008 Andreas Pakulat &lt;apaku@gmx.de&gt;
2302+ </copyright>
2303+ <foreign-notice>
2304+ Redistribution AND use is allowed according to the terms of the New BSD license.
2305+ For details see the accompanying COPYING-CMAKE-SCRIPTS file.
2306+ </foreign-notice>
2307+ </foreign-files>
2308+ <foreign-files>
2309+ <file>cmake_modules/FindJNI.cmake</file>
2310+ <file>cmake_modules/FindPythonLibs.cmake</file>
2311+ <file>cmake_modules/FindSWIG.cmake</file>
2312+ <copyright>2001-2009 Kitware, Inc.</copyright>
2313+ <foreign-notice>
2314+ Distributed under the OSI-approved BSD License (the "License");
2315+ see accompanying file Copyright.txt for details.
2316+
2317+ This software is distributed WITHOUT ANY WARRANTY; without even the
2318+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2319+ See the License for more information.
2320+
2321+ CMake - Cross Platform Makefile Generator
2322+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
2323+ All rights reserved.
2324+
2325+ Redistribution and use in source and binary forms, with or without
2326+ modification, are permitted provided that the following conditions
2327+ are met:
2328+
2329+ * Redistributions of source code must retain the above copyright
2330+ notice, this list of conditions and the following disclaimer.
2331+
2332+ * Redistributions in binary form must reproduce the above copyright
2333+ notice, this list of conditions and the following disclaimer in the
2334+ documentation and/or other materials provided with the distribution.
2335+
2336+ * Neither the names of Kitware, Inc., the Insight Software Consortium,
2337+ nor the names of their contributors may be used to endorse or promote
2338+ products derived from this software without specific prior written
2339+ permission.
2340+
2341+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2342+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2343+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2344+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2345+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2346+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2347+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2348+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2349+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2350+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2351+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2352+
2353+ ------------------------------------------------------------------------------
2354+
2355+ The above copyright and license notice applies to distributions of
2356+ CMake in source and binary form. Some source files contain additional
2357+ notices of original copyright by their contributors; see each source
2358+ for details. Third-party software packages supplied with CMake under
2359+ compatible licenses provide their own copyright notices documented in
2360+ corresponding subdirectories.
2361+
2362+ ------------------------------------------------------------------------------
2363+
2364+ CMake was initially developed by Kitware with the following sponsorship:
2365+
2366+ * National Library of Medicine at the National Institutes of Health
2367+ as part of the Insight Segmentation and Registration Toolkit (ITK).
2368+
2369+ * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
2370+ Visualization Initiative.
2371+
2372+ * National Alliance for Medical Image Computing (NAMIC) is funded by the
2373+ National Institutes of Health through the NIH Roadmap for Medical Research,
2374+ Grant U54 EB005149.
2375+
2376+ * Kitware, Inc.
2377+ </foreign-notice>
2378+ </foreign-files>
2379+ <foreign-files>
2380+ <file>/xml.xsd</file>
2381+ <copyright>2001 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University)</copyright>
2382+ <foreign-notice>
2383+ All Rights Reserved. This work is distributed under the W3C Software License [1] in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2384+
2385+ W3C Software Notice and License
2386+
2387+ This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license.
2388+
2389+ License
2390+
2391+ By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
2392+
2393+ Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications:
2394+ •The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
2395+ •Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code.
2396+ •Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)
2397+
2398+ Disclaimers
2399+
2400+ THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
2401+
2402+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
2403+
2404+ The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.
2405+ </foreign-notice>
2406+ </foreign-files>
2407+ <foreign-files>
2408+ <file>schemas/xslt-xquery-serialization.xsd</file>
2409+ <copyright>2010 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University)</copyright>
2410+ <foreign-notice>
2411+ All Rights Reserved. This work is distributed under the W3C Software License [1] in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2412+
2413+ W3C Software Notice and License
2414+
2415+ This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license.
2416+
2417+ License
2418+
2419+ By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
2420+
2421+ Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications:
2422+ •The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
2423+ •Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code.
2424+ •Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)
2425+
2426+ Disclaimers
2427+
2428+ THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
2429+
2430+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
2431+
2432+ The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.
2433+ </foreign-notice>
2434+ </foreign-files>
2435+ <foreign-files>
2436+ <file>modules/w3c/xpath-functions.xsd</file>
2437+ <copyright>2005 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University)</copyright>
2438+ <foreign-notice>
2439+ All Rights Reserved. This work is distributed under the W3C Software License [1] in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2440+
2441+ W3C Software Notice and License
2442+
2443+ This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license.
2444+
2445+ License
2446+
2447+ By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
2448+
2449+ Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications:
2450+ •The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
2451+ •Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code.
2452+ •Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)
2453+
2454+ Disclaimers
2455+
2456+ THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
2457+
2458+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
2459+
2460+ The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.
2461+ </foreign-notice>
2462+ </foreign-files>
2463+ <foreign-files>
2464+ <file>include/xqc.h</file>
2465+ <copyright>2008, Matthias Brantner, John Snelson</copyright>
2466+ <foreign-notice>
2467+ * All rights reserved.
2468+ *
2469+ * Redistribution and use in source and binary forms, with or without
2470+ * modification, are permitted provided that the following conditions are met:
2471+ *
2472+ * * Redistributions of source code must retain the above copyright notice,
2473+ * this list of conditions and the following disclaimer.
2474+ * * Redistributions in binary form must reproduce the above copyright
2475+ * notice, this list of conditions and the following disclaimer in the
2476+ * documentation and/or other materials provided with the distribution.
2477+ * * Neither the name of the developers nor the names of contributors may be
2478+ * used to endorse or promote products derived from this software without
2479+ * specific prior written permission.
2480+ *
2481+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2482+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2483+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2484+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
2485+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2486+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2487+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2488+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2489+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2490+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2491+ * POSSIBILITY OF SUCH DAMAGE.
2492+ </foreign-notice>
2493+ </foreign-files>
2494+ <foreign-files>
2495+ <file>modules/functx/functx.xq</file>
2496+ <copyright>2007 Datypic</copyright>
2497+ <foreign-notice>
2498+ : This library is free software; you can redistribute it and/or
2499+ : modify it under the terms of the GNU Lesser General Public
2500+ : License as published by the Free Software Foundation; either
2501+ : version 2.1 of the License.
2502+
2503+ : This library is distributed in the hope that it will be useful,
2504+ : but WITHOUT ANY WARRANTY; without even the implied warranty of
2505+ : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2506+ : Lesser General Public License for more details.
2507+
2508+ : You should have received a copy of the GNU Lesser General Public
2509+ : License along with this library; if not, write to the Free Software
2510+ : Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2511+ </foreign-notice>
2512+ </foreign-files>
2513+ <foreign-files>
2514+ <file>src/compiler/parser/FlexLexer.h</file>
2515+ <copyright>1993 The Regents of the University of California</copyright>
2516+ <foreign-notice>
2517+ // All rights reserved.
2518+ //
2519+ // This code is derived from software contributed to Berkeley by
2520+ // Kent Williams and Tom Epperly.
2521+ //
2522+ // Redistribution and use in source and binary forms, with or without
2523+ // modification, are permitted provided that the following conditions
2524+ // are met:
2525+
2526+ // 1. Redistributions of source code must retain the above copyright
2527+ // notice, this list of conditions and the following disclaimer.
2528+ // 2. Redistributions in binary form must reproduce the above copyright
2529+ // notice, this list of conditions and the following disclaimer in the
2530+ // documentation and/or other materials provided with the distribution.
2531+
2532+ // Neither the name of the University nor the names of its contributors
2533+ // may be used to endorse or promote products derived from this software
2534+ // without specific prior written permission.
2535+
2536+ // THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
2537+ // IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
2538+ // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2539+ // PURPOSE.
2540+ </foreign-notice>
2541+ </foreign-files>
2542+ <foreign-files>
2543+ <file>src/diagnostics/StackWalker.cpp</file>
2544+ <file>src/diagnostics/StackWalker.h</file>
2545+ <copyright>2005 Jochen Kalmbach </copyright>
2546+ <license>BSD</license>
2547+ <foreign-notice>
2548+ Under BSD License: http://www.opensource.org/licenses/bsd-license.php
2549+ </foreign-notice>
2550+ </foreign-files>
2551+ <foreign-files>
2552+ <file>src/util/singleton.h</file>
2553+ <file>src/util/threads.h</file>
2554+ <copyright>2001 Andrei Alexandrescu</copyright>
2555+ <foreign-notice>
2556+ This code accompanies the book:
2557+ Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
2558+ Patterns Applied". Copyright (c) 2001. Addison-Wesley.
2559+ Permission to use, copy, modify, distribute and sell this software for any
2560+ purpose is hereby granted without fee, provided that the above copyright
2561+ notice appear in all copies and that both that copyright notice and this
2562+ permission notice appear in supporting documentation.
2563+ The author or Addison-Wesley Longman make no representations about the
2564+ suitability of this software for any purpose. It is provided "as is"
2565+ without express or implied warranty.
2566+ </foreign-notice>
2567+ </foreign-files>
2568+
2569+ <external-lib mandatory="true">
2570+ <name>LIBXML2</name>
2571+ <version>2.2.16 or higher</version>
2572+ <website>http://xmlsoft.org/</website>
2573+ <license>MIT</license>
2574+ <copyright>1998-2002 Daniel Veillard. All Rights Reserved.</copyright>
2575+ <foreign-notice>
2576+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2577+
2578+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2579+
2580+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2581+
2582+ Except as contained in this notice, the name of Daniel Veillard shall not
2583+ be used in advertising or otherwise to promote the sale, use or other deal-
2584+ ings in this Software without prior written authorization from him.
2585+ </foreign-notice>
2586+ </external-lib>
2587+
2588+ <external-lib mandatory="false">
2589+ <name>LIBXSLT</name>
2590+ <version>1.1.26</version>
2591+ <website>http://xmlsoft.org/XSLT/</website>
2592+ <license>MIT</license>
2593+ <copyright>2001-2002 Daniel Veillard. All Rights Reserved.</copyright>
2594+ <foreign-notice>
2595+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2596+
2597+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2598+
2599+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2600+
2601+
2602+ Except as contained in this notice, the name of Daniel Veillard shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from him.
2603+
2604+ </foreign-notice>
2605+ </external-lib>
2606+
2607+ <external-lib mandatory="true">
2608+ <name>ICU4C</name>
2609+ <version>3.6 or higher</version>
2610+ <license>ICU License</license>
2611+ <website>http://www.icu-project.org/</website>
2612+ <copyright>1995-2011 International Business Machines Corporation and others </copyright>
2613+ <foreign-notice>
2614+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation.
2615+
2616+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2617+
2618+ Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder.
2619+ </foreign-notice>
2620+ </external-lib>
2621+
2622+ <external-lib mandatory="false">
2623+ <name>CURL</name>
2624+ <version>above 7.12</version>
2625+ <website>http://curl.haxx.se/</website>
2626+ <license>MIT/X derivate license</license>
2627+ <copyright>1996 - 2011, Daniel Stenberg, &lt;daniel@haxx.se&gt;.</copyright>
2628+ <foreign-notice>
2629+ All rights reserved.
2630+
2631+ Permission to use, copy, modify, and distribute this software for any purpose
2632+ with or without fee is hereby granted, provided that the above copyright
2633+ notice and this permission notice appear in all copies.
2634+
2635+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2636+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2637+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
2638+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
2639+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
2640+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
2641+ OR OTHER DEALINGS IN THE SOFTWARE.
2642+
2643+ Except as contained in this notice, the name of a copyright holder shall not
2644+ be used in advertising or otherwise to promote the sale, use or other dealings
2645+ in this Software without prior written authorization of the copyright holder.
2646+ </foreign-notice>
2647+ </external-lib>
2648+
2649+ <external-lib mandatory="true">
2650+ <name>ICONV</name>
2651+ <version>above 1.12</version>
2652+ <website>http://www.gnu.org/software/libiconv/</website>
2653+ <license>LGPL</license>
2654+ <copyright>1998, 2010 Free Software Foundation, Inc.</copyright>
2655+ </external-lib>
2656+
2657+ <external-lib mandatory="true">
2658+ <name>ZLIB</name>
2659+ <version>1.2.5</version>
2660+ <website>http://www.zlib.net/</website>
2661+ <copyright>1995-2004 Jean-loup Gailly and Mark Adler</copyright>
2662+ <foreign-notice>
2663+ This software is provided 'as-is', without any express or implied
2664+ warranty. In no event will the authors be held liable for any damages
2665+ arising from the use of this software.
2666+
2667+ Permission is granted to anyone to use this software for any purpose,
2668+ including commercial applications, and to alter it and redistribute it
2669+ freely, subject to the following restrictions:
2670+
2671+ 1. The origin of this software must not be misrepresented; you must not
2672+ claim that you wrote the original software. If you use this software
2673+ in a product, an acknowledgment in the product documentation would be
2674+ appreciated but is not required.
2675+ 2. Altered source versions must be plainly marked as such, and must not be
2676+ misrepresented as being the original software.
2677+ 3. This notice may not be removed or altered from any source distribution.
2678+
2679+ Jean-loup Gailly jloup@gzip.org
2680+ Mark Adler madler@alumni.caltech.edu
2681+ </foreign-notice>
2682+ </external-lib>
2683+
2684+ <external-lib mandatory="true">
2685+ <name>XERCES</name>
2686+ <version>2.8.0 or higher</version>
2687+ <website>http://xerces.apache.org/xerces-c/</website>
2688+ <license>Apache 2</license>
2689+ <copyright>Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.</copyright>
2690+ <foreign-notice>
2691+ http://www.apache.org/licenses/LICENSE-2.0
2692+ </foreign-notice>
2693+ </external-lib>
2694+
2695+ <external-lib mandatory="false">
2696+ <name>BOOST (boost_filesystem)</name>
2697+ <version>1.32 or higher</version>
2698+ <website>http://www.boost.org/</website>
2699+ <license>Boost Software License v1.0</license>
2700+ <copyright>
2701+ Beman Dawes, David Abrahams, 1998-2005.
2702+ Rene Rivera 2004-2007
2703+ </copyright>
2704+ <foreign-notice>
2705+ Permission is hereby granted, free of charge, to any person or organization
2706+ obtaining a copy of the software and accompanying documentation covered by
2707+ this license (the "Software") to use, reproduce, display, distribute,
2708+ execute, and transmit the Software, and to prepare derivative works of the
2709+ Software, and to permit third-parties to whom the Software is furnished to
2710+ do so, all subject to the following:
2711+
2712+ The copyright notices in the Software and this entire statement, including
2713+ the above license grant, this restriction and the following disclaimer,
2714+ must be included in all copies of the Software, in whole or in part, and
2715+ all derivative works of the Software, unless such copies or derivative
2716+ works are solely in the form of machine-executable object code generated by
2717+ a source language processor.
2718+
2719+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2720+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2721+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
2722+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
2723+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
2724+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2725+ DEALINGS IN THE SOFTWARE.
2726+ </foreign-notice>
2727+ </external-lib>
2728+
2729+ <external-app mandatory="false">
2730+ <name>FLEX</name>
2731+ <version>2.5.33</version>
2732+ <website>http://flex.sourceforge.net/</website>
2733+ <copyright>
2734+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The Flex Project.
2735+ 1990, 1997 The Regents of the University of California. All rights reserved.
2736+ </copyright>
2737+ <foreign-notice>
2738+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
2739+
2740+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2741+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
2742+
2743+ Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
2744+
2745+ THIS SOFTWARE IS PROVIDED “AS IS” AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
2746+ </foreign-notice>
2747+ </external-app>
2748+
2749+ <external-app mandatory="false">
2750+ <name>BISON</name>
2751+ <version>2.4 or higher</version>
2752+ <website>http://www.gnu.org/software/bison/</website>
2753+ <license>GPL</license>
2754+ <copyright>1998, 2001, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.</copyright>
2755+ </external-app>
2756+
2757+ <external-app mandatory="false">
2758+ <name>DOXYGEN</name>
2759+ <version>v1.7.4 </version>
2760+ <website>www.doxygen.org</website>
2761+ <license>GPL</license>
2762+ <copyright>1997-2011 by Dimitri van Heesch</copyright>
2763+ <foreign-notice>
2764+ Permission to use, copy, modify, and distribute this software and its documentation under the terms of the GNU General Public License is hereby granted.
2765+ No representations are made about the suitability of this software for any purpose.
2766+ It is provided "as is" without express or implied warranty.
2767+ See the GNU General Public License for more details.
2768+
2769+ Documents produced by doxygen are derivative works derived from the input used in their production; they are not affected by this license.
2770+ </foreign-notice>
2771+ </external-app>
2772+
2773+ <external-app mandatory="true">
2774+ <name>CMAKE</name>
2775+ <version>2.8.4</version>
2776+ <website>http://www.cmake.org/</website>
2777+ <license>Creative Commons Attribution-NoDerivs 3.0 Unported License</license>
2778+ <copyright>2000-2009 Kitware, Inc., Insight Software Consortium. All rights reserved.</copyright>
2779+ <foreign-notice>
2780+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
2781+
2782+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2783+
2784+ Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
2785+
2786+ Neither the names of Kitware, Inc., the Insight Software Consortium, nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission.
2787+
2788+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2789+ </foreign-notice>
2790+ </external-app>
2791+
2792+ <external-app mandatory="false">
2793+ <name>SWIG</name>
2794+ <version>2.0.4 or above</version>
2795+ <website>http://www.swig.org/</website>
2796+ <license>GPL</license>
2797+ <copyright>
2798+ 1995-2011 The SWIG Developers
2799+ 2005-2006 Arizona Board of Regents (University of Arizona).
2800+ 1998-2005 University of Chicago.
2801+ 1995-1998 The University of Utah and the Regents of the University of California
2802+ </copyright>
2803+ <foreign-notice>
2804+ SWIG is free software: you can redistribute it and/or modify it
2805+ under the terms of the GNU General Public License as published by
2806+ the Free Software Foundation, either version 3 of the License, or
2807+ (at your option) any later version. See the LICENSE-GPL file for
2808+ the full terms of the GNU General Public license version 3.
2809+
2810+ Portions of SWIG are also licensed under the terms of the licenses
2811+ in the file LICENSE-UNIVERSITIES. You must observe the terms of
2812+ these licenses, as well as the terms of the GNU General Public License,
2813+ when you distribute SWIG.
2814+
2815+ The SWIG library and examples, under the Lib and Examples top level
2816+ directories, are distributed under the following terms:
2817+
2818+ You may copy, modify, distribute, and make derivative works based on
2819+ this software, in source code or object code form, without
2820+ restriction. If you distribute the software to others, you may do
2821+ so according to the terms of your choice. This software is offered as
2822+ is, without warranty of any kind.
2823+
2824+ See the COPYRIGHT file for a list of contributors to SWIG and their
2825+ copyright notices.
2826+ </foreign-notice>
2827+ </external-app>
2828+</notice>
2829
2830=== modified file 'README.txt'
2831--- README.txt 2010-11-24 20:36:42 +0000
2832+++ README.txt 2012-10-24 01:05:28 +0000
2833@@ -11,19 +11,19 @@
2834 -------------
2835
2836 The documentation is included in the doc directory, as well as
2837- on the website of the project at http://www.zorba-xquery.com/doc/zorba-latest/zorba/html/.
2838+ on the website of the project at http://www.zorba-xquery.org/html/documentation
2839
2840 Build & Installation
2841 --------------------
2842
2843- Please see the documentation on the web site or the doc directory
2844+ Please see the documentation on the web site or in the doc directory
2845 of the package.
2846
2847 Bugs and errors
2848 ---------------
2849
2850 Bug or error reports should be sent to
2851- https://sourceforge.net/tracker/?group_id=226244&atid=1067586
2852+ https://bugs.launchpad.net/zorba.
2853
2854
2855 Licensing
2856@@ -42,7 +42,7 @@
2857
2858 o If you have a concrete bug report for Zorba please go to the
2859 Zorba's Bug Database and submit your report:
2860- https://sourceforge.net/tracker/?group_id=226244&atid=1067586
2861+ https://bugs.launchpad.net/zorba.
2862
2863 o If you want to participate in actively developing Zorba or
2864- support Zorba, please write a mail to: zorba@zorba-xquery.org
2865+ support Zorba, please write a mail to: zorba-dev@googlegroups.com
2866
2867=== modified file 'WIN32.cpack'
2868--- WIN32.cpack 2011-06-24 17:59:32 +0000
2869+++ WIN32.cpack 2012-10-24 01:05:28 +0000
2870@@ -14,5 +14,3 @@
2871 #
2872
2873 INCLUDE(InstallRequiredSystemLibraries)
2874-
2875-INSTALL(PROGRAMS $ENV{ZORBA_REQUIRED_DLLS} DESTINATION bin)
2876
2877=== modified file 'bin/CMakeLists.txt'
2878--- bin/CMakeLists.txt 2011-07-01 16:07:54 +0000
2879+++ bin/CMakeLists.txt 2012-10-24 01:05:28 +0000
2880@@ -15,33 +15,38 @@
2881 INCLUDE_DIRECTORIES(AFTER ${CMAKE_SOURCE_DIR}/src/)
2882 INCLUDE_DIRECTORIES(AFTER ${CMAKE_CURRENT_SOURCE_DIR})
2883
2884-IF(ZORBA_WITH_DEBUGGER_CLIENT)
2885- CONFIGURE_FILE (debug_client/event_handler_init.cpp.in debug_client/event_handler_init.cpp)
2886-
2887- SET(DEBUG_CLIENT_SRCS
2888- debug_client/tuple.h
2889- debug_client/main.cpp
2890- debug_client/debug_command.h
2891- debug_client/debug_command.cpp
2892- debug_client/command_line_handler.h
2893- debug_client/command_line_handler.cpp
2894- debug_client/lock_free_queue.h
2895- debug_client/event_handler.h
2896- debug_client/event_handler.cpp
2897- ${CMAKE_CURRENT_BINARY_DIR}/debug_client/event_handler_init.cpp
2898+IF (ZORBA_WITH_DEBUGGER)
2899+ IF (NOT WIN32)
2900+ FIND_PACKAGE (Libedit)
2901+ IF (LIBEDIT_FOUND)
2902+ INCLUDE_DIRECTORIES (${LIBEDIT_INCLUDE_DIRS})
2903+ SET (LIBEDIT_LIBS ${LIBEDIT_LIBRARIES})
2904+ SET (ZORBA_HAVE_LIBEDIT_H ${LIBEDIT_FOUND})
2905+ ENDIF (LIBEDIT_FOUND)
2906+ ENDIF (NOT WIN32)
2907+
2908+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/debugger/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/debugger/config.h)
2909+ MESSAGE(STATUS "configured ${CMAKE_CURRENT_SOURCE_DIR}/debugger/config.h.cmake --> ${CMAKE_CURRENT_BINARY_DIR}/debugger/config.h")
2910+ INCLUDE_DIRECTORIES (BEFORE ${CMAKE_CURRENT_BINARY_DIR}/debugger)
2911+
2912+ SET (DEBUG_CLIENT_SRCS
2913+ debugger/main.cpp
2914+ debugger/xqdb_client.cpp
2915+ debugger/process_listener.cpp
2916+ debugger/command_prompt.cpp
2917+ debugger/command_line_handler.cpp
2918+ debugger/event_handler.cpp
2919 )
2920
2921- CONFIGURE_FILE (debug_client/message-handler.xq message-handler.xq)
2922-
2923- ZORBA_GENERATE_EXE("debuggercmd" "${DEBUG_CLIENT_SRCS}" "" "debugger" "bin")
2924-ENDIF(ZORBA_WITH_DEBUGGER_CLIENT)
2925+ ZORBA_GENERATE_EXE ("xqdb" "${DEBUG_CLIENT_SRCS}" "${LIBEDIT_LIBS}" "xqdb" "bin")
2926+ENDIF (ZORBA_WITH_DEBUGGER)
2927
2928 SET(SRCS
2929 zorbacmd.cpp
2930 zorbacmdproperties.cpp
2931 error_printer.cpp
2932 util.cpp
2933- module_path.cpp
2934+ path_util.cpp
2935 )
2936
2937 INCLUDE("${CMAKE_SOURCE_DIR}/cmake_modules/ZorbaGenerateExe.cmake")
2938@@ -71,16 +76,50 @@
2939
2940 # test the compile-only option of the command line tool which is used for semantic checking in eclipse
2941 ZORBA_ADD_TEST(bin/zorba_compilechk1 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/test/mymod.xq" -f -l)
2942-ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk1 PASS_REGULAR_EXPRESSION ".*mymod.xq>:6,8:.*:XPST0008.*")
2943+ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk1 PASS_REGULAR_EXPRESSION ".*mymod.xq>:22,8:.*:XPST0008.*")
2944
2945 ZORBA_ADD_TEST(bin/zorba_compilechk2 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/test/mymod.xq" -f -l -x)
2946-ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk2 PASS_REGULAR_EXPRESSION ".*XPST0008.*mymod.xq' line='6' column='8'.*")
2947+ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk2 PASS_REGULAR_EXPRESSION ".*XPST0008.*mymod.xq' lineStart='22' columnStart='8' lineEnd='22' columnEnd='10'.*")
2948
2949 # test compile checking to work with library modules that have an invalid target namespace uri
2950 # test for bug #2934414
2951 ZORBA_ADD_TEST(bin/zorba_compilechk3 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/test/mymod2.xq" -f -l -x)
2952-ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk3 PASS_REGULAR_EXPRESSION ".*XQST0046.*mymod2.xq' line='1' column='1'.*")
2953+ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk3 PASS_REGULAR_EXPRESSION ".*XQST0046.*mymod2.xq' lineStart='17' columnStart='1' lineEnd='17' columnEnd='26'.*")
2954
2955 # test the --option option to set an option in the static context
2956 ZORBA_ADD_TEST(bin/zorba_option zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/test/option.xq" -f --option "{http://www.zorba-xquery.com}option=value")
2957 ZORBA_SET_TEST_PROPERTY(bin/zorba_option PASS_REGULAR_EXPRESSION "value")
2958+
2959+# test the --uri-path, --lib-path, and --module-path args.
2960+# Use the versioning tests as they utilize test modules already.
2961+SET (_testdir
2962+ "${CMAKE_CURRENT_SOURCE_DIR}/../test/rbkt/Queries/zorba/versioning")
2963+SET (_uridir "${CMAKE_BINARY_DIR}/TEST_URI_PATH")
2964+SET (_libdir "${CMAKE_BINARY_DIR}/TEST_LIB_PATH")
2965+ZORBA_ADD_TEST(bin/zorba_uri_path_1 zorbacmd -f -q "${_testdir}/import1.xq"
2966+ --uri-path "${_uridir}")
2967+ZORBA_SET_TEST_PROPERTY(bin/zorba_uri_path_1
2968+ PASS_REGULAR_EXPRESSION "hello, v2")
2969+
2970+ZORBA_ADD_TEST(bin/zorba_uri_path_2 zorbacmd -f -q "${_testdir}/external1.xq"
2971+ --uri-path "${_uridir}")
2972+ZORBA_SET_TEST_PROPERTY(bin/zorba_uri_path_2
2973+ PASS_REGULAR_EXPRESSION "ZXQP0008")
2974+
2975+ZORBA_ADD_TEST(bin/zorba_uri_path_3 zorbacmd -f -q "${_testdir}/external1.xq"
2976+ --uri-path "${_uridir}" --lib-path "${_libdir}")
2977+ZORBA_SET_TEST_PROPERTY(bin/zorba_uri_path_3
2978+ PASS_REGULAR_EXPRESSION "hello, v2")
2979+
2980+IF(WIN32)
2981+ SET(PATH_SEP ";")
2982+ELSE(WIN32)
2983+ SET(PATH_SEP ":")
2984+ENDIF(WIN32)
2985+ZORBA_ADD_TEST(bin/zorba_module_path_1 zorbacmd -f -q "${_testdir}/external1.xq"
2986+ --module-path "${_libdir}${PATH_SEP}${_uridir}")
2987+ZORBA_SET_TEST_PROPERTY(bin/zorba_module_path_1
2988+ PASS_REGULAR_EXPRESSION "hello, v2")
2989+
2990+# test compilation of the perf script
2991+ZORBA_ADD_TEST(bin/zorba_compilechk4 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/../test/zperf/src/start.xq" -f --compile-only)
2992
2993=== removed file 'bin/debug_client/debug_command.cpp'
2994--- bin/debug_client/debug_command.cpp 2011-07-01 01:53:24 +0000
2995+++ bin/debug_client/debug_command.cpp 1970-01-01 00:00:00 +0000
2996@@ -1,99 +0,0 @@
2997-/*
2998- * Copyright 2006-2008 The FLWOR Foundation.
2999- *
3000- * Licensed under the Apache License, Version 2.0 (the "License");
3001- * you may not use this file except in compliance with the License.
3002- * You may obtain a copy of the License at
3003- *
3004- * http://www.apache.org/licenses/LICENSE-2.0
3005- *
3006- * Unless required by applicable law or agreed to in writing, software
3007- * distributed under the License is distributed on an "AS IS" BASIS,
3008- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3009- * See the License for the specific language governing permissions and
3010- * limitations under the License.
3011- */
3012-#include <iostream>
3013-#include "debug_client/debug_command.h"
3014-
3015-namespace zorba { namespace debugclient {
3016-
3017-
3018- void CommandLine::execute()
3019- {
3020- for (;;) {
3021- std::cout << "zdb>> ";
3022- std::string command;
3023- std::getline(std::cin, command);
3024- std::vector<std::string> args;
3025- args << command;
3026- std::map<std::string, UntypedCommand*>::iterator lIter = theCommands.find(args[0]);
3027- if (lIter == theCommands.end()) {
3028- std::cout << args[0] << ": Command not found" << std::endl;
3029- continue;
3030- }
3031- if (!lIter->second->execute(args))
3032- continue;
3033- return;
3034- }
3035- }
3036-
3037-
3038- CommandLine::~CommandLine()
3039- {
3040- for (std::map<std::string, UntypedCommand*>::iterator i = theCommands.begin();
3041- i != theCommands.end(); ++i)
3042- {
3043- delete i->second;
3044- }
3045- }
3046-
3047- CommandLine& CommandLine::operator<<(UntypedCommand *aCommand)
3048- {
3049- theCommands.insert(std::make_pair(aCommand->get_name(), aCommand));
3050- return *this;
3051- }
3052-}}
3053-
3054-namespace std {
3055- vector<string>& operator<< (vector<string>& vec, const string& str)
3056- {
3057- string::size_type before = 0;
3058- string::size_type pos = str.find(" ", 0);
3059- while (pos != str.npos) {
3060- std::string lSub = str.substr(before, pos - before);
3061- if (lSub[0] == '"') {
3062- std::string::size_type lBeforeCopy = before;
3063- do {
3064- lBeforeCopy = str.find("\"", lBeforeCopy + 1);
3065- } while (pos != str.npos && str.size() > pos + 1 && str[pos + 1] == '\\');
3066- pos = lBeforeCopy;
3067- lSub = str.substr(before + 1, pos - before - 1);
3068- }
3069- vec.push_back(lSub);
3070- before = pos + 1;
3071- pos = str.find(" ", before);
3072- }
3073- std::string lSub = str.substr(before);
3074- if (lSub[0] == '"') {
3075- pos = str.find("\"", before + 1);
3076- lSub = str.substr(before + 1, pos - before - 1);
3077- }
3078- vec.push_back(lSub);
3079- return vec;
3080- }
3081-
3082- set<string>& operator<< (set<string>& vec, const string& str)
3083- {
3084- string::size_type before = 0;
3085- string::size_type pos = str.find(" ", 0);
3086- while (pos != str.npos) {
3087- vec.insert(str.substr(before, pos));
3088- before = pos + 1;
3089- pos = str.find(" ", before);
3090- }
3091- vec.insert(str.substr(before));
3092- return vec;
3093- }
3094-
3095-}
3096
3097=== removed file 'bin/debug_client/event_handler_init.cpp.in'
3098--- bin/debug_client/event_handler_init.cpp.in 2011-07-01 01:53:24 +0000
3099+++ bin/debug_client/event_handler_init.cpp.in 1970-01-01 00:00:00 +0000
3100@@ -1,41 +0,0 @@
3101-/*
3102- * Copyright 2006-2008 The FLWOR Foundation.
3103- *
3104- * Licensed under the Apache License, Version 2.0 (the "License");
3105- * you may not use this file except in compliance with the License.
3106- * You may obtain a copy of the License at
3107- *
3108- * http://www.apache.org/licenses/LICENSE-2.0
3109- *
3110- * Unless required by applicable law or agreed to in writing, software
3111- * distributed under the License is distributed on an "AS IS" BASIS,
3112- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3113- * See the License for the specific language governing permissions and
3114- * limitations under the License.
3115- */
3116-#include <fstream>
3117-#include "debug_client/event_handler.h"
3118-
3119-namespace zorba { namespace debugclient {
3120-
3121- std::istream* EventHandler::getCurrentDirectory() {
3122- const char* build_dir = "@CMAKE_BINARY_DIR@/bin/message-handler.xq";
3123- const char* install_dir =
3124-#ifndef WIN32
3125- "@CMAKE_INSTALL_PREFIX@/bin/";
3126-#else
3127- "C:/Program Files/Zorba XQuery Processor @ZORBA_MAJOR_NUMBER@.@ZORBA_MINOR_NUMBER@.@ZORBA_PATCH_NUMBER@/bin/";
3128-#endif
3129- std::auto_ptr<std::ifstream> stream(new std::ifstream(build_dir));
3130- if (stream->good()) {
3131- return stream.release();
3132- }
3133- stream.reset(new std::ifstream(install_dir));
3134- if (stream->good()) {
3135- return stream.release();
3136- }
3137- return 0;
3138- }
3139-
3140-}} // end of namespace zorba::debugclient
3141-
3142
3143=== removed file 'bin/debug_client/lock_free_queue.cpp'
3144--- bin/debug_client/lock_free_queue.cpp 2011-07-01 01:53:24 +0000
3145+++ bin/debug_client/lock_free_queue.cpp 1970-01-01 00:00:00 +0000
3146@@ -1,16 +0,0 @@
3147-/*
3148- * Copyright 2006-2008 The FLWOR Foundation.
3149- *
3150- * Licensed under the Apache License, Version 2.0 (the "License");
3151- * you may not use this file except in compliance with the License.
3152- * You may obtain a copy of the License at
3153- *
3154- * http://www.apache.org/licenses/LICENSE-2.0
3155- *
3156- * Unless required by applicable law or agreed to in writing, software
3157- * distributed under the License is distributed on an "AS IS" BASIS,
3158- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3159- * See the License for the specific language governing permissions and
3160- * limitations under the License.
3161- */
3162-#include "lock_free_queue.h"
3163
3164=== removed file 'bin/debug_client/message-handler.xq'
3165--- bin/debug_client/message-handler.xq 2011-07-01 01:53:24 +0000
3166+++ bin/debug_client/message-handler.xq 1970-01-01 00:00:00 +0000
3167@@ -1,149 +0,0 @@
3168-import module namespace refl = 'http://www.zorba-xquery.com/modules/reflection';
3169-import module namespace sctx = "http://www.zorba-xquery.com/modules/introspection/sctx";
3170-import module namespace base64 = "http://www.zorba-xquery.com/modules/converters/base64";
3171-
3172-
3173-declare variable $local:localns as xs:string := 'http://www.w3.org/2005/xquery-local-functions';
3174-
3175-
3176-declare variable $local:endl as xs:string := '
3177-';
3178-
3179-declare function local:has-to-stop($resp as element())
3180-{
3181- fn:not(($resp/@command/data(.) eq "stop" and $resp/@reason/data(.) eq "ok")
3182- or ($resp/@status/data(.) eq "stopped")
3183- or ($resp/@status/data(.) eq "stopping"))
3184-};
3185-
3186-declare function local:status($resp as element())
3187-{
3188- fn:concat(
3189- "Status: ", $resp/@status/data(.), $local:endl,
3190- "Reason: ", $resp/@reason/data(.), $local:endl,
3191- let $msg := $resp/text()
3192- return
3193- if (fn:empty($msg) or $msg eq "") then
3194- ""
3195- else
3196- fn:concat($msg, $local:endl)
3197- )
3198-};
3199-
3200-
3201-declare function local:run($resp as element()) {
3202- if ($resp/@status/data(.) eq "starting") then
3203- "Starting query"
3204- else
3205- local:status($resp)
3206-};
3207-
3208-declare function local:stop($resp as element())
3209-{
3210- local:status($resp)
3211-};
3212-
3213-declare function local:breakpoint_set($resp as element())
3214-{
3215- if ($resp/error) then
3216- fn:concat("Error when setting a breakpoint: ", if ($resp/error/message) then $resp/error/message/text() else concat(" errcode: ", data($resp/error/@code)))
3217- else
3218- fn:concat("set breakpoint with id ", data($resp/@id), " and state ", data($resp/@state))
3219-};
3220-
3221-declare function local:breakpoint_list($resp as element())
3222-{
3223- string-join(
3224- for $b in $resp/breakpoint
3225- return concat("Breakpoint ", data($b/@id), " at ", data($b/@filename), ":", data($b/@lineno), " ", data($b/@state)),
3226- $local:endl
3227- )
3228-};
3229-
3230-declare function local:breakpoint_remove($resp as element())
3231-{
3232- "Breakpoint removed"
3233-};
3234-
3235-declare function local:stack_depth($resp as element())
3236-{
3237- concat("Depth: ", data($resp/@depth))
3238-};
3239-
3240-declare function local:stack_get($resp as element())
3241-{
3242- string-join(
3243- for $s in $resp/stack
3244- return concat("Level ", data($s/@level), " at ", data($s/@filename), ":", data($s/@lineno)),
3245- $local:endl
3246- )
3247-};
3248-
3249-
3250-declare function local:context_names($resp as element())
3251-{
3252- string-join(
3253- for $c in $resp/context
3254- return concat("Context: ", data($c/@name), " id: ", data($c/@id)),
3255- $local:endl
3256- )
3257-};
3258-
3259-declare function local:context_get($resp as element())
3260-{
3261- string-join(
3262- for $p in $resp/property
3263- return concat(data($p/@fullname), ": [", data($p/@type), "]",
3264- if ($p/text() ne "") then concat(": ", base64:decode($p/text())) else ""),
3265- $local:endl
3266- )
3267-};
3268-
3269-declare function local:eval($resp as element())
3270-{
3271- if (data($resp/@success) eq "1") then
3272- local:context_get($resp)
3273- else
3274- concat("Eval failed", ":", $resp/error/message/text())
3275-};
3276-
3277-declare function local:process-response($resp as element())
3278-{
3279- if (data($resp/@command) eq "") then
3280- (fn:true(), $resp/@transaction_id/data(.), local:status($resp))
3281- else
3282- let $fun-cont-name := fn:QName($local:localns, concat("local:", $resp/@command/data(.), "-cont"))
3283- let $fun-msg-name := fn:QName($local:localns, concat("local:", $resp/@command/data(.)))
3284- return (
3285- if (sctx:function-arguments-count($fun-cont-name) = 1) then
3286- refl:invoke-simple($fun-cont-name, $resp)
3287- else
3288- local:has-to-stop($resp),
3289- $resp/@transaction_id/data(.),
3290- if (sctx:function-arguments-count($fun-msg-name) = 1) then
3291- refl:invoke-simple($fun-msg-name, $resp)
3292- else
3293- "Recieved a message - command not implemented"
3294- )
3295-};
3296-
3297-declare function local:process-init($init as element())
3298-{
3299- fn:true(),
3300- 0,
3301- fn:concat(fn:string-join(
3302- ('Established connection with', $init/@language/data(.), 'client', $init/@appid/data(.)), ' '), '
3303-')
3304-};
3305-
3306-declare function local:main($response as element()) {
3307- let $process-fun as xs:QName := fn:QName($local:localns, concat("local:process-", node-name($response)))
3308- return
3309- if (sctx:function-arguments-count($process-fun) = 1) then
3310- refl:invoke-simple($process-fun, $response)
3311- else (
3312- true(),
3313- ($response/@transaction_id, 0)[1]/data(.),
3314- "ERROR: Recieved unknown node from client"
3315- )
3316-};
3317
3318=== renamed directory 'bin/debug_client' => 'bin/debugger'
3319=== renamed file 'bin/debug_client/debug_command.h' => 'bin/debugger/command.h'
3320--- bin/debug_client/debug_command.h 2011-07-04 08:05:46 +0000
3321+++ bin/debugger/command.h 2012-10-24 01:05:28 +0000
3322@@ -14,7 +14,9 @@
3323 * limitations under the License.
3324 */
3325 #pragma once
3326-#include <zorba/config.h>
3327+#ifndef ZORBA_DEBUGGER_COMMAND_H
3328+#define ZORBA_DEBUGGER_COMMAND_H
3329+
3330 #include <string>
3331 #include <vector>
3332 #include <iostream>
3333@@ -23,151 +25,18 @@
3334 #include <sstream>
3335 #include <memory>
3336 #include <typeinfo>
3337-#include "debug_client/tuple.h"
3338-
3339-namespace zorba { namespace debugclient {
3340+
3341+#include <zorba/config.h>
3342+
3343+#include "command_arg.h"
3344+#include "tuple.h"
3345+
3346+
3347+namespace zorba { namespace debugger {
3348
3349 class DebugClientParseException : public std::exception {
3350 };
3351
3352- template<typename Tuple>
3353- class CommandArg;
3354-
3355- template<typename Tuple>
3356- class CommandArgInstance {
3357- public:
3358- virtual int get_index() const = 0;
3359- virtual const CommandArg<Tuple>* get_arg() const = 0;
3360- virtual void insertValue(Tuple& t) = 0;
3361- virtual bool isSet(Tuple& t) const = 0;
3362- };
3363-
3364- template<typename T, int Idx, typename Tuple>
3365- class TypedCommandArgInstance : public CommandArgInstance<Tuple>
3366- {
3367- public:
3368- TypedCommandArgInstance(T aValue, const CommandArg<Tuple>* aArg)
3369- : theValue(aValue), theArg(aArg) {}
3370- virtual int get_index() const { return Idx; }
3371- virtual const CommandArg<Tuple>* get_arg() const { return theArg; }
3372- virtual void insertValue(Tuple& t)
3373- {
3374- ZORBA_TR1_NS::get<Idx>(t).first = true;
3375- ZORBA_TR1_NS::get<Idx>(t).second = theValue;
3376- }
3377- virtual bool isSet(Tuple& t) const
3378- {
3379- return ZORBA_TR1_NS::get<Idx>(t).first;
3380- }
3381- private:
3382- T theValue;
3383- const CommandArg<Tuple>* theArg;
3384- };
3385-
3386- template<typename Tuple>
3387- class CommandArgType {
3388- public:
3389- virtual CommandArgInstance<Tuple>* parse(const std::string& str,
3390- const CommandArg<Tuple>* arg) = 0;
3391- virtual bool isVoid() const = 0;
3392- virtual bool isSet(Tuple& t) const = 0;
3393- virtual ~CommandArgType() {}
3394- };
3395-
3396- template<typename T, int Idx, typename Tuple>
3397- class TypedCommandArgType : public CommandArgType<Tuple> {
3398- public:
3399- typedef T Type;
3400- public: // implementation
3401- TypedCommandArgType(bool aIsVoid) : theIsVoid(aIsVoid) {}
3402- TypedCommandArgType(const T& aValue,
3403- bool aIsVoid)
3404- : theDefault(aValue), theIsVoid(aIsVoid) {}
3405- virtual CommandArgInstance<Tuple>* parse(const std::string& str,
3406- const CommandArg<Tuple>* arg)
3407- {
3408- T aValue;
3409- std::stringstream stream(str);
3410- stream >> aValue;
3411- if (stream.fail()) {
3412- std::cerr << "Could not parse argument of type "
3413- << typeid(T).name()
3414- << std::endl;
3415- return 0;
3416- }
3417- return new TypedCommandArgInstance<T, Idx, Tuple>(aValue, arg);
3418- }
3419- virtual bool isVoid() const { return theIsVoid; }
3420- virtual bool isSet(Tuple& t) const
3421- {
3422- return ZORBA_TR1_NS::get<Idx>(t).first;
3423- }
3424- private:
3425- TypedCommandArgType<T, Idx, Tuple>() {}
3426- T theDefault;
3427- bool theIsVoid;
3428- };
3429-
3430- template<typename Tuple>
3431- class CommandArg {
3432- public:
3433- CommandArg(unsigned aId,
3434- CommandArgType<Tuple>* aType,
3435- const std::set<std::string>& aFlags,
3436- const std::string& aDescription,
3437- bool aIsRequired)
3438- : theId(aId),
3439- theType(aType),
3440- theFlags(aFlags),
3441- theDescription(aDescription),
3442- theIsRequired(aIsRequired)
3443- {
3444- }
3445- ~CommandArg() { delete theType; }
3446- unsigned get_id() const { return theId; }
3447- bool canHandle(const std::string& arg) const
3448- {
3449- if (theFlags.find(arg) != theFlags.end()) {
3450- return true;
3451- }
3452- return false;
3453- }
3454- CommandArgInstance<Tuple>* parse(const std::string& str) const
3455- {
3456- return theType->parse(str, this);
3457- }
3458- bool isVoid() const {
3459- return theType->isVoid();
3460- }
3461- bool isRequired() const { return theIsRequired; }
3462- std::string get_name() const {
3463- return *(theFlags.begin());
3464- }
3465- bool isSet(Tuple& t) const
3466- {
3467- return theType->isSet(t);
3468- }
3469- private:
3470- unsigned theId;
3471- CommandArgType<Tuple>* theType;
3472- std::set<std::string> theFlags;
3473- std::string theDescription;
3474- bool theIsRequired;
3475- };
3476-}} // end namespace zorba
3477-
3478-namespace std {
3479-
3480- /**
3481- * This is a helper split function
3482- */
3483- vector<string>& operator<< (vector<string>& vec, const string& str);
3484-
3485- set<string>& operator<< (set<string>& vec, const string& str);
3486-} //end namespace std
3487-
3488-namespace zorba { namespace debugclient {
3489-
3490 template<typename Func, typename Tuple, int CommandIdx>
3491 class CommandInstance
3492 {
3493@@ -188,8 +57,11 @@
3494
3495 class UntypedCommand {
3496 public:
3497- virtual std::string get_name() const = 0;
3498- virtual std::string get_description() const = 0;
3499+ virtual ~UntypedCommand() {}
3500+ virtual std::string getName() const = 0;
3501+ virtual std::set<std::string> getAliases() const = 0;
3502+ virtual std::string getDescription() const = 0;
3503+ virtual void printHelp() const = 0;
3504 virtual bool execute(const std::vector<std::string>& args) = 0;
3505 };
3506
3507@@ -197,77 +69,141 @@
3508 class Command : public UntypedCommand {
3509 public:
3510 Command(const std::string& aName, Func& aFunction, const std::string& aDescription)
3511- : theName(aName), theFunction(aFunction), theDescription(aDescription) {}
3512+ : theName(aName), theFunction(aFunction), theDescription(aDescription)
3513+ {}
3514+
3515+ Command(const std::string& aName, const std::set<std::string> aAliases, Func& aFunction, const std::string& aDescription)
3516+ : theName(aName), theAliases(aAliases), theFunction(aFunction), theDescription(aDescription)
3517+ {}
3518+
3519 ~Command();
3520+
3521 public:
3522- Command& operator() (unsigned aId,
3523- const std::string& aFlags,
3524- CommandArgType<Tuple>* aType,
3525- const std::string& aDescription = "",
3526- bool isRequired = false);
3527- virtual std::string get_name() const { return theName; }
3528- virtual std::string get_description() const { return theDescription; }
3529+
3530+ void
3531+ addArgument(
3532+ unsigned aId,
3533+ const std::string& aFlags,
3534+ CommandArgType<Tuple>* aType,
3535+ const std::string& aDescription = "",
3536+ bool isRequired = false);
3537+
3538+ static void
3539+ splitNames(
3540+ const std::string& names,
3541+ std::set<std::string>& set);
3542+
3543+ virtual std::string
3544+ getName() const
3545+ {
3546+ return theName;
3547+ }
3548+
3549+ virtual std::set<std::string> getAliases() const
3550+ {
3551+ return theAliases;
3552+ }
3553+
3554+ virtual std::string
3555+ getDescription() const
3556+ {
3557+ return theDescription;
3558+ }
3559+
3560+ virtual void
3561+ printHelp() const;
3562+
3563 virtual bool execute(const std::vector<std::string>& args)
3564 {
3565 CommandInstance<Func, Tuple, CommandIdx> instance(theFunction, theTuple);
3566- if (instance.parseArguments(args, theArgs))
3567+ if (instance.parseArguments(args, theArgs)) {
3568 instance.execute();
3569- else
3570- return false;
3571- return true;
3572+ return true;
3573+ }
3574+ return false;
3575 }
3576 private:
3577 std::string theName;
3578+ std::set<std::string> theAliases;
3579 Func& theFunction;
3580 Tuple theTuple;
3581 std::string theDescription;
3582- std::map<std::string, CommandArg<Tuple>* > theArgs;
3583- };
3584-
3585- class CommandLine {
3586- public:
3587- ~CommandLine();
3588- public:
3589- void execute();
3590- CommandLine& operator<< (UntypedCommand* aCommand);
3591- private:
3592- std::map<std::string, UntypedCommand*> theCommands;
3593- };
3594-
3595- template<typename Func, typename Tuple, int CommandIdx>
3596- Command<Func, Tuple, CommandIdx>::~Command()
3597- {
3598- typedef std::map<std::string, CommandArg<Tuple>* > ArgType;
3599- for (typename ArgType::iterator i = theArgs.begin(); i != theArgs.end(); ++i) {
3600- delete i->second;
3601- }
3602- }
3603-
3604-
3605- template<typename Func, typename Tuple, int CommandIdx>
3606- Command<Func, Tuple, CommandIdx>&
3607- Command<Func, Tuple, CommandIdx>::operator() (unsigned aId,
3608- const std::string& aFlags,
3609- CommandArgType<Tuple>* aType,
3610- const std::string& aDescription,
3611- bool isRequired)
3612- {
3613- std::set<std::string> args;
3614- args << aFlags;
3615- for (std::set<std::string>::iterator i = args.begin(); i != args.end(); ++i) {
3616- std::string toAdd = (i->size() == 1) ? "-" + *i : "--" + *i;
3617- theArgs.insert(std::make_pair(toAdd,
3618- new CommandArg<Tuple>(aId,
3619- aType,
3620- args,
3621- aDescription,
3622- isRequired)
3623- )
3624- );
3625- }
3626- return *this;
3627- }
3628-
3629+ std::map<std::string, CommandArg<Tuple>*> theArgs;
3630+ };
3631+
3632+/*****************************************************************************/
3633+/*****************************************************************************/
3634+
3635+template<typename Func, typename Tuple, int CommandIdx>
3636+Command<Func, Tuple, CommandIdx>::~Command()
3637+{
3638+ typedef std::map<std::string, CommandArg<Tuple>*> ArgType;
3639+ for (typename ArgType::iterator i = theArgs.begin(); i != theArgs.end(); ++i) {
3640+ delete i->second;
3641+ }
3642+}
3643+
3644+template<typename Func, typename Tuple, int CommandIdx>
3645+void
3646+Command<Func, Tuple, CommandIdx>::printHelp() const
3647+{
3648+ std::cout << "Purpose: " << getDescription() << std::endl;
3649+
3650+ typename std::map<std::string, CommandArg<Tuple>*>::const_iterator lIter = theArgs.begin();
3651+ if (lIter == theArgs.end()) {
3652+ std::cout << "This command has no arguments." << std::endl;
3653+ std::cout << std::endl;
3654+ return;
3655+ }
3656+
3657+ std::cout << "Arguments:" << std::endl << std::endl;
3658+ for (; lIter != theArgs.end(); ++lIter) {
3659+ std::cout << " " << lIter->first << "\t" << lIter->second->getDescription() << std::endl;
3660+ }
3661+ std::cout << std::endl;
3662+}
3663+
3664+template<typename Func, typename Tuple, int CommandIdx>
3665+void
3666+Command<Func, Tuple, CommandIdx>::splitNames(const std::string& aNames, std::set<std::string>& aSet)
3667+{
3668+ std::string::size_type before = 0;
3669+ std::string::size_type pos = aNames.find(" ", 0);
3670+ while (pos != aNames.npos) {
3671+ std::string lName = aNames.substr(before, pos);
3672+ if (lName != "") {
3673+ aSet.insert(lName);
3674+ }
3675+ before = pos + 1;
3676+ pos = aNames.find(" ", before);
3677+ }
3678+ std::string lName = aNames.substr(before);
3679+ if (lName != "") {
3680+ aSet.insert(lName);
3681+ }
3682+}
3683+
3684+template<typename Func, typename Tuple, int CommandIdx>
3685+void
3686+Command<Func, Tuple, CommandIdx>::addArgument(
3687+ unsigned aId,
3688+ const std::string& aFlags,
3689+ CommandArgType<Tuple>* aType,
3690+ const std::string& aDescription,
3691+ bool isRequired)
3692+{
3693+ std::set<std::string> lNames;
3694+ splitNames(aFlags, lNames);
3695+
3696+ for (std::set<std::string>::iterator i = lNames.begin(); i != lNames.end(); ++i) {
3697+ std::string toAdd = (i->size() == 1) ? "-" + *i : "--" + *i;
3698+ CommandArg<Tuple>* lArg = new CommandArg<Tuple>(aId, aType, lNames, aDescription, isRequired);
3699+ theArgs.insert(std::make_pair(toAdd, lArg));
3700+ }
3701+}
3702+
3703+/*****************************************************************************/
3704+
3705 template<typename Tuple, typename T, int Idx>
3706 CommandArgType<Tuple>* createArgType(Tuple t)
3707 {
3708@@ -290,6 +226,16 @@
3709 return new Command<Func, Tuple, CommandIdx>(aName, aFunction, aDescription);
3710 }
3711
3712+ template<int CommandIdx, typename Tuple, typename Func>
3713+ Command<Func, Tuple, CommandIdx>* createCommand(Tuple t,
3714+ const std::string& aName,
3715+ const std::set<std::string>& aAliases,
3716+ Func& aFunction,
3717+ const std::string& aDescription)
3718+ {
3719+ return new Command<Func, Tuple, CommandIdx>(aName, aAliases, aFunction, aDescription);
3720+ }
3721+
3722 template<typename Func, typename Tuple, int CommandIdx>
3723 bool CommandInstance<Func, Tuple, CommandIdx>::
3724 parseArguments(const std::vector<std::string>& args,
3725@@ -301,29 +247,34 @@
3726 for (ArgType::size_type i = 1; i < size; ++i) {
3727 typename CArgType::const_iterator pos = aCommandArgs.find(args[i]);
3728 if (pos == aCommandArgs.end()) {
3729- std::cerr << "Error: Unknown Argument " << args[i] << std::endl;
3730+ std::cerr << "Error: Unknown option " << args[i] << std::endl;
3731 parseError = true;
3732 return false;
3733 }
3734 const CommandArg<Tuple>& arg = *(pos->second);
3735- if (!arg.isVoid() && args[++i][0] == '-') {
3736- std::cerr << "Did not expect parameter for option " << args[i] << std::endl;
3737- return false;
3738- }
3739 std::auto_ptr<CommandArgInstance<Tuple> > instance;
3740 if (arg.isVoid()) {
3741 instance.reset(arg.parse("1"));
3742 } else {
3743+ ++i;
3744+ if (i >= size) {
3745+ std::cerr << "Error: Missing value for argument " << args[i - 1] << std::endl;
3746+ parseError = true;
3747+ allSet = false;
3748+ return false;
3749+ }
3750 instance.reset(arg.parse(args[i]));
3751 }
3752- instance->insertValue(theTuple);
3753+ if (instance.get()) {
3754+ instance->insertValue(theTuple);
3755+ }
3756 }
3757 bool allSet = true;
3758 for (typename CArgType::const_iterator i = aCommandArgs.begin();
3759 i != aCommandArgs.end(); ++i)
3760 {
3761 if (i->second->isRequired() && !i->second->isSet(theTuple)) {
3762- std::cerr << "Error: Argument " << i->second->get_name() << " not set" << std::endl;
3763+ std::cerr << "Error: Argument -" << i->second->getName() << " not set" << std::endl;
3764 allSet = false;
3765 }
3766 }
3767@@ -336,4 +287,7 @@
3768 theFunction.template handle<CommandIdx>(this->theTuple);
3769 }
3770
3771-}} // end of namespace zorba::debugclient
3772+} // namespace zorba
3773+} // namespace debugger
3774+
3775+#endif // ZORBA_DEBUGGER_COMMAND_H
3776
3777=== added file 'bin/debugger/command_arg.h'
3778--- bin/debugger/command_arg.h 1970-01-01 00:00:00 +0000
3779+++ bin/debugger/command_arg.h 2012-10-24 01:05:28 +0000
3780@@ -0,0 +1,237 @@
3781+/*
3782+ * Copyright 2006-2008 The FLWOR Foundation.
3783+ *
3784+ * Licensed under the Apache License, Version 2.0 (the "License");
3785+ * you may not use this file except in compliance with the License.
3786+ * You may obtain a copy of the License at
3787+ *
3788+ * http://www.apache.org/licenses/LICENSE-2.0
3789+ *
3790+ * Unless required by applicable law or agreed to in writing, software
3791+ * distributed under the License is distributed on an "AS IS" BASIS,
3792+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3793+ * See the License for the specific language governing permissions and
3794+ * limitations under the License.
3795+ */
3796+#pragma once
3797+#ifndef ZORBA_DEBUGGER_COMMAND_ARG_H
3798+#define ZORBA_DEBUGGER_COMMAND_ARG_H
3799+
3800+#include <string>
3801+#include <iostream>
3802+#include <set>
3803+#include <sstream>
3804+
3805+#include "tuple.h"
3806+
3807+
3808+namespace zorba { namespace debugger {
3809+
3810+template<typename Tuple>
3811+class CommandArg;
3812+
3813+template<typename Tuple>
3814+class CommandArgInstance {
3815+ public:
3816+ virtual int get_index() const = 0;
3817+ virtual const CommandArg<Tuple>* get_arg() const = 0;
3818+ virtual void insertValue(Tuple& t) = 0;
3819+ virtual bool isSet(Tuple& t) const = 0;
3820+};
3821+
3822+template<typename T, int Idx, typename Tuple>
3823+class TypedCommandArgInstance : public CommandArgInstance<Tuple>
3824+{
3825+ public:
3826+ TypedCommandArgInstance(T aValue, const CommandArg<Tuple>* aArg)
3827+ : theValue(aValue), theArg(aArg)
3828+ {
3829+ }
3830+
3831+ virtual int
3832+ get_index() const
3833+ {
3834+ return Idx;
3835+ }
3836+
3837+ virtual const CommandArg<Tuple>*
3838+ get_arg() const
3839+ {
3840+ return theArg;
3841+ }
3842+
3843+ virtual void
3844+ insertValue(Tuple& t)
3845+ {
3846+ ZORBA_TR1_NS::get<Idx>(t).first = true;
3847+ ZORBA_TR1_NS::get<Idx>(t).second = theValue;
3848+ }
3849+
3850+ virtual bool isSet(Tuple& t) const
3851+ {
3852+ return ZORBA_TR1_NS::get<Idx>(t).first;
3853+ }
3854+
3855+ private:
3856+
3857+ T theValue;
3858+ const CommandArg<Tuple>* theArg;
3859+};
3860+
3861+template<typename Tuple>
3862+class CommandArgType
3863+{
3864+ public:
3865+ virtual CommandArgInstance<Tuple>*
3866+ parse(
3867+ const std::string& str,
3868+ const CommandArg<Tuple>* arg) = 0;
3869+
3870+ virtual bool
3871+ isVoid() const = 0;
3872+
3873+ virtual bool
3874+ isSet(Tuple& t) const = 0;
3875+
3876+ virtual ~CommandArgType() {}
3877+};
3878+
3879+ template<typename T, int Idx, typename Tuple>
3880+ class TypedCommandArgType : public CommandArgType<Tuple> {
3881+ public:
3882+ typedef T Type;
3883+ public: // implementation
3884+ TypedCommandArgType(bool aIsVoid) : theIsVoid(aIsVoid) {}
3885+ TypedCommandArgType(const T& aValue,
3886+ bool aIsVoid)
3887+ : theDefault(aValue), theIsVoid(aIsVoid) {}
3888+ virtual CommandArgInstance<Tuple>* parse(const std::string& str,
3889+ const CommandArg<Tuple>* arg)
3890+ {
3891+ T aValue;
3892+
3893+ // special treatment for strings
3894+ // this is a double hack:
3895+ // - we check the type name if this starts with: class std::basic_string
3896+ // - we use void* in readEntireString to workaround the template type T
3897+ // which would otherwise complain during compilation if types and
3898+ // operators do not match
3899+ // TOSO: probably someone can find a more elegant solution
3900+ std::string lTypeName(typeid(T).name());
3901+ if (lTypeName.find("class std::basic_string") == 0) {
3902+ readEntireString(str, &aValue);
3903+ } else {
3904+ std::stringstream stream(str);
3905+ std::stringstream out;
3906+ stream >> aValue;
3907+ if (stream.fail()) {
3908+ std::cerr << "Error: Could not parse value \"" << str << "\" as type "
3909+ << typeid(T).name()
3910+ << std::endl;
3911+ return 0;
3912+ }
3913+ }
3914+
3915+ return new TypedCommandArgInstance<T, Idx, Tuple>(aValue, arg);
3916+ }
3917+ virtual bool isVoid() const { return theIsVoid; }
3918+ virtual bool isSet(Tuple& t) const
3919+ {
3920+ return ZORBA_TR1_NS::get<Idx>(t).first;
3921+ }
3922+ private:
3923+ void readEntireString(std::string aIn, void* aValue)
3924+ {
3925+ *((std::string*)aValue) = aIn;
3926+ }
3927+
3928+ TypedCommandArgType<T, Idx, Tuple>() {}
3929+ T theDefault;
3930+ bool theIsVoid;
3931+ };
3932+
3933+ template<typename Tuple>
3934+ class CommandArg {
3935+ public:
3936+ CommandArg(unsigned aId,
3937+ CommandArgType<Tuple>* aType,
3938+ const std::set<std::string>& aNames,
3939+ const std::string& aDescription,
3940+ bool aIsRequired)
3941+ : theId(aId),
3942+ theType(aType),
3943+ theNames(aNames),
3944+ theDescription(aDescription),
3945+ theIsRequired(aIsRequired)
3946+ {
3947+ }
3948+
3949+ ~CommandArg()
3950+ {
3951+ delete theType;
3952+ }
3953+
3954+ unsigned
3955+ get_id() const
3956+ {
3957+ return theId;
3958+ }
3959+
3960+ bool
3961+ canHandle(const std::string& arg) const
3962+ {
3963+ if (theNames.find(arg) != theNames.end()) {
3964+ return true;
3965+ }
3966+ return false;
3967+ }
3968+
3969+ CommandArgInstance<Tuple>*
3970+ parse(const std::string& str) const
3971+ {
3972+ return theType->parse(str, this);
3973+ }
3974+
3975+ bool
3976+ isVoid() const
3977+ {
3978+ return theType->isVoid();
3979+ }
3980+
3981+ bool
3982+ isRequired() const
3983+ {
3984+ return theIsRequired;
3985+ }
3986+
3987+ std::string
3988+ getName() const
3989+ {
3990+ return *(theNames.begin());
3991+ }
3992+
3993+ std::string
3994+ getDescription() const
3995+ {
3996+ return theDescription;
3997+ }
3998+
3999+ bool
4000+ isSet(Tuple& t) const
4001+ {
4002+ return theType->isSet(t);
4003+ }
4004+
4005+ private:
4006+
4007+ unsigned theId;
4008+ CommandArgType<Tuple>* theType;
4009+ std::set<std::string> theNames;
4010+ std::string theDescription;
4011+ bool theIsRequired;
4012+ };
4013+
4014+} // namespace zorba
4015+} // namespace debugger
4016+
4017+#endif // ZORBA_DEBUGGER_COMMAND_ARG_H
4018
4019=== modified file 'bin/debugger/command_line_handler.cpp'
4020--- bin/debug_client/command_line_handler.cpp 2011-07-01 01:53:24 +0000
4021+++ bin/debugger/command_line_handler.cpp 2012-10-24 01:05:28 +0000
4022@@ -1,4 +1,4 @@
4023-/*
4024+ /*
4025 * Copyright 2006-2008 The FLWOR Foundation.
4026 *
4027 * Licensed under the Apache License, Version 2.0 (the "License");
4028@@ -23,225 +23,385 @@
4029 # define msleep Sleep
4030 #endif
4031
4032-namespace zorba { namespace debugclient {
4033+#include "command_prompt.h"
4034+
4035+
4036+namespace zorba { namespace debugger {
4037
4038- using namespace ::std;
4039 using namespace ::ZORBA_TR1_NS;
4040
4041- CommandLineHandler::CommandLineHandler(unsigned short port,
4042- LockFreeConsumer<std::size_t>& aConsumer,
4043- LockFreeConsumer<bool>& aContinueQueue,
4044- EventHandler& aHandler,
4045- CommandLine& aCommandLine)
4046+CommandLineHandler::CommandLineHandler(
4047+ unsigned short port,
4048+ LockFreeConsumer<std::size_t>& aConsumer,
4049+ LockFreeConsumer<bool>& aContinueQueue,
4050+ EventHandler* aHandler,
4051+ CommandPrompt* aCommandPrompt)
4052 : theConsumer(aConsumer),
4053 theContinueQueue(aContinueQueue),
4054- theClient(DebuggerClient::createDebuggerClient(&aHandler, port, "localhost")),
4055- theCommandLine(aCommandLine),
4056- theQuit(false), theContinue(false), theWaitFor(0)
4057+ theClient(DebuggerClient::createDebuggerClient(aHandler, port, "localhost")),
4058+ theCommandLine(aCommandPrompt),
4059+ theQuit(false), theTerminated(true), theContinue(false), theWaitFor(0)
4060 {
4061 addCommands();
4062 }
4063
4064- CommandLineHandler::~CommandLineHandler()
4065- {
4066- }
4067+CommandLineHandler::~CommandLineHandler()
4068+{
4069+}
4070
4071- void CommandLineHandler::execute()
4072- {
4073- theClient->accept();
4074- std::set<std::size_t> lIdList;
4075- do {
4076+void
4077+CommandLineHandler::execute()
4078+{
4079+ theClient->accept();
4080+ std::set<std::size_t> lIdList;
4081+ do {
4082+ getNextId(lIdList);
4083+ while (lIdList.find(theWaitFor) == lIdList.end()) {
4084 getNextId(lIdList);
4085- while (!theQuit && lIdList.find(theWaitFor) == lIdList.end()) {
4086- getNextId(lIdList);
4087- msleep(20);
4088- }
4089- while (!theContinueQueue.consume(theQuit)) {
4090- msleep(20);
4091- }
4092- theQuit = !theQuit;
4093- if (!theQuit) {
4094- theCommandLine.execute();
4095- while (theContinue) {
4096- theContinue = false;
4097- theCommandLine.execute();
4098- }
4099- }
4100- } while (!theQuit);
4101- }
4102-
4103- void CommandLineHandler::getNextId(std::set<std::size_t>& aIdList)
4104- {
4105- std::size_t result;
4106- if (theConsumer.consume(result)) {
4107- aIdList.insert(result);
4108- }
4109- }
4110-
4111- template<>
4112- void CommandLineHandler::handle<Status>(ZORBA_TR1_NS::tuple<> &t)
4113- {
4114- theWaitFor = theClient->status();
4115- }
4116-
4117- template<>
4118- void CommandLineHandler::handle<Quit>(ZORBA_TR1_NS::tuple<> &t)
4119- {
4120+ msleep(20);
4121+ }
4122+ bool lCanQuit;
4123+ while (!theContinueQueue.consume(lCanQuit)) {
4124+ msleep(20);
4125+ }
4126+ if (lCanQuit) {
4127+ theTerminated = true;
4128+ }
4129+ theCommandLine->execute();
4130+ while (theContinue) {
4131+ theContinue = false;
4132+ theCommandLine->execute();
4133+ }
4134+ } while (!theQuit);
4135+}
4136+
4137+void
4138+CommandLineHandler::getNextId(std::set<std::size_t>& aIdList)
4139+{
4140+ std::size_t result;
4141+ if (theConsumer.consume(result)) {
4142+ aIdList.insert(result);
4143+ }
4144+}
4145+
4146+template<>
4147+void
4148+CommandLineHandler::handle<Status>(ZORBA_TR1_NS::tuple<> &t)
4149+{
4150+ theWaitFor = theClient->status();
4151+}
4152+
4153+template<>
4154+void
4155+CommandLineHandler::handle<Variables>(ZORBA_TR1_NS::tuple<> &t)
4156+{
4157+ theWaitFor = theClient->variables();
4158+}
4159+
4160+template<>
4161+void
4162+CommandLineHandler::handle<Quit>(ZORBA_TR1_NS::tuple<> &t)
4163+{
4164+ if (!theTerminated) {
4165 bool answered = false;
4166 while (!answered) {
4167 std::cout << "Do you really want to stop debugging and exit? (y/n) ";
4168- char answer;
4169- std::cin >> answer;
4170- std::cout << std::endl;
4171- if (answer == 'y') {
4172+ std::string lAnswer;
4173+ std::getline(std::cin, lAnswer);
4174+ if (lAnswer == "y" || lAnswer == "yes") {
4175 answered = true;
4176- } else if (answered == 'n') {
4177+ } else if (lAnswer == "n" || lAnswer == "no") {
4178 theContinue = true;
4179 return;
4180 }
4181 }
4182- theWaitFor = theClient->stop();
4183- theClient->quit();
4184- }
4185-
4186- template<>
4187- void CommandLineHandler::handle<Run>(ZORBA_TR1_NS::tuple<> &t)
4188- {
4189- theWaitFor = theClient->run();
4190- }
4191-
4192- template<>
4193- void CommandLineHandler::handle<BreakpointSet>(std::tr1::tuple<bstring, bstring, bint> &t)
4194- {
4195- DebuggerClient::BreakpointType lType = DebuggerClient::Line;
4196- bool lEnabled = true;
4197- if (get<0>(t).first) {
4198- if (get<0>(t).second == "disabled") {
4199- lEnabled = false;
4200- }
4201- }
4202- theWaitFor = theClient->breakpoint_set(lType,
4203- lEnabled,
4204- get<1>(t).second,
4205- get<2>(t).second);
4206- }
4207-
4208- template<>
4209- void CommandLineHandler::handle<BreakpointGet>(tuple<bint> &aTuple)
4210- {
4211- theWaitFor = theClient->breakpoint_get(get<0>(aTuple).second);
4212- }
4213-
4214- template<>
4215- void CommandLineHandler::handle<BreakpointDel>(tuple<bint> &aTuple)
4216- {
4217- theWaitFor = theClient->breakpoint_remove(get<0>(aTuple).second);
4218- }
4219-
4220- template<>
4221- void CommandLineHandler::handle<BreakpointList>(tuple<> &t)
4222- {
4223- theWaitFor = theClient->breakpoint_list();
4224- }
4225-
4226- template<>
4227- void CommandLineHandler::handle<StackDepth>(tuple<> &t)
4228- {
4229- theWaitFor = theClient->stack_depth();
4230- }
4231-
4232- template<>
4233- void CommandLineHandler::handle<StackGet>(tuple<bint> &aTuple)
4234- {
4235- if (get<0>(aTuple).first) {
4236- theWaitFor = theClient->stack_get(get<0>(aTuple).second);
4237- } else {
4238- theWaitFor = theClient->stack_get();
4239- }
4240- }
4241-
4242- template<>
4243- void CommandLineHandler::handle<ContextNames>(tuple<>& aTuple)
4244- {
4245- theWaitFor = theClient->context_names();
4246- }
4247-
4248- template<>
4249- void CommandLineHandler::handle<ContextGet>(tuple<bint> &aTuple)
4250- {
4251- if (get<0>(aTuple).first)
4252- theWaitFor = theClient->context_get(get<0>(aTuple).second);
4253- else
4254- theWaitFor = theClient->context_get();
4255- }
4256-
4257- template<>
4258- void CommandLineHandler::handle<Eval>(tuple<bstring>& aTuple)
4259- {
4260- theWaitFor = theClient->eval(get<0>(aTuple).second);
4261- }
4262-
4263- void CommandLineHandler::addCommands()
4264- {
4265- theCommandLine << createCommand<Status>(tuple<>(), "status", *this,
4266- "Gets the status of the server");
4267- theCommandLine << createCommand<Quit>(tuple<>(), "quit", *this,
4268- "Stops debugging and quits the client");
4269- theCommandLine << createCommand<Run>(tuple<>(), "run", *this, "Run the Query");
4270- {
4271- Command<CommandLineHandler, tuple<bstring, bstring, bint>, BreakpointSet>* lCommand =
4272- createCommand<BreakpointSet>(tuple<bstring, bstring, bint>(), "break", *this, "Set a breakpoint");
4273- (*lCommand)(0, "s", createArgType<tuple<bstring, bstring, bint>, std::string, 0>(tuple<bstring, bstring, bint>()),
4274- "breakpoint state (enabled or disabled - default: enabled)", false);
4275- (*lCommand)(1, "f", createArgType<tuple<bstring, bstring, bint>, std::string, 1>(tuple<bstring, bstring, bint>()),
4276- "The name of the file where to stop", true);
4277- (*lCommand)(2, "l", createArgType<tuple<bstring, bstring, bint>, int, 2>(tuple<bstring, bstring, bint>()),
4278- "The line number", true);
4279-
4280- theCommandLine << lCommand;
4281- }
4282- {
4283- Command<CommandLineHandler, tuple<bint>, BreakpointGet>* lCommand
4284- = createCommand<BreakpointGet>(tuple<bint>(), "binfo", *this,
4285- "Get information about a given breakpoint");
4286- (*lCommand)(0, "i", createArgType<tuple<bint>, int, 0>(tuple<bint>()),
4287- "The id of the breakpoint", true);
4288-
4289- theCommandLine << lCommand;
4290- }
4291- {
4292- Command<CommandLineHandler, tuple<bint>, BreakpointDel>* lCommand
4293- = createCommand<BreakpointDel>(tuple<bint>(), "bdel", *this, "Delete a breakpoint with a given id");
4294- (*lCommand)(0, "i", createArgType<tuple<bint>, int, 0>(tuple<bint>()), "The id of the breakpoint", true);
4295-
4296- theCommandLine << lCommand;
4297- }
4298- theCommandLine << createCommand<BreakpointList>(tuple<>(), "blist", *this, "List all set breakpoints");
4299- theCommandLine << createCommand<StackDepth>(tuple<>(), "sdepth", *this, "Get the depth of the stack");
4300- {
4301- Command<CommandLineHandler, tuple<bint>, StackGet>* lCommand
4302- = createCommand<StackGet>(tuple<bint>(), "sget", *this, "Get information about one or all stack frames");
4303- (*lCommand)(0, "d", createArgType<tuple<bint>, int, 0>(tuple<bint>()), "The stack entry two show (show all if not provided)", false);
4304- theCommandLine << lCommand;
4305- }
4306- theCommandLine << createCommand<ContextNames>(tuple<>(), "cnames", *this, "Get the names of the avilable contexts");
4307- {
4308- Command<CommandLineHandler, tuple<bint>, ContextGet>* lCommand
4309- = createCommand<ContextGet>(tuple<bint>(), "cget", *this, "Get a context");
4310-
4311- (*lCommand)(0, "c", createArgType<tuple<bint>, int, 0>(tuple<bint>()), "The id of the context", false);
4312-
4313- theCommandLine << lCommand;
4314- }
4315- {
4316- Command<CommandLineHandler, tuple<bstring>, Eval>* lCommand
4317- = createCommand<Eval>(tuple<bstring>(), "eval", *this, "Evaluate a function");
4318-
4319- (*lCommand)(0, "c", createArgType<tuple<bstring>, std::string, 0>(tuple<bstring>()), "The command to evaluate", true);
4320-
4321- theCommandLine << lCommand;
4322- }
4323- }
4324-
4325-}} // namespace zorba::debugclient
4326-
4327+ }
4328+ theWaitFor = theClient->stop(true);
4329+ theClient->quit();
4330+ theQuit = true;
4331+}
4332+
4333+template<>
4334+void
4335+CommandLineHandler::handle<Run>(ZORBA_TR1_NS::tuple<> &t)
4336+{
4337+ theTerminated = false;
4338+ theWaitFor = theClient->run();
4339+}
4340+
4341+template<>
4342+void
4343+CommandLineHandler::handle<Stop>(ZORBA_TR1_NS::tuple<> &t)
4344+{
4345+ theWaitFor = theClient->stop(false);
4346+}
4347+
4348+template<>
4349+void
4350+CommandLineHandler::handle<BreakpointSet>(std::tr1::tuple<bstring, bstring, bint> &aTuple)
4351+{
4352+ DebuggerClient::BreakpointType lType = DebuggerClient::Line;
4353+ bool lEnabled = true;
4354+ if (get<0>(aTuple).first) {
4355+ if (get<0>(aTuple).second == "disabled") {
4356+ lEnabled = false;
4357+ }
4358+ }
4359+ theWaitFor = theClient->breakpoint_set(lType,
4360+ lEnabled,
4361+ get<1>(aTuple).second,
4362+ get<2>(aTuple).second);
4363+}
4364+
4365+template<>
4366+void
4367+CommandLineHandler::handle<BreakpointGet>(tuple<bint> &aTuple)
4368+{
4369+ theWaitFor = theClient->breakpoint_get(get<0>(aTuple).second);
4370+}
4371+
4372+template<>
4373+void
4374+CommandLineHandler::handle<BreakpointRemove>(tuple<bint> &aTuple)
4375+{
4376+ theWaitFor = theClient->breakpoint_remove(get<0>(aTuple).second);
4377+}
4378+
4379+template<>
4380+void
4381+CommandLineHandler::handle<BreakpointList>(tuple<> &aTuple)
4382+{
4383+ theWaitFor = theClient->breakpoint_list();
4384+}
4385+
4386+template<>
4387+void
4388+CommandLineHandler::handle<StackDepth>(tuple<> &aTuple)
4389+{
4390+ theWaitFor = theClient->stack_depth();
4391+}
4392+
4393+template<>
4394+void
4395+CommandLineHandler::handle<StackGet>(tuple<bint> &aTuple)
4396+{
4397+ if (get<0>(aTuple).first) {
4398+ theWaitFor = theClient->stack_get(get<0>(aTuple).second);
4399+ } else {
4400+ theWaitFor = theClient->stack_get();
4401+ }
4402+}
4403+
4404+template<>
4405+void
4406+CommandLineHandler::handle<ContextNames>(tuple<>& aTuple)
4407+{
4408+ theWaitFor = theClient->context_names();
4409+}
4410+
4411+template<>
4412+void CommandLineHandler::handle<ContextGet>(tuple<bint, bint> &aTuple)
4413+{
4414+ int lDepth = -1;
4415+ int lContext = -1;
4416+
4417+ if (get<0>(aTuple).first) {
4418+ lDepth = get<0>(aTuple).second;
4419+ }
4420+ if (get<1>(aTuple).first) {
4421+ lContext = get<1>(aTuple).second;
4422+ }
4423+ theWaitFor = theClient->context_get(lDepth, lContext);
4424+}
4425+
4426+template<>
4427+void CommandLineHandler::handle<Source>(tuple<bint, bint, bstring> &aTuple)
4428+{
4429+ theWaitFor = theClient->source(
4430+ get<2>(aTuple).second,
4431+ get<0>(aTuple).second,
4432+ get<1>(aTuple).second);
4433+}
4434+
4435+template<>
4436+void CommandLineHandler::handle<Eval>(tuple<bstring>& aTuple)
4437+{
4438+ theWaitFor = theClient->eval(get<0>(aTuple).second);
4439+}
4440+
4441+template<>
4442+void
4443+CommandLineHandler::handle<StepIn>(ZORBA_TR1_NS::tuple<> &t)
4444+{
4445+ theTerminated = false;
4446+ theWaitFor = theClient->step_into();
4447+}
4448+
4449+template<>
4450+void
4451+CommandLineHandler::handle<StepOut>(ZORBA_TR1_NS::tuple<> &t)
4452+{
4453+ theWaitFor = theClient->step_out();
4454+}
4455+
4456+template<>
4457+void
4458+CommandLineHandler::handle<StepOver>(ZORBA_TR1_NS::tuple<> &t)
4459+{
4460+ theTerminated = false;
4461+ theWaitFor = theClient->step_over();
4462+}
4463+
4464+void
4465+CommandLineHandler::addCommands()
4466+{
4467+ typedef tuple<> TUPLE;
4468+ typedef tuple<bint> TUPLE_INT;
4469+ typedef tuple<bstring> TUPLE_STR;
4470+ typedef tuple<bint, bint> TUPLE_INT_INT;
4471+ typedef tuple<bstring, bstring, bint> TUPLE_STR_STR_INT;
4472+ typedef tuple<bint, bint, bstring> TUPLE_INT_INT_STR;
4473+
4474+ // DBGP: status
4475+ *theCommandLine << createCommand<Status>(TUPLE(), "status", *this, "Gets the status of the server");
4476+
4477+ // ALIAS: variables (context_get -c -1)
4478+ {
4479+ std::set<std::string> lAliases;
4480+ lAliases.insert("vars");
4481+ *theCommandLine << createCommand<Variables>(TUPLE(), "variables", lAliases, *this, "Gets the variables visible in the current scope");
4482+ }
4483+
4484+ // META: quit
4485+ *theCommandLine << createCommand<Quit>(TUPLE(), "quit", *this, "Stops debugging and quits the client");
4486+
4487+ // DBGP: run
4488+ *theCommandLine << createCommand<Run>(TUPLE(), "run", *this, "Run the query");
4489+
4490+ // DBGP: stop
4491+ *theCommandLine << createCommand<Stop>(TUPLE(), "stop", *this, "Stop the query");
4492+
4493+ // DBGP: breakpoint_set
4494+ {
4495+ std::set<std::string> lAliases;
4496+ lAliases.insert("break");
4497+ Command<CommandLineHandler, TUPLE_STR_STR_INT, BreakpointSet>* lCommand =
4498+ createCommand<BreakpointSet>(TUPLE_STR_STR_INT(), "bset", lAliases, *this, "Set a breakpoint");
4499+
4500+ lCommand->addArgument(0, "s", createArgType<TUPLE_STR_STR_INT, std::string, 0>(TUPLE_STR_STR_INT()), "breakpoint state (optional, 'enabled' or 'disabled', default: enabled)", false);
4501+ lCommand->addArgument(1, "f", createArgType<TUPLE_STR_STR_INT, std::string, 1>(TUPLE_STR_STR_INT()), "name of the file where to stop", true);
4502+ lCommand->addArgument(2, "l", createArgType<TUPLE_STR_STR_INT, int, 2>(TUPLE_STR_STR_INT()), "line number", true);
4503+
4504+ *theCommandLine << lCommand;
4505+ }
4506+
4507+ // DBGP: breakpoint_get
4508+ {
4509+ Command<CommandLineHandler, TUPLE_INT, BreakpointGet>* lCommand =
4510+ createCommand<BreakpointGet>(TUPLE_INT(), "bget", *this, "Get information about a given breakpoint");
4511+
4512+ lCommand->addArgument(0, "d", createArgType<TUPLE_INT, int, 0>(TUPLE_INT()), "breakpoint ID", true);
4513+
4514+ *theCommandLine << lCommand;
4515+ }
4516+
4517+ // DBGP: breakpoint_remove
4518+ {
4519+ std::set<std::string> lAliases;
4520+ lAliases.insert("clear");
4521+ lAliases.insert("delete");
4522+ Command<CommandLineHandler, TUPLE_INT, BreakpointRemove>* lCommand =
4523+ createCommand<BreakpointRemove>(TUPLE_INT(), "bremove", lAliases, *this, "Delete a breakpoint");
4524+
4525+ lCommand->addArgument(0, "d", createArgType<TUPLE_INT, int, 0>(TUPLE_INT()), "breakpoint ID", true);
4526+
4527+ *theCommandLine << lCommand;
4528+ }
4529+
4530+ // DBGP: breakpoint_list
4531+ *theCommandLine << createCommand<BreakpointList>(TUPLE(), "blist", *this, "List all set breakpoints");
4532+
4533+ // DBGP: stack_depth
4534+ *theCommandLine << createCommand<StackDepth>(TUPLE(), "sdepth", *this, "Get the depth of the stack");
4535+
4536+ // DBGP: stack_get
4537+ {
4538+ Command<CommandLineHandler, TUPLE_INT, StackGet>* lCommand =
4539+ createCommand<StackGet>(TUPLE_INT(), "sget", *this, "Get information about one or all stack frames");
4540+
4541+ lCommand->addArgument(0, "d", createArgType<TUPLE_INT, int, 0>(TUPLE_INT()), "stack frame to show: 0 for current stack frame, N for the main module (optional, all frames are shown if not provided)", false);
4542+
4543+ *theCommandLine << lCommand;
4544+ }
4545+
4546+ // DBGP: context_names
4547+ *theCommandLine << createCommand<ContextNames>(tuple<>(), "cnames", *this, "Get the names of the avilable contexts");
4548+ // the DBGP -d arguments for this command is omitted since we always have/return: 0 - Local, 1 - Global
4549+
4550+ // DBGP: context_get
4551+ {
4552+ Command<CommandLineHandler, TUPLE_INT_INT, ContextGet>* lCommand =
4553+ createCommand<ContextGet>(TUPLE_INT_INT(), "cget", *this, "Get a context (list variables in this context)");
4554+
4555+ lCommand->addArgument(0, "d", createArgType<TUPLE_INT_INT, int, 0>(TUPLE_INT_INT()), "stack depth (optional, default: 0)", false);
4556+ lCommand->addArgument(0, "c", createArgType<TUPLE_INT_INT, int, 1>(TUPLE_INT_INT()), "context ID: 0 for Local, 1 for Global (optional, default: 0)", false);
4557+
4558+ *theCommandLine << lCommand;
4559+ }
4560+
4561+ // DBGP: source
4562+ {
4563+ std::set<std::string> lAliases;
4564+ lAliases.insert("list");
4565+ Command<CommandLineHandler, TUPLE_INT_INT_STR, Source>* lCommand =
4566+ createCommand<Source>(TUPLE_INT_INT_STR(), "source", lAliases, *this, "List source code");
4567+
4568+ lCommand->addArgument(0, "b", createArgType<TUPLE_INT_INT_STR, int, 0>(TUPLE_INT_INT_STR()), "begin line (optional, default: first line)", false);
4569+ lCommand->addArgument(1, "e", createArgType<TUPLE_INT_INT_STR, int, 1>(TUPLE_INT_INT_STR()), "end line (optional, default: last line)", false);
4570+ lCommand->addArgument(2, "f", createArgType<TUPLE_INT_INT_STR, std::string, 2>(TUPLE_INT_INT_STR()), "file URI (optional, default: the file in the top-most stack frame during execution, main module otherwise)", false);
4571+
4572+ *theCommandLine << lCommand;
4573+ }
4574+
4575+ // DBGP: eval
4576+ {
4577+ std::set<std::string> lAliases;
4578+ lAliases.insert("print");
4579+ Command<CommandLineHandler, TUPLE_STR, Eval>* lCommand =
4580+ createCommand<Eval>(TUPLE_STR(), "eval", lAliases, *this, "Evaluate an expression");
4581+
4582+ // TODO: this argument should not be here at all. Eval has the form: eval -i transaction_id -- {DATA}
4583+ // Eval should be called with a command like: eval 1 + 3
4584+ // - no need for an argument name
4585+ // - everything following the fist contiguous set of whitespaces are sent as string
4586+ lCommand->addArgument(0, "c", createArgType<TUPLE_STR, std::string, 0>(TUPLE_STR()), "expression to evaluate", true);
4587+
4588+ *theCommandLine << lCommand;
4589+ }
4590+
4591+ // DBGP: step_in
4592+ {
4593+ std::set<std::string> lAliases;
4594+ lAliases.insert("step");
4595+ lAliases.insert("s");
4596+ *theCommandLine << createCommand<StepIn>(TUPLE(), "in", lAliases, *this, "Step in");
4597+ }
4598+
4599+ // DBGP: step_out
4600+ {
4601+ std::set<std::string> lAliases;
4602+ lAliases.insert("finish");
4603+ *theCommandLine << createCommand<StepOut>(TUPLE(), "out", lAliases, *this, "Step out");
4604+ }
4605+
4606+ // DBGP: step_over
4607+ {
4608+ std::set<std::string> lAliases;
4609+ lAliases.insert("next");
4610+ lAliases.insert("n");
4611+ *theCommandLine << createCommand<StepOver>(TUPLE(), "over", lAliases, *this, "Step over");
4612+ }
4613+}
4614+
4615+} // namespace zorba
4616+} // namespace debugger
4617
4618=== modified file 'bin/debugger/command_line_handler.h'
4619--- bin/debug_client/command_line_handler.h 2011-07-01 01:53:24 +0000
4620+++ bin/debugger/command_line_handler.h 2012-10-24 01:05:28 +0000
4621@@ -14,46 +14,71 @@
4622 * limitations under the License.
4623 */
4624 #pragma once
4625+#ifndef ZORBA_DEBUGGER_COMMAND_LINE_HANDLER_H
4626+#define ZORBA_DEBUGGER_COMMAND_LINE_HANDLER_H
4627
4628 #include <set>
4629 #include <cassert>
4630+
4631 #include <zorba/debugger_client.h>
4632-#include "debug_command.h"
4633+
4634+#include "command.h"
4635 #include "event_handler.h"
4636
4637-namespace zorba { namespace debugclient {
4638-
4639+
4640+namespace zorba { namespace debugger {
4641+
4642+ class CommandPrompt;
4643+
4644 enum Commands {
4645 Status,
4646+ Variables,
4647+ Quit,
4648 Run,
4649+ Stop,
4650 BreakpointSet,
4651 BreakpointGet,
4652- BreakpointDel,
4653+ BreakpointRemove,
4654 BreakpointList,
4655 StackDepth,
4656 StackGet,
4657 ContextNames,
4658 ContextGet,
4659+ Source,
4660 Eval,
4661- Quit
4662+ StepIn,
4663+ StepOut,
4664+ StepOver
4665 };
4666
4667- class CommandLineHandler {
4668+class CommandLineHandler
4669+{
4670 private:
4671+
4672 typedef std::pair<bool, std::string> bstring;
4673 typedef std::pair<bool, int> bint;
4674+
4675 public:
4676- CommandLineHandler(unsigned short port,
4677- LockFreeConsumer<std::size_t>& aConsumer,
4678- LockFreeConsumer<bool>& aContinueQueue,
4679- EventHandler& aHandler,
4680- CommandLine& aCommandLine);
4681+
4682+ CommandLineHandler(
4683+ unsigned short port,
4684+ LockFreeConsumer<std::size_t>& aConsumer,
4685+ LockFreeConsumer<bool>& aContinueQueue,
4686+ EventHandler* aHandler,
4687+ CommandPrompt* aCommandPrompt);
4688+
4689 ~CommandLineHandler();
4690+
4691 public:
4692 void execute();
4693+
4694 public: // Handlers
4695+
4696 template<int>
4697- void handle(ZORBA_TR1_NS::tuple<>& aTuple) { assert(false); }
4698+ void handle(ZORBA_TR1_NS::tuple<>& aTuple)
4699+ {
4700+ assert(false);
4701+ }
4702
4703 template<int>
4704 void handle(ZORBA_TR1_NS::tuple<bstring, bstring, bint>& t)
4705@@ -62,63 +87,96 @@
4706 }
4707
4708 template<int>
4709+ void handle(ZORBA_TR1_NS::tuple<bint, bint, bstring>& t)
4710+ {
4711+ assert(false);
4712+ }
4713+
4714+ template<int>
4715 void handle(ZORBA_TR1_NS::tuple<bint>& aTuple)
4716 {
4717 assert(false);
4718 }
4719
4720 template<int>
4721+ void handle(ZORBA_TR1_NS::tuple<bint, bint>& aTuple)
4722+ {
4723+ assert(false);
4724+ }
4725+
4726+ template<int>
4727 void handle(ZORBA_TR1_NS::tuple<bstring>& aTuple)
4728 {
4729 assert(false);
4730 }
4731+
4732 private:
4733- LockFreeConsumer<std::size_t>& theConsumer;
4734- LockFreeConsumer<bool>& theContinueQueue;
4735- DebuggerClient* theClient;
4736- CommandLine& theCommandLine;
4737- bool theQuit;
4738- bool theContinue;
4739- std::size_t theWaitFor;
4740+ LockFreeConsumer<std::size_t>& theConsumer;
4741+ LockFreeConsumer<bool>& theContinueQueue;
4742+ DebuggerClient* theClient;
4743+ CommandPrompt* theCommandLine;
4744+ bool theQuit;
4745+ bool theTerminated;
4746+ bool theContinue;
4747+ std::size_t theWaitFor;
4748+
4749 private:
4750 void getNextId(std::set<std::size_t>& aIdList);
4751 void addCommands();
4752- };
4753-
4754- template<>
4755- void CommandLineHandler::handle<Status> (ZORBA_TR1_NS::tuple<>& t);
4756-
4757- template<>
4758- void CommandLineHandler::handle<Quit> (ZORBA_TR1_NS::tuple<>& t);
4759-
4760- template<>
4761- void CommandLineHandler::handle<Run> (ZORBA_TR1_NS::tuple<> &t);
4762-
4763- template<>
4764- void CommandLineHandler::handle<StackDepth> (ZORBA_TR1_NS::tuple<>& t);
4765-
4766- template<>
4767- void CommandLineHandler::handle<BreakpointList> (ZORBA_TR1_NS::tuple<>& aTuple);
4768-
4769- template<>
4770- void CommandLineHandler::handle<BreakpointSet> (ZORBA_TR1_NS::tuple<bstring, bstring, bint> &t);
4771-
4772- template<>
4773- void CommandLineHandler::handle<BreakpointGet> (ZORBA_TR1_NS::tuple<bint>& aTuple);
4774-
4775- template<>
4776- void CommandLineHandler::handle<BreakpointDel>(ZORBA_TR1_NS::tuple<bint> &aTuple);
4777-
4778- template<>
4779- void CommandLineHandler::handle<StackGet> (ZORBA_TR1_NS::tuple<bint>& aTuple);
4780-
4781- template<>
4782- void CommandLineHandler::handle<ContextNames>(ZORBA_TR1_NS::tuple<> &aTuple);
4783-
4784- template<>
4785- void CommandLineHandler::handle<ContextGet>(ZORBA_TR1_NS::tuple<bint> &aTuple);
4786-
4787- template<>
4788- void CommandLineHandler::handle<Eval>(ZORBA_TR1_NS::tuple<bstring>& aTuple);
4789-
4790-}} // close namespaces zorba::debugclient
4791+};
4792+
4793+template<>
4794+void CommandLineHandler::handle<Status> (ZORBA_TR1_NS::tuple<>& t);
4795+
4796+template<>
4797+void CommandLineHandler::handle<Quit> (ZORBA_TR1_NS::tuple<>& t);
4798+
4799+template<>
4800+void CommandLineHandler::handle<Run> (ZORBA_TR1_NS::tuple<> &t);
4801+
4802+template<>
4803+void CommandLineHandler::handle<Stop> (ZORBA_TR1_NS::tuple<> &t);
4804+
4805+template<>
4806+void CommandLineHandler::handle<StackDepth> (ZORBA_TR1_NS::tuple<>& t);
4807+
4808+template<>
4809+void CommandLineHandler::handle<BreakpointList> (ZORBA_TR1_NS::tuple<>& aTuple);
4810+
4811+template<>
4812+void CommandLineHandler::handle<BreakpointSet> (ZORBA_TR1_NS::tuple<bstring, bstring, bint> &t);
4813+
4814+template<>
4815+void CommandLineHandler::handle<BreakpointGet> (ZORBA_TR1_NS::tuple<bint>& aTuple);
4816+
4817+template<>
4818+void CommandLineHandler::handle<BreakpointRemove>(ZORBA_TR1_NS::tuple<bint> &aTuple);
4819+
4820+template<>
4821+void CommandLineHandler::handle<StackGet> (ZORBA_TR1_NS::tuple<bint>& aTuple);
4822+
4823+template<>
4824+void CommandLineHandler::handle<ContextNames>(ZORBA_TR1_NS::tuple<> &aTuple);
4825+
4826+template<>
4827+void CommandLineHandler::handle<ContextGet>(ZORBA_TR1_NS::tuple<bint, bint> &aTuple);
4828+
4829+template<>
4830+void CommandLineHandler::handle<Source>(ZORBA_TR1_NS::tuple<bint, bint, bstring> &aTuple);
4831+
4832+template<>
4833+void CommandLineHandler::handle<Eval>(ZORBA_TR1_NS::tuple<bstring>& aTuple);
4834+
4835+template<>
4836+void CommandLineHandler::handle<StepIn> (ZORBA_TR1_NS::tuple<> &t);
4837+
4838+template<>
4839+void CommandLineHandler::handle<StepOut> (ZORBA_TR1_NS::tuple<> &t);
4840+
4841+template<>
4842+void CommandLineHandler::handle<StepOver> (ZORBA_TR1_NS::tuple<> &t);
4843+
4844+} // namespace zorba
4845+} // namespace debugger
4846+
4847+#endif // ZORBA_DEBUGGER_COMMAND_LINE_HANDLER_H
4848
4849=== added file 'bin/debugger/command_prompt.cpp'
4850--- bin/debugger/command_prompt.cpp 1970-01-01 00:00:00 +0000
4851+++ bin/debugger/command_prompt.cpp 2012-10-24 01:05:28 +0000
4852@@ -0,0 +1,286 @@
4853+/*
4854+ * Copyright 2006-2008 The FLWOR Foundation.
4855+ *
4856+ * Licensed under the Apache License, Version 2.0 (the "License");
4857+ * you may not use this file except in compliance with the License.
4858+ * You may obtain a copy of the License at
4859+ *
4860+ * http://www.apache.org/licenses/LICENSE-2.0
4861+ *
4862+ * Unless required by applicable law or agreed to in writing, software
4863+ * distributed under the License is distributed on an "AS IS" BASIS,
4864+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4865+ * See the License for the specific language governing permissions and
4866+ * limitations under the License.
4867+ */
4868+#include "command_prompt.h"
4869+
4870+#include <string>
4871+#include <vector>
4872+#include <map>
4873+#include <iostream>
4874+
4875+#include "command.h"
4876+
4877+
4878+namespace zorba { namespace debugger {
4879+
4880+#ifdef ZORBA_HAVE_LIBEDIT_H
4881+const char*
4882+prompt(EditLine* aEl) {
4883+ return "(xqdb) ";
4884+}
4885+#endif
4886+
4887+CommandPrompt::CommandPrompt()
4888+{
4889+#ifdef ZORBA_HAVE_LIBEDIT_H
4890+ theEditLine = el_init("xqdb", stdin, stdout, stderr);
4891+ theHistory = history_init();
4892+ HistEvent lHistoryEvent;
4893+ history(theHistory, &lHistoryEvent, H_SETSIZE, 100);
4894+
4895+ el_set(theEditLine, EL_PROMPT, prompt);
4896+
4897+ el_set(theEditLine, EL_HIST, history, theHistory);
4898+ el_set(theEditLine, EL_EDITOR, "emacs");
4899+#endif
4900+}
4901+
4902+CommandPrompt::~CommandPrompt()
4903+{
4904+#ifdef ZORBA_HAVE_LIBEDIT_H
4905+ history_end(theHistory);
4906+ el_end(theEditLine);
4907+#endif
4908+
4909+ std::map<std::string, UntypedCommand*>::iterator lIter;
4910+ for (lIter = theCommands.begin(); lIter != theCommands.end(); ++lIter) {
4911+ delete lIter->second;
4912+ }
4913+}
4914+
4915+void
4916+CommandPrompt::printHelp(UntypedCommand* aCommand)
4917+{
4918+ // if no command is provided, print all the available commands
4919+ if (!aCommand) {
4920+ std::cout << "Available commands:" << std::endl;
4921+
4922+ // print the names of all commands
4923+ std::map<std::string, UntypedCommand*>::iterator lIter = theCommands.begin();
4924+ while (lIter != theCommands.end()) {
4925+ std::cout << " " << (*lIter).first;
4926+ std::set<std::string> lAliases = (*lIter).second->getAliases();
4927+ std::set<std::string>::const_iterator lAliasIter = lAliases.begin();
4928+ while (lAliasIter != lAliases.end()) {
4929+ std::cout << ", " << *lAliasIter;
4930+ lAliasIter++;
4931+ }
4932+ std::cout << std::endl;
4933+ lIter++;
4934+ }
4935+
4936+ // some hints for detailed help
4937+ std::cout << std::endl;
4938+ std::cout << "Type help <command> to get more information about one command." << std::endl;
4939+ std::cout << std::endl;
4940+ } else {
4941+ // ok, so we have a command; then print the help
4942+ aCommand->printHelp();
4943+ }
4944+}
4945+
4946+void
4947+CommandPrompt::execute()
4948+{
4949+ for (;;) {
4950+#ifdef ZORBA_HAVE_LIBEDIT_H
4951+ const char* lBuf;
4952+ int lCharsRead = -1;
4953+ lBuf = el_gets(theEditLine, &lCharsRead);
4954+ std::string lCommandLine(lBuf, lCharsRead - 1);
4955+#else
4956+ bool lWithOutput = true;
4957+ if (lWithOutput) {
4958+ std::cout << "(xqdb) ";
4959+ }
4960+ lWithOutput = true;
4961+ std::string lCommandLine;
4962+ std::getline(std::cin, lCommandLine);
4963+ if (std::cin.fail()) {
4964+ lWithOutput = false;
4965+ std::cin.clear();
4966+ continue;
4967+ }
4968+#endif
4969+
4970+ std::vector<std::string> lArgs;
4971+
4972+ // split the command into arguments
4973+ parseLine(lCommandLine, lArgs);
4974+ std::string::size_type lSize = lArgs.size();
4975+
4976+ // empty command? do nothing!
4977+ if (lSize == 0) {
4978+ lArgs = theLastArgs;
4979+ if (lArgs.size() == 0) {
4980+ continue;
4981+ }
4982+ }
4983+#ifdef ZORBA_HAVE_LIBEDIT_H
4984+ else {
4985+ HistEvent lHistoryEvent;
4986+ history(theHistory, &lHistoryEvent, H_ENTER, lCommandLine.c_str());
4987+ }
4988+#endif
4989+ theLastArgs = lArgs;
4990+
4991+ UntypedCommand* lCommand = NULL;
4992+
4993+ // help is not a command but a hook here
4994+ if (lArgs.at(0) == "h" || lArgs.at(0) == "help") {
4995+ std::string lCmd = "";
4996+
4997+ // if the user needs the help for a specific command
4998+ if (lSize > 1) {
4999+ // do nothing if we don't have a command starting with this prefix?
5000+ // findCommand will print the appropriate errors
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: