Merge lp:~zorba-coders/zorba/fread-pdf-trunk into lp:~zorba-coders/zorba/zorba-experimental

Proposed by Cezar Andrei on 2012-09-19
Status: Superseded
Proposed branch: lp:~zorba-coders/zorba/fread-pdf-trunk
Merge into: lp:~zorba-coders/zorba/zorba-experimental
Diff against target: 690355 lines (+407789/-139712)
5159 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 (+412/-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/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 (+31/-17)
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 (+16/-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 (+798/-285)
src/api/serialization/serializer.h (+178/-43)
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 (+437/-142)
src/api/staticcontextimpl.h (+101/-60)
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/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 (+639/-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 (+406/-629)
src/compiler/expression/expr.h (+514/-513)
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 (+970/-0)
src/compiler/expression/expr_manager.h (+547/-0)
src/compiler/expression/expr_put.cpp (+213/-108)
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 (+143/-60)
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 (+11096/-10006)
src/compiler/parser/xquery_parser.hpp (+325/-325)
src/compiler/parser/xquery_parser.y (+657/-475)
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 (+171/-56)
src/compiler/parsetree/parsenode_visitor.h (+19/-2)
src/compiler/parsetree/parsenodes.cpp (+573/-223)
src/compiler/parsetree/parsenodes.h (+489/-256)
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 (+27/-14)
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 (+969/-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 (+78/-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 (+3466/-1928)
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 (+95/-46)
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 (+1143/-535)
src/context/static_context.h (+305/-176)
src/context/static_context_consts.cpp (+1/-0)
src/context/static_context_consts.h (+4/-3)
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 (+14/-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 (+188/-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_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 (+53/-33)
src/runtime/core/arithmetic_impl.cpp (+94/-79)
src/runtime/core/arithmetic_impl.h (+18/-15)
src/runtime/core/constructors.cpp (+174/-177)
src/runtime/core/constructors.h (+32/-44)
src/runtime/core/flwor_iterator.cpp (+78/-99)
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 (+51/-101)
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 (+462/-284)
src/runtime/core/sequencetypes.h (+64/-72)
src/runtime/core/trycatch.cpp (+364/-79)
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 (+12/-5)
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 (+1494/-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 (+798/-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 (+650/-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 (+48/-30)
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 (+848/-354)
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 (+42/-0)
src/unit_tests/unit_test_list.h (+36/-15)
src/unit_tests/unit_tests.cpp (+63/-33)
src/util/CMakeLists.txt (+18/-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.cpp (+103/-0)
src/util/uuid.h (+257/-0)
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/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/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/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/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/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/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/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/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 (+87/-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/simple_parser.xqlib (+2207/-0)
test/rbkt/Queries/zorba/no-copy/test1.xq (+17/-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/fread-pdf-trunk
Reviewer Review Type Date Requested Status
Cezar Andrei Approve on 2012-09-19
Review via email: mp+125356@code.launchpad.net

Commit message

Testing doc for new read-pdf module.

Description of the change

Testing doc.

To post a comment you must log in.
Zorba Build Bot (zorba-buildbot) wrote :

There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions.

review: Approve
Zorba Build Bot (zorba-buildbot) wrote :

There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions.

Zorba Build Bot (zorba-buildbot) wrote :

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

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

Zorba Build Bot (zorba-buildbot) wrote :

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

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

Zorba Build Bot (zorba-buildbot) wrote :

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

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

Zorba Build Bot (zorba-buildbot) wrote :

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

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

10955. By Cezar Andrei <email address hidden> on 2012-09-26

Merge from trunk, resolved ChangeLog conflict.

10956. By Cezar Andrei <email address hidden> on 2012-09-27

Merge from trunk.
Resolved changeLog conflict.

10957. By Cezar Andrei <email address hidden> on 2012-09-27

Merge from trunk. Resolved conflict in ExternalModules.conf.

10958. By Cezar Andrei <email address hidden> on 2012-09-27

Add tag to read-pdf module.

10959. By Cezar Andrei <email address hidden> on 2012-10-02

Merge from trunk, resolve Changelog conflict.

Unmerged revisions

10959. By Cezar Andrei <email address hidden> on 2012-10-02

Merge from trunk, resolve Changelog conflict.

10958. By Cezar Andrei <email address hidden> on 2012-09-27

Add tag to read-pdf module.

10957. By Cezar Andrei <email address hidden> on 2012-09-27

Merge from trunk. Resolved conflict in ExternalModules.conf.

10956. By Cezar Andrei <email address hidden> on 2012-09-27

Merge from trunk.
Resolved changeLog conflict.

10955. By Cezar Andrei <email address hidden> on 2012-09-26

Merge from trunk, resolved ChangeLog conflict.

10954. By Cezar Andrei <email address hidden> on 2012-09-21

Depend on the latest version of util-jvm module.

10953. By Cezar Andrei <email address hidden> on 2012-09-20

Merge from trunk, resolved ChangeLog conflict.

10952. By Cezar Andrei <email address hidden> on 2012-09-19

Mention new module to the Changelog.

10951. By Cezar Andrei <email address hidden> on 2012-09-19

Move to zorba-tests.28msec.us in the test for cmake DECLARE_ZORBA_MODULE.

10950. By Cezar Andrei <email address hidden> on 2012-09-19

Add read-pdf module to the list of external modules.

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-09-27 16:54: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-09-27 16:54: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-09-27 16:54: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-09-27 16:54: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-09-27 16:54: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-09-27 16:54: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-09-27 16:54: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 "6")
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-09-27 16:54: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-09-27 16:54:28 +0000
726@@ -1,27 +1,418 @@
727 Zorba - The XQuery Processor
728
729+version 2.7
730+
731+New Features:
732+ * New XQuery 3.0 simple map operator http://www.w3.org/TR/xquery-30/#id-map-operator
733+ * New node copy function added to the node module
734+ * Allow prolog variables to be referenced before they are declared (XQuery 3.0 feature)
735+ * xml:parse (fragment parsing) now allows for a DOCTYPE declaration at the
736+ beginning of the XML document (requested in bug #1016606).
737+ * New module http://jsoniq.org/modules/function-library with handy JSONiq
738+ functions. jn:object is also supported.
739+ * jn:parse-json can parse multiple top-level JSON items. Also, there is jn:parse-json#2 that
740+ takes options to parameterize the parsing process (see bug #1047547)
741+ * Roundtripping of JSON items has been moved from the serializer to encoding functions.
742+ * Best-effort serialization of atomic values in JSON items.
743+ * Implemented semantics of null for comparison and arithmetics operations.
744+ * Positional pagination support for index probes
745+ * Recognize the no-copy pragma to avoid 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
749+ certain components
750+ * Adding new external module read-pdf, it converts PDF documents to text or rendered images.
751+
752+Optimizations:
753+ * New memory management for compiler expressions (no more ref counting)
754+ * Exteneded some optimization rules (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+
765+Bug Fixes/Other Changes:
766+ * Fixed bug #950621 (Removed two-arg version of fn:parse-xml(); use XML module function xml:parse() instead)
767+ * Fixed bug #867227 (Improved error message for missing commas)
768+ * Fixed bug #1024033 and #1023170 (segfaults in parse-xml:parse())
769+ * Fixed bug #898792 (Dynamically computed strings can now be cast to xs:QName)
770+ * Fixed bug #1034990 (text serialization with jsoniq fails)
771+ * Fixed bugs #899364 and 899363 (throw XQST0103 in case of non-distinct window
772+ variables)
773+ * Fixed bug #923686 (implicitly declare global context size and context position
774+ variables in main module and provide api function to assign values to these
775+ variables)
776+ * Fixed bug #899366 (enforce the type declaration of a window variable)
777+ * Now using native UUID libraries.
778+ * Fixed bug in implementation of xqdoc functions
779+ * Fixed bug #1034942 (improper variable inlining inside general flwor expr)
780+ * Fixed bug #1024892 (index declaration references udf declared after the index)
781+ * Fixed bug #1038410 (Memory leaks in parser, trace iterator, and general index)
782+ * Fixed bug #1046411 (automatic boxing of mutli-item sequence appearing as the
783+ value of an object pair)
784+ * Fixed bug #1046410 (automatic conversion to null of empty sequence appearing
785+ as the value of an object pair)
786+ * Fixed bug #1039488 (inserting more than one pair at once in a JSON object)
787+ * Fixed bug #1042840 (qname pool free-list corruption)
788+ * Fixed bug #866984 (better error message for an eval error)
789+ * Fixed bug #932374 (FOTS fn:matches failing tests)
790+ * Fixed bug #1047538 (jsoniq: SourceFinder::findLocalNodeSources missing
791+ json expressions)
792+ * Fixed #1052383 (accessing context item in eval expr)
793+ * Fixed bug #1046559 (dynamic resolution between function invocation and jsoniq
794+ navigation)
795+ * Fixed bug #932884 (HTML and XHTML serialization of empty elements)
796+ * Fixed bug #1046415 (pair name cast to string)
797+ * Fixed bug #1045902 (file:last-modified returns current date time)
798+ * Fixed bug #1043976 (compiler warning in serialiser code)
799+ * Fixed bug #866994 (a better error message when collection iterator not open)
800+ * Fixed bug #1039254 (allow empty sequence as position value in positional LET
801+ var iterator)
802+
803+
804+version 2.6
805+
806+New Features:
807+ * Include first-class support for JSON data by implementing the JSONiq spec
808+ - see http://jsoniq.org/ for more information. This feature is enabled by default.
809+ * Implemented the new EQName syntax (use Q{namespace}local instead of "namespace":local)
810+ * New function Item::isSeekable for streamable content (xs:string and xs:base64Binary)
811+ * Implemented the latest W3C specification for the group by clause (backwards incompatible)
812+ * New ft:tokenize-nodes() function to full-text module
813+ * New XQuery 3.0 function fn:parse-xml-fragment#1
814+ * New ItemFactory function that allows creating dateTime items without timezone
815+ * Added support for transient maps to the
816+ http://www.zorba-xquery.com/modules/store/data-structures/unordered-map module.
817+ * Added support for fragments to fn:path
818+ * Positional pagination support for collections
819+ * http://www.zorba-xquery.com/modules/archive module for creating,
820+ reading, and updating various (compressed) archives (e.g. zip, tar.gz,
821+ or tar.bz2)
822+ * Incremental maintenance for general indexes
823+ * New function in the http://www.zorba-xquery.com/modules/store/static/indexes/dml
824+ module which returns the value of all keys contained in an index
825+
826+Optimizations:
827+ * Optimization of comparison operations
828+ * Tighter hoisting of expressions (also fixes bug #967428)
829+ * Optimized hash sets used by fn:distinct-values and nodes-distinct
830+ * Optimized hash function used for nodes (also fixes bug #1010051)
831+ * Rewrite of plan serializer internals, resulting in big performance improvement
832+ * Avoid treat expr for checking that the value of a non-external
833+ global variable conforms to the type declaration of the variable
834+ * Streaming execution for tumbling windows (also fixes bug #1010051)
835+
836+Bug Fixes/Other Changes:
837+ * Fixed bug #1025622 (Incorrect JSON serialization of supplementary plane code points)
838+ * Fixed bug #1016606 (DOCTYPE in the input of the parse-fragment function)
839+ * Fixed bug #1002993 (bug during revalidation after update; improper condition
840+ for calling TypeOps::get_atomic_type_code() from
841+ SchemaValidatorImpl::isPossibleSimpleContentRevalImpl())
842+ * Fixed bug #867357 (Improved parser error messages)
843+ * Fixed bug #1026379 ("q" flag for fn:replace() is ignored)
844+ * Fixed bug #932314 (non-comparable values must be treated as distinct by
845+ fn:distinct-values)
846+ * Fixed bug #1015580 (Add base64_streambuf / replace inefficient base64 code)
847+ * Fixed bug #1022557 (subsequence function applied on window variable)
848+ * Fixed bug #9910884 (raise XUST0001 in trycatch with mixed updating and simple clauses)
849+ * Fixed bug #854506 (ugly type error messages) and partial fix for bug #867008
850+ * Fixed bug #1008082 (bug in transform expr when a copy var is not used anywhere)
851+ * Fixed bug #898066 (Stringstream & fn:trace)
852+ * Fixed numbering of items in fn:trace starts with one
853+ * Fixed bug #1003023$ (optimizer problems due to common subexpression after
854+ var folding into if-then-else)
855+ * Fixed bug #1006166 (disabling 2 functions with the same qname)
856+ * Fixed bug #960083 (improper error handling of NaN comparisons)
857+ * Fixed bug #878508 (JsonML serialization not escaping characters)
858+ * The XML plan serialization format is not supported anymore
859+
860+
861+version 2.5
862+
863+New Features:
864+ * New XQuery 3.0 functions
865+ - fn:available-environment-variables
866+ - fn:environment-variables
867+ - fn:uri-collection
868+ - fn:unparsed-text
869+ - fn:unparsed-text-available
870+ - fn:has-children#0
871+ - fn:nilled#0
872+ - fn:path
873+ * Added base64:decode#2 function which also does transcoding
874+ * Extended API for Python, Java, PHP and Ruby
875+ * Added JVM classpath to zorbacmd and to Zorba API
876+ * Added full-text module
877+ * Added support for NO_ICU (to not use ICU for unicode processing)
878+ * Added XQJ support
879+ * Added CollectionManager and DocumentManager support for XQJ
880+ * Added new API EntityKind SOME_CONTENT
881+ * Added new API StreamResource which is able to specify whether a
882+ stream is seekable or not.
883+ * Added new functions in the fetch module and the StaticContext to fetch
884+ resources as binary
885+ * Added non-core schema-tools module for getting sample XMLSchema from
886+ XML instances and sample XML instances from XMLSchema.
887+
888+Optimizations:
889+ * optimized insertion into a collection (don't copy it if the node was
890+ created by an element constructor and is not used anywhere else in the query)
891+ * Fixed performance problem with the findNodeSources function of the no-copy rule
892+
893+Bug Fixes/Other Changes:
894+ * Fixed bug #867170 (Variables declared in Prolog are Overwritten inside the query)
895+ * Fixed bug #1001463 (type not available during computation of function caching)
896+ * Fixed bug #1002867 (resulting base64 in http-client is wrong)
897+ * Fixed bugs #905028 (Allow to set base URI to undefined)
898+ * Fixed bugs #931501 and #866987 (improved error messages for fn:format-number()
899+ * fn:format-number raises FODF1310 instead of XTDE1310
900+ * Fixed bug 955170 (Catch clause with URILiteral-based wilcard NameTest)
901+ * Fixed bug #862971 (no error upon duplicate function declarations)
902+ * Fixed bug 955135 (err:XQDY0044 not caught by try-catch expressions)
903+ * Fixed bug #986075 (encountering flwor expr with no clauses)
904+ * Fixed bug #967864 (var substitution did not update theFreeVars property)
905+ * Fixed bug #891650 (context size var not always declared within path expr)
906+ * Fixed bug #948879 (--uri-path doesn't work with fetch:content())
907+ * Fixed bug in MarkNodeCopyProps rule (static cast to replace_expr without chaing the expr kind first)
908+ * Fixed bug in window iterator (binding the end vars in the output tuple stream)
909+ * Fixed bug #866547 (protect index-join rule from general flwor)
910+ * Fixed bug #867253 (cdml:delete-nodes should only remove root nodes)
911+ * Fixed bug #967428 (do not hoist index creation outside a try-catch)
912+ * Fixed bug #872234 (prevent a rewritting to take place in case of sequential expr)
913+ * Fixed bug #966706 (key uniqueness of index not enforced during incremental refresh)
914+ * Fixed bug #906494 (default compile with D_FILE_OFFSET_BITS=64)
915+ * Fixed bug #988412 (date:current-dateTime daylight saving)
916+ * Fixed bug #912586, #912593 and #912722 (assertion failures with lax validation)
917+ * Fixed bug #986377 (do not apply any updates on collection if it is to be truncated)
918+ * Fixed bug #921458 (file:read-text-lines() blocking)
919+ * Fixed bug #981405 (do not hoist expr containing try-catch variables out of the associated try-catch expression)
920+ * Fixed bug #996084 (crash in Streamable*Item with file module)
921+ * Fixed bug #947627 (throw XQST0099 if more than one declarations of context item type in same module)
922+ * Fixed bug #980526 (no-copy rule bug due to global var being set in "distant" udf)
923+ * Fixed bug #949910 (has-children may be invoked on all nodes)
924+ * Fixed Bug #933490 (Error ItemFactoryImpl::createBase64Binary with istream)
925+ * Fixed bug #867112 (Diagnostic Handler was not working on external APIs)
926+ * Fixed bug #857842 (Assertion failed with simple content element with comments)
927+ * Fixed bug #928626 (no setting classpath in xsl-fo module)
928+
929+version 2.2
930+
931+New Features:
932+ * Add --compile-plan (-c) and --execute-plan (-e) options to zorba command line.
933+ * Add XQuery 3.0 concat operator (http://www.w3.org/TR/xquery-30/#id-string-concat-expr)
934+ * New URI module providing percent-decoding functions.
935+ * 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.
936+ * LibXml2 version 2.7.0 or higher is now required in order to build Zorba.
937+ * Added index management function to the C++ api's StaticCollectionManager.
938+ * Added createDayTimeDuration, createYearMonthDuration, createDocumentNode, createCommentNode, createPiNode to api's ItemFactory.
939+ * Fixed bug #905050 (setting and getting the context item type via the c++ api).
940+ * Added split function to the string module that allows for streamable tokenization but doesn't have regular expression
941+ * Add new XQuery interface for the PHP bindings.
942+ * Added two API methods StaticContext::getFunctions to introspect the functions of a static context
943+ * Added API method Item::getNamespaceBindings().
944+ * Added a transcoding streambuffer to the API which allows transcoding arbitrary encodings
945+ from and to UTF-8
946+ * file:read-text is able to handle arbitrary encodings (fixes bug #867159)
947+ * http:send-request is able to handle arbitrary encodings
948+ * Added API method StaticContext::getNamespaceBindings() (see bug #905035)
949+ * New version of the JSON converter module in the core of Zorba (no external dependencies anymore)
950+ * Added truncate function to the collection modules for efficient deletion of all nodes in a collection.
951+
952+
953+Optimization:
954+ * No-copy optimization: avoids copying nodes during node-constructor expressions.
955+ * Added external function annotations %ann:propagates-input-nodes and
956+ %ann:must-copy-input-nodes to be used by the no-copy optimization.
957+ * Caching of results for recursive functions with atomic parameter and return types.
958+ * Added %ann:cache and %ann:no-cache to enable or disable caching of results of functions with atomic parameter and return types.
959+ * Types-related optimizations for runtime operators (comparisons, FnBoolean, Or, And,
960+ Compare, instance-of, cast, castable, treat, promote).
961+ * More efficient implementation for base64Binary items
962+ * Preallocate and reuse temp sequence iterator for LetVarITerator
963+ and CtxVarIterator.
964+ * Enhanced push-down of positional predicate into LetVarITerator
965+ and CtxVarIterator.
966+ * Change the implementation of the free-vars annotation and got rid
967+ of the annotations map in expressions.
968+
969+Bug Fixes/Other Changes:
970+ * Fixed bug 923015 (clone() not implemented for full-text expressions)
971+ * Fixed bug 917923 (bug in copying outer var values into the eval dynamic context)
972+ * Fixed bug 867509 (Can not handle largest xs:unsignedLong values)
973+ * Fixed bug 924063 (sentence is incorrectly incremented when token characters end without sentence terminator)
974+ * Fixed bug 909126 (bug in cloning of var_expr)
975+ * Fixed bug 928631 (external builtin function were not executed in the module they
976+ were declared)
977+ * Fixed bug in destruction of exit_catcher_expr
978+ * Fixed bug #867024 (error messages)
979+ * Fixed bug #957580 (stream read failure in StringToCodepointsIteartor)
980+ * Fixed bug #911585 (management of variables during eval)
981+ * Fixed bug #866423 (fn:empty and fn:exists iterators must reset their input in
982+ case of early-out)
983+ * Fixed bug #955574 (http-client "hangs" if following a POST request)
984+ * Fixed bug #945241 (StaticCollectionManager::declaredIndexes() and temporary indexes)
985+ * Fixed bug #872288 (reset recursive flag during node rename)
986+ * Fixed bug #905041 (allow for the default element and function namespaces to be
987+ set multiple times via the c++ api).
988+ * Fixed bug #907872 (segfault when returning an input ItemSequence from an external function).
989+ * Fixed bug in codegen: do not create a materialize clause if one exists already
990+ support.
991+ * Fixed bug involving positional var and groupby
992+ * Fixed bug #867266 (do not hoist updating expressions)
993+ * Fixed bug #867022 (added location and params to some XPTY0004 errors)
994+ * zerr is not predeclared anymore to be http://www.zorba-xquery.com/errors
995+ * Fixed bug #917981 (disallow declaring same module twice).
996+ * Deprecated StaticContext:getNamespaceURIByPrefix()
997+ * Fixed bug #943788 (streamable string is not seekable)
998+ * Fixed bug #921624 (slow queries with bogus example.com schema URIs)
999+ * Fixed bug #918211 (xqueryx fulltext w3c conformance generation)
1000+ * Fixed bug #918157 (Add XQFTTS to validation queue)
1001+ * Fixed bug with unversioned modules with C++ external functions
1002+ * Fixed bug #912579 (validate-in-place on non-root elements)
1003+ * Fixed bug #891209 (validation with xsi:type returns untyped)
1004+ * Fixed bug #952829 (Nondeterministic annotation doesn't seem to be checked)
1005+ * Fixed bug #951772 (Comment node crashes serialization)
1006+ * Fixed bug #945241 (StaticCollectionManager::declaredIndexes() and temporary indexes)
1007+
1008+
1009+version 2.1
1010+
1011+New Features:
1012+ * New node-position module. This module allows to obtain a representation of a node position, which
1013+ can be used to assess structural relationships with other nodes.
1014+ * New node-reference module. References can be obtained for any node, and
1015+ different nodes cannot have the same identifier.
1016+ * Custom Full-text thesaurus using Zorba URI resolver mechanism.
1017+ * Modified C++ API to add isSequential, getExternalVariables, isBoundContextItem and
1018+ isBoundExternalVariable Functions
1019+ * Collection allows to retrieve information about the type
1020+ and the annotations of a static collection.
1021+ * Implemented the probe-index-range-value for general indexes
1022+ * Added ExternalFunctionParameter class to be registered in the DynamicContext
1023+ * New module for compiling and executing XQueries from XQuery (xqxq)
1024+ * External functions are allowed to be updating (i.e. return a pending update list)
1025+
1026+Optimization:
1027+ * Optimization for positioned sequence access (e.g. $x[$x[1]] where $x is a
1028+ sequence of integers)
1029+ * Optimization for count(collection()) expressions
1030+ * Optimization of the fn:substring function in the case when its $start and $length arguments
1031+ are integers
1032+
1033+Bug Fixes/Other Changes:
1034+ * Fixed bug #3403291 (build for Fedora 15)
1035+ * Fixed bug #3397293 (Incorrect XQueryX error message)
1036+ * Fixed bug #3398637 (Nested element constructors cause loss of namespace bindings)
1037+ * Fixed bug #3401592 (Undo of Create Collection doesn't work)
1038+ * Fixed bug #3404689 (assignment problem in flwor)
1039+ * Fix for bug #3404450 (testdriver_mt problem: caching and validation of docs)
1040+ * Fixed installation bug to not install the .so for test modules
1041+ * Fixed bug #3390410 (Adding a node to a collection causes out of bound in vector)
1042+ * Fixed bug #3406200 (node types were not being moved to new tree during node detach)
1043+ * Fixed bug #3406191 (Namespace bindings lost after update due to bug in node detach)
1044+ * Fixed bug #3290122 (ZDST0003 needs collection name)
1045+ * Fixed bug #3406272 (merging of adjacent text nodes must be done after all
1046+ updates have been applied).
1047+ * Don't raise warnings for unknown annotations.
1048+ * Fixed bug #3409344 (during detach, if the node being detached is the root of
1049+ its tree, it should be detached from the tree as well; otherwise memory
1050+ corruption will occur)
1051+ * Fixed bug # (Should not destroy the parent of a node that is being detached
1052+ before the detach is done).
1053+ * Added const qualifier to StaticContext::getAuditEvent()
1054+ * Fixed bug #3408181 (available-collection() returns undeclared collections)
1055+ * Fixed bug #859465 (Fatal error if a PUL contains two deactivate IC primitives)
1056+ * Fixed bug #859467 (Fatal error if a PUL contains two activate Foreign Key primitives)
1057+ * Fixed bug #859468 (Fatal error if a PUL contains two activate Simple IC primitives)
1058+ * Fixed bug #859522 (Fatal error if a PUL contains two delete document primitives)
1059+ * Fixed bug #859968 (Using put on an attribute produces an invalid XDM instance and may cause segmentation faults)
1060+ * Fixed bug #855314 (should not fold a constant expr that returns an error item)
1061+ * Fixed bug when parsing a document with a base-uri attribute.
1062+ * Fixed bug #863320 (Sentence is incorrectly incremented when token characters end without sentence terminator)
1063+ * Fixed bug #863730 (static delete-node* functions don't raise ZDDY0012)
1064+ * Implemented the probe-index-range-value for general indexes
1065+ * Removed ZSTR0005 and ZSTR0006 error codes
1066+ * Fixed bug #867662 ("nullptr" warning)
1067+ * Fixed bug #868258 (Assertion failure with two delete collection)
1068+ * Fixed bug #871623 and #871629 (assertion failures with insertions in dynamic collections)
1069+ * Fixed bug #867262 (allow reuse of iterator over ExtFuncArgItemSequence)
1070+ * Fixed bug #869024 (segmentation fault with node-reference)
1071+ * Fixed bug #869025 (segmentation fault with node-reference)
1072+ * New node-reference module. References can be obtained for any node, and
1073+ different nodes cannot have the same identifier.
1074+ * Fixed bug #872697 (segmentation fault with validation of NMTOKENS)
1075+ * General index cannot be declared as unique if the type of its key is
1076+ xs:anyAtomicType or xs:untypedAtomic.
1077+ * Added undo for node revalidation
1078+ * Optimization for count(collection()) expressions
1079+ * Fixed bug #872796 (validate-in-place can interfere with other update primitives)
1080+ * Fixed bug #872799 (validate-in-place can set incorrect types)
1081+ * Fixed bug #855715 (Invalid escaped characters in regex not caught)
1082+ * Fixed bug #868325 (fn:analyze-string fails with some recursive subgroups)
1083+ * Fixed bug #872697 (segmentation fault with validation of NMTOKENS)
1084+ * General index cannot be declared as unique if the type of its key is
1085+ xs:anyAtomicType or xs:untypedAtomic.
1086+ * Added undo for node revalidation
1087+ * Optimization for count(collection()) expressions
1088+ * Fixed bug #867133 (SWIG PHP build failure on Mac OSX)
1089+ * Fixed bug #872796 (validate-in-place can interfere with other update primitives)
1090+ * Fixed bug #872799 (validate-in-place can set incorrect types)
1091+ * Fixed bug #872850 (Serialization of Tumbling Window For fails)
1092+ * Fixed bug #855715 (Invalid escaped characters in regex not caught)
1093+ * Fixed bug #862089 (Split binary/xq install directories for modules) by
1094+ splitting "module path" into separate URI and Library paths
1095+ * New node-position module. This module allows to obtain a representation of a node position, which
1096+ can be used to assess structural relationships with other nodes.
1097+ * Fixed bug #872502 (validation of the JSON module xqdoc fails)
1098+ * Fixed bug #897619 (testdriver_mt can not run the XQueryX tests)
1099+ * Fixed bug #867107 (xqdoc dependency to zorba is wrong)
1100+ * Fixed bug #897616 (Fix the generation of the XQFTTS report results for
1101+ W3C)
1102+
1103+version 2.0.3
1104+ * Fixed bug #867662 ("nullptr" warning)
1105+ * documentation improvements
1106+
1107+version 2.0.2
1108+ * Fixed bug #3401971 (node-by-reference on dynamic collections)
1109+ * documentation improvements
1110+ * installer improvements
1111+ * Fixed bug #3403291 (build for Fedora 15)
1112+ * Don't install the .so for test modules
1113+ * Fix for running ctest on Windows
1114+
1115+version 2.0.1
1116+
1117+ * Custom Full-text stemming.
1118+ * Custom Full-text tokenization.
1119+ * Fixed scripting bug where apply statement was considered a sequential expr even if the source expr was non-updating and non-sequential.
1120+ * Fixed bug #3394400 (Element replacement, really unexpected result)
1121+ * Fixed bug #3394588 (Unexpected error during pul undo)
1122+ * Fixed bugs #3398511 and #3398552 with "make install"
1123+ * Fixed bug #3398521 for compiling with ZORBA_NO_XMLSCHEMA
1124+
1125 version 2.0
1126- * Removed the --install-path zorba command line argument. This functionality was duplicating
1127- the existing --module-path argument
1128- * zorba executable deletes the output file (if one is provided) in case the execution fails
1129- * changed the error codes returned by the zorba executable (using different codes for
1130- different locations where the execution might fail)
1131- * Removed the XQuery 1.1 "outer for" construct, and replaced it with "allowing empty"
1132- * Added the XQuery 1.1 functions and variables annotations. Removed the "deterministic"
1133- and "nondeterministic" keywords, which were replaced by the "%deterministic" and
1134- "%nondeterministic" annotations.
1135- * Changed the singature of ExternalModule::getExternalFunction. The const modified was removed
1136- to allow for lazy instantiation of the function objects. Also, the localname is passed as
1137- as a const reference.
1138- * renamed the fn:parse function (XQuery Functions and Operators 1.1) to fn:parse-xml
1139- (XQuery Functions and Operators 3.0)
1140- * added the fn:serialize function (XQuery Functions and Operators 3.0)
1141- * removed the serialize module (http://www.zorba-xquery.com/modules/serialize) since this
1142- functionality is now covered by the built-in function fn:serialize
1143- * 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
1144- * the XML Schema atomic types are now serialized including the "xs" prefix (used in sax2 serialization,
1145- debuger, etc.)
1146- * zorba uses now DBGP as the debugger protocol
1147+ * Zorba 2.0 is a major rewrite of previous versions. It doesn't claim to
1148+ preserve backwards compatibility with any 1.X version.
1149+ Host language API changes have been made to the following components:
1150+ - External functions API
1151+ - XmlDataManager
1152+ - Error reporting
1153+ - Debugger API
1154+ XQuery language and API changes have been made to the following components:
1155+ - XQuery Scripting Extension
1156+ - Function APIs
1157+ - XQuery Data Definition Facility
1158+ - XQuery modules and module versioning
1159+ - Changes to conform with the latest XQuery 3.0
1160+ - Namespaces of annotations, errors, collations.
1161+ * In addition to host language API and XQuery language improvements,
1162+ plenty of bug fixes and optimizations have been made.
1163
1164 version 1.4
1165 * added a datetime library module with nondeterministic functions
1166
1167=== modified file 'KNOWN_ISSUES.txt'
1168--- KNOWN_ISSUES.txt 2011-07-01 14:37:20 +0000
1169+++ KNOWN_ISSUES.txt 2012-09-27 16:54:28 +0000
1170@@ -1,41 +1,52 @@
1171- ----------------------------
1172- FLWOR Foundation - Zorba 2.0
1173- ----------------------------
1174+This is a list of issues that we are aware of but are not imlemeneted or fixed:
1175
1176-This is a list of issues that we are aware of but are not fixed in this version:
1177+Zorba Version 2.0
1178
1179 * Floating-point precision problems.
1180 For details, see the following bugs:
1181- - 2204089 <https://sourceforge.net/tracker2/?func=detail&aid=2204089&group_id=226244&atid=1067586>
1182- - 2205034 <https://sourceforge.net/tracker2/?func=detail&aid=2205034&group_id=226244&atid=1067586>
1183- - 2210851 <https://sourceforge.net/tracker2/?func=detail&aid=2210851&group_id=226244&atid=1067586>
1184+ - 2204089 <https://bugs.launchpad.net/zorba/+bug/sf-2204089>
1185+ - 2205034 <https://bugs.launchpad.net/zorba/+bug/sf-2205034>
1186+ - 2210851 <https://bugs.launchpad.net/zorba/+bug/sf-2210851>
1187
1188 * When using the (now default) xs:integer representation of a C++ "long long",
1189 the largest xs:unsignedLong values are not handled correctly.
1190 For details, see the following bug:
1191- - 3323548 <https://sourceforge.net/tracker/?func=detail&aid=3323548&group_id=226244&atid=1067586>
1192+ - 3323548 <https://bugs.launchpad.net/zorba/+bug/sf-3323548>
1193
1194 * Zorba uses ICU for regular expressions that does not support range
1195- subtraction.
1196- For details, see the following bug:
1197- - 3150856 <https://sourceforge.net/tracker/?func=detail&aid=3150856&group_id=226244&atid=1067586>
1198+ subtraction. For details, see the following bug:
1199+ - 3150856 <https://bugs.launchpad.net/zorba/+bug/sf-3150856>
1200
1201 * If you link against ICU <= 3.8.1, you can get wrong results when using \s to
1202- match a white space character.
1203- For details, see following bug:
1204- - 3155900 <https://sourceforge.net/tracker/?func=detail&aid=3155900&group_id=226244&atid=1067586>
1205+ match a white space character. For details, see following bug:
1206+ - 3155900 <https://bugs.launchpad.net/zorba/+bug/sf-3155900>
1207
1208 * A known bug in Xerces < 3.0, when an .xsd contains an any wildcard with
1209 namespace #others and the instance contains an element without a namespace,
1210 there should still be an error. See "Definitive XMLSchema" by Priscilla
1211 Wamsley, p. 279. This was fixed in Xerses > 3.0.
1212 For details, see following bug:
1213- - 3137594 <https://sourceforge.net/tracker/index.php?func=detail&aid=3137594&group_id=226244&atid=1067586>
1214+ - 3137594 <https://bugs.launchpad.net/zorba/+bug/sf-3137594>
1215
1216 * XQuery Full-Text is mostly, but not completely, implemented.
1217 For details, see following bugs:
1218- - 3187470 <https://sourceforge.net/tracker/?func=detail&aid=3187470&group_id=226244&atid=1067586>
1219- - 3187462 <https://sourceforge.net/tracker/?func=detail&aid=3187462&group_id=226244&atid=1067586>
1220+ - 3172383 <https://bugs.launchpad.net/zorba/+bug/sf-3172383>
1221+ - 3187470 <https://bugs.launchpad.net/zorba/+bug/sf-3187470>
1222+ - 3187462 <https://bugs.launchpad.net/zorba/+bug/sf-3187462>
1223
1224 * The serializer currently doesn't implement character maps as specified
1225 (http://www.w3.org/TR/xslt-xquery-serialization/#character-maps)
1226+
1227+* In the 2.0 release, setting the CMake variables ZORBA_NO_ICU to
1228+ ON is not supported.
1229+
1230+* The PHP language binding is not supported on Mac OS X. For details,
1231+ see the following bug:
1232+ - <https://bugs.launchpad.net/zorba/+bug/sf-3371525>
1233+
1234+* Generating the XQDoc documentation on Windows using nmake is broken,
1235+ see the following bug:
1236+ - <https://bugs.launchpad.net/zorba/+bug/sf-3393173>
1237+
1238+* The Scripting Extension's features break and continue are not
1239+ implemented if used within a FLWOR Statement.
1240
1241=== removed file 'NOTICE.txt'
1242--- NOTICE.txt 2011-04-26 08:59:08 +0000
1243+++ NOTICE.txt 1970-01-01 00:00:00 +0000
1244@@ -1,145 +0,0 @@
1245-Zorba XQuery Processor
1246-Copyright 2006-2008 The FLWOR Foundation
1247-
1248- See LICENSE.txt for license information.
1249-
1250- This product includes software developed at
1251- The FLWOR Foundation (http://www.flworfound.org/).
1252-
1253- Portions of this software were developed at the Systems
1254- Group of the ETH Zurich, Switzerland.
1255-
1256-The file src/zorbatypes/m_apm.h and the directory src/zorbatypes/mapm/
1257-are copyright 1999-2007 Michael C. Ring. The original distribution
1258-contains the following notice:
1259-
1260- This software is Freeware.
1261-
1262- Permission to use, copy, and distribute this software and its
1263- documentation for any purpose with or without fee is hereby granted,
1264- provided that the above copyright notice appear in all copies and
1265- that both that copyright notice and this permission notice appear
1266- in supporting documentation.
1267-
1268- Permission to modify the software is granted. Permission to distribute
1269- the modified code is granted. Modifications are to be distributed by
1270- using the file 'license.txt' as a template to modify the file header.
1271- 'license.txt' is available in the official MAPM distribution.
1272-
1273- To distribute modified source code, insert the file 'license.txt'
1274- at the top of all modified source code files and edit accordingly.
1275-
1276- This software is provided "as is" without express or implied warranty.
1277-
1278-
1279-The file src/common/config/stdint.h is copyright 2006 Alexander Chemeris and
1280-contains the following notice:
1281-
1282- Redistribution and use in source and binary forms, with or without
1283- modification, are permitted provided that the following conditions are met:
1284-
1285- 1. Redistributions of source code must retain the above copyright notice,
1286- this list of conditions and the following disclaimer.
1287-
1288- 2. Redistributions in binary form must reproduce the above copyright
1289- notice, this list of conditions and the following disclaimer in the
1290- documentation and/or other materials provided with the distribution.
1291-
1292- 3. The name of the author may be used to endorse or promote products
1293- derived from this software without specific prior written permission.
1294-
1295- THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
1296- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1297- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
1298- EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1299- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
1300- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
1301- OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1302- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
1303- OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
1304- ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1305-
1306-
1307-The files in src/runtime/full_text/stemmer is copyright 2001 Dr. Martin Porter
1308-and contains the following notice:
1309-
1310- All the software given out on this Snowball site is covered by the BSD
1311- License (see http://www.opensource.org/licenses/bsd-license.html), with
1312- Copyright (c) 2001, Dr Martin Porter, and (for the Java developments)
1313- Copyright (c) 2002, Richard Boulton.
1314-
1315- Essentially, all this means is that you can do what you like with the code,
1316- except claim another Copyright for it, or claim that it is issued under a
1317- different license. The software is also issued without warranties, which
1318- means that if anyone suffers through its use, they cannot come back and sue
1319- you. You also have to alert anyone to whom you give the Snowball software to
1320- the fact that it is covered by the BSD license.
1321-
1322- We have not bothered to insert the licensing arrangement into the text of
1323- the Snowball software.
1324-
1325-
1326-The file src/util/less.h is copyright 1998 Paul J. Lucas and contains the
1327-following notice:
1328-
1329- Redistribution and use in source and binary forms, with or without
1330- modification, are permitted provided that the following conditions are met:
1331-
1332- o Redistributions of source code must retain the above copyright notice,
1333- this list of conditions and the following disclaimer.
1334-
1335- o Redistributions in binary form must reproduce the above copyright
1336- notice, this list of conditions and the following disclaimer in the
1337- documentation and/or other materials provided with the distribution.
1338-
1339- o The name of the author may not be used to endorse or promote products
1340- derived from this software without specific prior written permission.
1341-
1342- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1343- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1344- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1345- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
1346- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1347- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1348- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1349- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1350- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1351- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1352- POSSIBILITY OF SUCH DAMAGE.
1353-
1354-
1355-The file src/util/auto_vector.h is slightly modified from code
1356-originally copyright 2003 Reliable Software which contains the
1357-following notice:
1358-
1359- Any use, commercial or noncommercial of this code
1360- is hereby granted, under the condition
1361- that this copyright notice be not removed.
1362-
1363-
1364-Furthermore, this software depends / makes use of:
1365-
1366- * LIBXML2 2.2.16 or higher (http://xmlsoft.org/ )
1367-
1368- * ICU4C 3.6 or higher (http://www.icu-project.org/)
1369-
1370- * BOOST 1.32 or higher (http://www.boost.org/)
1371- * boost_program_options
1372- * boost_date_time
1373- * boost_filesystem
1374-
1375- * XERCES 2.7.0 or higher (http://xerces.apache.org/xerces-c/)
1376-
1377- * ICONV 1.12 (used by LIBXML2; http://www.gnu.org/software/libiconv/)
1378-
1379- * MAPM 4.9.5 (by Michael C. Ring; http://www.tc.umn.edu/~ringx004/mapm-main.html)
1380-
1381- * Loki C++ Library (see http://loki-lib.sourceforge.net/index.php?n=Main.HomePage)
1382-
1383-Optional:
1384-
1385- * FLEX 2.5.33 (http://flex.sourceforge.net/)
1386-
1387- * BISON 2.4 or higher (http://www.gnu.org/software/bison/)
1388-
1389- * CURL 7.12 (http://curl.haxx.se/)
1390
1391=== added file 'NOTICE.xml'
1392--- NOTICE.xml 1970-01-01 00:00:00 +0000
1393+++ NOTICE.xml 2012-09-27 16:54:28 +0000
1394@@ -0,0 +1,686 @@
1395+<?xml version="1.0" encoding="utf-8"?>
1396+<notice xmlns="http://www.zorba-xquery.com/notice">
1397+ <master-license>
1398+ <license>Apache 2</license>
1399+ <text>
1400+ Copyright 2006-2011 The FLWOR Foundation
1401+
1402+ See LICENSE.txt for license information.
1403+
1404+ ------------------------
1405+ This product includes software developed at
1406+ The FLWOR Foundation (http://www.flworfound.org/).
1407+
1408+ ------------------------
1409+ Portions of this software were developed at the Systems
1410+ Group of the ETH Zurich, Switzerland.
1411+ </text>
1412+ </master-license>
1413+ <foreign-files>
1414+ <file>src/zorbatypes/m_apm.h</file>
1415+ <file>src/zorbatypes/mapm/</file>
1416+ <copyright>1999-2007 Michael C. Ring</copyright>
1417+ <website>http://www.tc.umn.edu/~ringx004/mapm-main.html</website>
1418+ <foreign-notice>
1419+ This software is Freeware.
1420+
1421+ Permission to use, copy, and distribute this software and its
1422+ documentation for any purpose with or without fee is hereby granted,
1423+ provided that the above copyright notice appear in all copies and
1424+ that both that copyright notice and this permission notice appear
1425+ in supporting documentation.
1426+
1427+ Permission to modify the software is granted. Permission to distribute
1428+ the modified code is granted. Modifications are to be distributed by
1429+ using the file 'license.txt' as a template to modify the file header.
1430+ 'license.txt' is available in the official MAPM distribution.
1431+
1432+ To distribute modified source code, insert the file 'license.txt'
1433+ at the top of all modified source code files and edit accordingly.
1434+
1435+ This software is provided "as is" without express or implied warranty.
1436+ </foreign-notice>
1437+ </foreign-files>
1438+ <foreign-files>
1439+ <file>src/zorbamisc/config/stdint.h</file>
1440+ <copyright>2006 Alexander Chemeris</copyright>
1441+ <foreign-notice>
1442+ Redistribution and use in source and binary forms, with or without
1443+ modification, are permitted provided that the following conditions are met:
1444+
1445+ 1. Redistributions of source code must retain the above copyright notice,
1446+ this list of conditions and the following disclaimer.
1447+
1448+ 2. Redistributions in binary form must reproduce the above copyright
1449+ notice, this list of conditions and the following disclaimer in the
1450+ documentation and/or other materials provided with the distribution.
1451+
1452+ 3. The name of the author may be used to endorse or promote products
1453+ derived from this software without specific prior written permission.
1454+
1455+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
1456+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1457+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
1458+ EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1459+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
1460+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
1461+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1462+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
1463+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
1464+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1465+ </foreign-notice>
1466+ </foreign-files>
1467+ <foreign-files>
1468+ <file>src/zorbautils/stemmer/</file>
1469+ <copyright>2001 Dr. Martin Porter</copyright>
1470+ <foreign-notice>
1471+ All the software given out on this Snowball site is covered by the BSD
1472+ License (see http://www.opensource.org/licenses/bsd-license.html), with
1473+ Copyright (c) 2001, Dr Martin Porter, and (for the Java developments)
1474+ Copyright (c) 2002, Richard Boulton.
1475+
1476+ Essentially, all this means is that you can do what you like with the code,
1477+ except claim another Copyright for it, or claim that it is issued under a
1478+ different license. The software is also issued without warranties, which
1479+ means that if anyone suffers through its use, they cannot come back and sue
1480+ you. You also have to alert anyone to whom you give the Snowball software to
1481+ the fact that it is covered by the BSD license.
1482+
1483+ We have not bothered to insert the licensing arrangement into the text of
1484+ the Snowball software.
1485+ </foreign-notice>
1486+ </foreign-files>
1487+ <foreign-files>
1488+ <file>src/util/less.h</file>
1489+ <copyright>1998 Paul J. Lucas</copyright>
1490+ <foreign-notice>
1491+ Redistribution and use in source and binary forms, with or without
1492+ modification, are permitted provided that the following conditions are met:
1493+
1494+ o Redistributions of source code must retain the above copyright notice,
1495+ this list of conditions and the following disclaimer.
1496+
1497+ o Redistributions in binary form must reproduce the above copyright
1498+ notice, this list of conditions and the following disclaimer in the
1499+ documentation and/or other materials provided with the distribution.
1500+
1501+ o The name of the author may not be used to endorse or promote products
1502+ derived from this software without specific prior written permission.
1503+
1504+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1505+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1506+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1507+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
1508+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1509+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1510+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1511+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1512+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1513+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1514+ POSSIBILITY OF SUCH DAMAGE.
1515+ </foreign-notice>
1516+ </foreign-files>
1517+ <foreign-files>
1518+ <file is-modified="true">src/util/auto_vector.h</file>
1519+ <copyright>2003 Reliable Software</copyright>
1520+ <foreign-notice>
1521+ Redistribution and use in source and binary forms, with or without
1522+ modification, are permitted provided that the following conditions are met:
1523+
1524+ o Redistributions of source code must retain the above copyright notice,
1525+ this list of conditions and the following disclaimer.
1526+
1527+ o Redistributions in binary form must reproduce the above copyright
1528+ notice, this list of conditions and the following disclaimer in the
1529+ documentation and/or other materials provided with the distribution.
1530+
1531+ o The name of the author may not be used to endorse or promote products
1532+ derived from this software without specific prior written permission.
1533+
1534+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1535+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1536+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1537+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
1538+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1539+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1540+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1541+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1542+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1543+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1544+ POSSIBILITY OF SUCH DAMAGE.
1545+ </foreign-notice>
1546+ </foreign-files>
1547+ <foreign-files>
1548+ <file>cmake_modules/FindBoost.cmake</file>
1549+ <copyright>
1550+ 2006-2008 Andreas Schneider &lt;mail@cynapses.org&gt;
1551+ 2007 Wengo
1552+ 2007 Mike Jackson
1553+ 2008 Andreas Pakulat &lt;apaku@gmx.de&gt;
1554+ </copyright>
1555+ <foreign-notice>
1556+ Redistribution AND use is allowed according to the terms of the New BSD license.
1557+ For details see the accompanying COPYING-CMAKE-SCRIPTS file.
1558+ </foreign-notice>
1559+ </foreign-files>
1560+ <foreign-files>
1561+ <file>cmake_modules/FindJNI.cmake</file>
1562+ <file>cmake_modules/FindPythonLibs.cmake</file>
1563+ <file>cmake_modules/FindSWIG.cmake</file>
1564+ <copyright>2001-2009 Kitware, Inc.</copyright>
1565+ <foreign-notice>
1566+ Distributed under the OSI-approved BSD License (the "License");
1567+ see accompanying file Copyright.txt for details.
1568+
1569+ This software is distributed WITHOUT ANY WARRANTY; without even the
1570+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1571+ See the License for more information.
1572+
1573+ CMake - Cross Platform Makefile Generator
1574+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
1575+ All rights reserved.
1576+
1577+ Redistribution and use in source and binary forms, with or without
1578+ modification, are permitted provided that the following conditions
1579+ are met:
1580+
1581+ * Redistributions of source code must retain the above copyright
1582+ notice, this list of conditions and the following disclaimer.
1583+
1584+ * Redistributions in binary form must reproduce the above copyright
1585+ notice, this list of conditions and the following disclaimer in the
1586+ documentation and/or other materials provided with the distribution.
1587+
1588+ * Neither the names of Kitware, Inc., the Insight Software Consortium,
1589+ nor the names of their contributors may be used to endorse or promote
1590+ products derived from this software without specific prior written
1591+ permission.
1592+
1593+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1594+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1595+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1596+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1597+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1598+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1599+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1600+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1601+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1602+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1603+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1604+
1605+ ------------------------------------------------------------------------------
1606+
1607+ The above copyright and license notice applies to distributions of
1608+ CMake in source and binary form. Some source files contain additional
1609+ notices of original copyright by their contributors; see each source
1610+ for details. Third-party software packages supplied with CMake under
1611+ compatible licenses provide their own copyright notices documented in
1612+ corresponding subdirectories.
1613+
1614+ ------------------------------------------------------------------------------
1615+
1616+ CMake was initially developed by Kitware with the following sponsorship:
1617+
1618+ * National Library of Medicine at the National Institutes of Health
1619+ as part of the Insight Segmentation and Registration Toolkit (ITK).
1620+
1621+ * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
1622+ Visualization Initiative.
1623+
1624+ * National Alliance for Medical Image Computing (NAMIC) is funded by the
1625+ National Institutes of Health through the NIH Roadmap for Medical Research,
1626+ Grant U54 EB005149.
1627+
1628+ * Kitware, Inc.
1629+ </foreign-notice>
1630+ </foreign-files>
1631+ <foreign-files>
1632+ <file>/xml.xsd</file>
1633+ <copyright>2001 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University)</copyright>
1634+ <foreign-notice>
1635+ 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.
1636+
1637+ W3C Software Notice and License
1638+
1639+ This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license.
1640+
1641+ License
1642+
1643+ 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.
1644+
1645+ 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:
1646+ •The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
1647+ •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.
1648+ •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.)
1649+
1650+ Disclaimers
1651+
1652+ 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.
1653+
1654+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
1655+
1656+ 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.
1657+ </foreign-notice>
1658+ </foreign-files>
1659+ <foreign-files>
1660+ <file>schemas/xslt-xquery-serialization.xsd</file>
1661+ <copyright>2010 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University)</copyright>
1662+ <foreign-notice>
1663+ 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.
1664+
1665+ W3C Software Notice and License
1666+
1667+ This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license.
1668+
1669+ License
1670+
1671+ 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.
1672+
1673+ 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:
1674+ •The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
1675+ •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.
1676+ •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.)
1677+
1678+ Disclaimers
1679+
1680+ 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.
1681+
1682+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
1683+
1684+ 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.
1685+ </foreign-notice>
1686+ </foreign-files>
1687+ <foreign-files>
1688+ <file>modules/w3c/xpath-functions.xsd</file>
1689+ <copyright>2005 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University)</copyright>
1690+ <foreign-notice>
1691+ 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.
1692+
1693+ W3C Software Notice and License
1694+
1695+ This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license.
1696+
1697+ License
1698+
1699+ 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.
1700+
1701+ 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:
1702+ •The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
1703+ •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.
1704+ •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.)
1705+
1706+ Disclaimers
1707+
1708+ 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.
1709+
1710+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
1711+
1712+ 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.
1713+ </foreign-notice>
1714+ </foreign-files>
1715+ <foreign-files>
1716+ <file>include/xqc.h</file>
1717+ <copyright>2008, Matthias Brantner, John Snelson</copyright>
1718+ <foreign-notice>
1719+ * All rights reserved.
1720+ *
1721+ * Redistribution and use in source and binary forms, with or without
1722+ * modification, are permitted provided that the following conditions are met:
1723+ *
1724+ * * Redistributions of source code must retain the above copyright notice,
1725+ * this list of conditions and the following disclaimer.
1726+ * * Redistributions in binary form must reproduce the above copyright
1727+ * notice, this list of conditions and the following disclaimer in the
1728+ * documentation and/or other materials provided with the distribution.
1729+ * * Neither the name of the developers nor the names of contributors may be
1730+ * used to endorse or promote products derived from this software without
1731+ * specific prior written permission.
1732+ *
1733+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1734+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1735+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1736+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
1737+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1738+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1739+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1740+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1741+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1742+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1743+ * POSSIBILITY OF SUCH DAMAGE.
1744+ </foreign-notice>
1745+ </foreign-files>
1746+ <foreign-files>
1747+ <file>modules/functx/functx.xq</file>
1748+ <copyright>2007 Datypic</copyright>
1749+ <foreign-notice>
1750+ : This library is free software; you can redistribute it and/or
1751+ : modify it under the terms of the GNU Lesser General Public
1752+ : License as published by the Free Software Foundation; either
1753+ : version 2.1 of the License.
1754+
1755+ : This library is distributed in the hope that it will be useful,
1756+ : but WITHOUT ANY WARRANTY; without even the implied warranty of
1757+ : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1758+ : Lesser General Public License for more details.
1759+
1760+ : You should have received a copy of the GNU Lesser General Public
1761+ : License along with this library; if not, write to the Free Software
1762+ : Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1763+ </foreign-notice>
1764+ </foreign-files>
1765+ <foreign-files>
1766+ <file>src/compiler/parser/FlexLexer.h</file>
1767+ <copyright>1993 The Regents of the University of California</copyright>
1768+ <foreign-notice>
1769+ // All rights reserved.
1770+ //
1771+ // This code is derived from software contributed to Berkeley by
1772+ // Kent Williams and Tom Epperly.
1773+ //
1774+ // Redistribution and use in source and binary forms, with or without
1775+ // modification, are permitted provided that the following conditions
1776+ // are met:
1777+
1778+ // 1. Redistributions of source code must retain the above copyright
1779+ // notice, this list of conditions and the following disclaimer.
1780+ // 2. Redistributions in binary form must reproduce the above copyright
1781+ // notice, this list of conditions and the following disclaimer in the
1782+ // documentation and/or other materials provided with the distribution.
1783+
1784+ // Neither the name of the University nor the names of its contributors
1785+ // may be used to endorse or promote products derived from this software
1786+ // without specific prior written permission.
1787+
1788+ // THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1789+ // IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1790+ // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1791+ // PURPOSE.
1792+ </foreign-notice>
1793+ </foreign-files>
1794+ <foreign-files>
1795+ <file>src/diagnostics/StackWalker.cpp</file>
1796+ <file>src/diagnostics/StackWalker.h</file>
1797+ <copyright>2005 Jochen Kalmbach </copyright>
1798+ <license>BSD</license>
1799+ <foreign-notice>
1800+ Under BSD License: http://www.opensource.org/licenses/bsd-license.php
1801+ </foreign-notice>
1802+ </foreign-files>
1803+ <foreign-files>
1804+ <file>src/util/singleton.h</file>
1805+ <file>src/util/threads.h</file>
1806+ <copyright>2001 Andrei Alexandrescu</copyright>
1807+ <foreign-notice>
1808+ This code accompanies the book:
1809+ Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
1810+ Patterns Applied". Copyright (c) 2001. Addison-Wesley.
1811+ Permission to use, copy, modify, distribute and sell this software for any
1812+ purpose is hereby granted without fee, provided that the above copyright
1813+ notice appear in all copies and that both that copyright notice and this
1814+ permission notice appear in supporting documentation.
1815+ The author or Addison-Wesley Longman make no representations about the
1816+ suitability of this software for any purpose. It is provided "as is"
1817+ without express or implied warranty.
1818+ </foreign-notice>
1819+ </foreign-files>
1820+
1821+ <external-lib mandatory="true">
1822+ <name>LIBXML2</name>
1823+ <version>2.2.16 or higher</version>
1824+ <website>http://xmlsoft.org/</website>
1825+ <license>MIT</license>
1826+ <copyright>1998-2002 Daniel Veillard. All Rights Reserved.</copyright>
1827+ <foreign-notice>
1828+ 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:
1829+
1830+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1831+
1832+ 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.
1833+
1834+ Except as contained in this notice, the name of Daniel Veillard shall not
1835+ be used in advertising or otherwise to promote the sale, use or other deal-
1836+ ings in this Software without prior written authorization from him.
1837+ </foreign-notice>
1838+ </external-lib>
1839+
1840+ <external-lib mandatory="false">
1841+ <name>LIBXSLT</name>
1842+ <version>1.1.26</version>
1843+ <website>http://xmlsoft.org/XSLT/</website>
1844+ <license>MIT</license>
1845+ <copyright>2001-2002 Daniel Veillard. All Rights Reserved.</copyright>
1846+ <foreign-notice>
1847+ 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:
1848+
1849+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1850+
1851+ 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.
1852+
1853+
1854+ 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.
1855+
1856+ </foreign-notice>
1857+ </external-lib>
1858+
1859+ <external-lib mandatory="true">
1860+ <name>ICU4C</name>
1861+ <version>3.6 or higher</version>
1862+ <license>ICU License</license>
1863+ <website>http://www.icu-project.org/</website>
1864+ <copyright>1995-2011 International Business Machines Corporation and others </copyright>
1865+ <foreign-notice>
1866+ 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.
1867+
1868+ 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.
1869+
1870+ 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.
1871+ </foreign-notice>
1872+ </external-lib>
1873+
1874+ <external-lib mandatory="false">
1875+ <name>CURL</name>
1876+ <version>above 7.12</version>
1877+ <website>http://curl.haxx.se/</website>
1878+ <license>MIT/X derivate license</license>
1879+ <copyright>1996 - 2011, Daniel Stenberg, &lt;daniel@haxx.se&gt;.</copyright>
1880+ <foreign-notice>
1881+ All rights reserved.
1882+
1883+ Permission to use, copy, modify, and distribute this software for any purpose
1884+ with or without fee is hereby granted, provided that the above copyright
1885+ notice and this permission notice appear in all copies.
1886+
1887+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1888+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1889+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
1890+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
1891+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
1892+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
1893+ OR OTHER DEALINGS IN THE SOFTWARE.
1894+
1895+ Except as contained in this notice, the name of a copyright holder shall not
1896+ be used in advertising or otherwise to promote the sale, use or other dealings
1897+ in this Software without prior written authorization of the copyright holder.
1898+ </foreign-notice>
1899+ </external-lib>
1900+
1901+ <external-lib mandatory="true">
1902+ <name>ICONV</name>
1903+ <version>above 1.12</version>
1904+ <website>http://www.gnu.org/software/libiconv/</website>
1905+ <license>LGPL</license>
1906+ <copyright>1998, 2010 Free Software Foundation, Inc.</copyright>
1907+ </external-lib>
1908+
1909+ <external-lib mandatory="true">
1910+ <name>ZLIB</name>
1911+ <version>1.2.5</version>
1912+ <website>http://www.zlib.net/</website>
1913+ <copyright>1995-2004 Jean-loup Gailly and Mark Adler</copyright>
1914+ <foreign-notice>
1915+ This software is provided 'as-is', without any express or implied
1916+ warranty. In no event will the authors be held liable for any damages
1917+ arising from the use of this software.
1918+
1919+ Permission is granted to anyone to use this software for any purpose,
1920+ including commercial applications, and to alter it and redistribute it
1921+ freely, subject to the following restrictions:
1922+
1923+ 1. The origin of this software must not be misrepresented; you must not
1924+ claim that you wrote the original software. If you use this software
1925+ in a product, an acknowledgment in the product documentation would be
1926+ appreciated but is not required.
1927+ 2. Altered source versions must be plainly marked as such, and must not be
1928+ misrepresented as being the original software.
1929+ 3. This notice may not be removed or altered from any source distribution.
1930+
1931+ Jean-loup Gailly jloup@gzip.org
1932+ Mark Adler madler@alumni.caltech.edu
1933+ </foreign-notice>
1934+ </external-lib>
1935+
1936+ <external-lib mandatory="true">
1937+ <name>XERCES</name>
1938+ <version>2.8.0 or higher</version>
1939+ <website>http://xerces.apache.org/xerces-c/</website>
1940+ <license>Apache 2</license>
1941+ <copyright>Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.</copyright>
1942+ <foreign-notice>
1943+ http://www.apache.org/licenses/LICENSE-2.0
1944+ </foreign-notice>
1945+ </external-lib>
1946+
1947+ <external-lib mandatory="false">
1948+ <name>BOOST (boost_filesystem)</name>
1949+ <version>1.32 or higher</version>
1950+ <website>http://www.boost.org/</website>
1951+ <license>Boost Software License v1.0</license>
1952+ <copyright>
1953+ Beman Dawes, David Abrahams, 1998-2005.
1954+ Rene Rivera 2004-2007
1955+ </copyright>
1956+ <foreign-notice>
1957+ Permission is hereby granted, free of charge, to any person or organization
1958+ obtaining a copy of the software and accompanying documentation covered by
1959+ this license (the "Software") to use, reproduce, display, distribute,
1960+ execute, and transmit the Software, and to prepare derivative works of the
1961+ Software, and to permit third-parties to whom the Software is furnished to
1962+ do so, all subject to the following:
1963+
1964+ The copyright notices in the Software and this entire statement, including
1965+ the above license grant, this restriction and the following disclaimer,
1966+ must be included in all copies of the Software, in whole or in part, and
1967+ all derivative works of the Software, unless such copies or derivative
1968+ works are solely in the form of machine-executable object code generated by
1969+ a source language processor.
1970+
1971+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1972+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1973+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
1974+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
1975+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
1976+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1977+ DEALINGS IN THE SOFTWARE.
1978+ </foreign-notice>
1979+ </external-lib>
1980+
1981+ <external-app mandatory="false">
1982+ <name>FLEX</name>
1983+ <version>2.5.33</version>
1984+ <website>http://flex.sourceforge.net/</website>
1985+ <copyright>
1986+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The Flex Project.
1987+ 1990, 1997 The Regents of the University of California. All rights reserved.
1988+ </copyright>
1989+ <foreign-notice>
1990+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1991+
1992+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
1993+ 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.
1994+
1995+ 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.
1996+
1997+ 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.
1998+ </foreign-notice>
1999+ </external-app>
2000+
2001+ <external-app mandatory="false">
2002+ <name>BISON</name>
2003+ <version>2.4 or higher</version>
2004+ <website>http://www.gnu.org/software/bison/</website>
2005+ <license>GPL</license>
2006+ <copyright>1998, 2001, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.</copyright>
2007+ </external-app>
2008+
2009+ <external-app mandatory="false">
2010+ <name>DOXYGEN</name>
2011+ <version>v1.7.4 </version>
2012+ <website>www.doxygen.org</website>
2013+ <license>GPL</license>
2014+ <copyright>1997-2011 by Dimitri van Heesch</copyright>
2015+ <foreign-notice>
2016+ Permission to use, copy, modify, and distribute this software and its documentation under the terms of the GNU General Public License is hereby granted.
2017+ No representations are made about the suitability of this software for any purpose.
2018+ It is provided "as is" without express or implied warranty.
2019+ See the GNU General Public License for more details.
2020+
2021+ Documents produced by doxygen are derivative works derived from the input used in their production; they are not affected by this license.
2022+ </foreign-notice>
2023+ </external-app>
2024+
2025+ <external-app mandatory="true">
2026+ <name>CMAKE</name>
2027+ <version>2.8.4</version>
2028+ <website>http://www.cmake.org/</website>
2029+ <license>Creative Commons Attribution-NoDerivs 3.0 Unported License</license>
2030+ <copyright>2000-2009 Kitware, Inc., Insight Software Consortium. All rights reserved.</copyright>
2031+ <foreign-notice>
2032+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
2033+
2034+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2035+
2036+ 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.
2037+
2038+ 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.
2039+
2040+ 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.
2041+ </foreign-notice>
2042+ </external-app>
2043+
2044+ <external-app mandatory="false">
2045+ <name>SWIG</name>
2046+ <version>2.0.4 or above</version>
2047+ <website>http://www.swig.org/</website>
2048+ <license>GPL</license>
2049+ <copyright>
2050+ 1995-2011 The SWIG Developers
2051+ 2005-2006 Arizona Board of Regents (University of Arizona).
2052+ 1998-2005 University of Chicago.
2053+ 1995-1998 The University of Utah and the Regents of the University of California
2054+ </copyright>
2055+ <foreign-notice>
2056+ SWIG is free software: you can redistribute it and/or modify it
2057+ under the terms of the GNU General Public License as published by
2058+ the Free Software Foundation, either version 3 of the License, or
2059+ (at your option) any later version. See the LICENSE-GPL file for
2060+ the full terms of the GNU General Public license version 3.
2061+
2062+ Portions of SWIG are also licensed under the terms of the licenses
2063+ in the file LICENSE-UNIVERSITIES. You must observe the terms of
2064+ these licenses, as well as the terms of the GNU General Public License,
2065+ when you distribute SWIG.
2066+
2067+ The SWIG library and examples, under the Lib and Examples top level
2068+ directories, are distributed under the following terms:
2069+
2070+ You may copy, modify, distribute, and make derivative works based on
2071+ this software, in source code or object code form, without
2072+ restriction. If you distribute the software to others, you may do
2073+ so according to the terms of your choice. This software is offered as
2074+ is, without warranty of any kind.
2075+
2076+ See the COPYRIGHT file for a list of contributors to SWIG and their
2077+ copyright notices.
2078+ </foreign-notice>
2079+ </external-app>
2080+</notice>
2081
2082=== modified file 'README.txt'
2083--- README.txt 2010-11-24 20:36:42 +0000
2084+++ README.txt 2012-09-27 16:54:28 +0000
2085@@ -11,19 +11,19 @@
2086 -------------
2087
2088 The documentation is included in the doc directory, as well as
2089- on the website of the project at http://www.zorba-xquery.com/doc/zorba-latest/zorba/html/.
2090+ on the website of the project at http://www.zorba-xquery.org/html/documentation
2091
2092 Build & Installation
2093 --------------------
2094
2095- Please see the documentation on the web site or the doc directory
2096+ Please see the documentation on the web site or in the doc directory
2097 of the package.
2098
2099 Bugs and errors
2100 ---------------
2101
2102 Bug or error reports should be sent to
2103- https://sourceforge.net/tracker/?group_id=226244&atid=1067586
2104+ https://bugs.launchpad.net/zorba.
2105
2106
2107 Licensing
2108@@ -42,7 +42,7 @@
2109
2110 o If you have a concrete bug report for Zorba please go to the
2111 Zorba's Bug Database and submit your report:
2112- https://sourceforge.net/tracker/?group_id=226244&atid=1067586
2113+ https://bugs.launchpad.net/zorba.
2114
2115 o If you want to participate in actively developing Zorba or
2116- support Zorba, please write a mail to: zorba@zorba-xquery.org
2117+ support Zorba, please write a mail to: zorba-dev@googlegroups.com
2118
2119=== modified file 'WIN32.cpack'
2120--- WIN32.cpack 2011-06-24 17:59:32 +0000
2121+++ WIN32.cpack 2012-09-27 16:54:28 +0000
2122@@ -14,5 +14,3 @@
2123 #
2124
2125 INCLUDE(InstallRequiredSystemLibraries)
2126-
2127-INSTALL(PROGRAMS $ENV{ZORBA_REQUIRED_DLLS} DESTINATION bin)
2128
2129=== modified file 'bin/CMakeLists.txt'
2130--- bin/CMakeLists.txt 2011-07-01 16:07:54 +0000
2131+++ bin/CMakeLists.txt 2012-09-27 16:54:28 +0000
2132@@ -15,33 +15,38 @@
2133 INCLUDE_DIRECTORIES(AFTER ${CMAKE_SOURCE_DIR}/src/)
2134 INCLUDE_DIRECTORIES(AFTER ${CMAKE_CURRENT_SOURCE_DIR})
2135
2136-IF(ZORBA_WITH_DEBUGGER_CLIENT)
2137- CONFIGURE_FILE (debug_client/event_handler_init.cpp.in debug_client/event_handler_init.cpp)
2138-
2139- SET(DEBUG_CLIENT_SRCS
2140- debug_client/tuple.h
2141- debug_client/main.cpp
2142- debug_client/debug_command.h
2143- debug_client/debug_command.cpp
2144- debug_client/command_line_handler.h
2145- debug_client/command_line_handler.cpp
2146- debug_client/lock_free_queue.h
2147- debug_client/event_handler.h
2148- debug_client/event_handler.cpp
2149- ${CMAKE_CURRENT_BINARY_DIR}/debug_client/event_handler_init.cpp
2150+IF (ZORBA_WITH_DEBUGGER)
2151+ IF (NOT WIN32)
2152+ FIND_PACKAGE (Libedit)
2153+ IF (LIBEDIT_FOUND)
2154+ INCLUDE_DIRECTORIES (${LIBEDIT_INCLUDE_DIRS})
2155+ SET (LIBEDIT_LIBS ${LIBEDIT_LIBRARIES})
2156+ SET (ZORBA_HAVE_LIBEDIT_H ${LIBEDIT_FOUND})
2157+ ENDIF (LIBEDIT_FOUND)
2158+ ENDIF (NOT WIN32)
2159+
2160+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/debugger/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/debugger/config.h)
2161+ MESSAGE(STATUS "configured ${CMAKE_CURRENT_SOURCE_DIR}/debugger/config.h.cmake --> ${CMAKE_CURRENT_BINARY_DIR}/debugger/config.h")
2162+ INCLUDE_DIRECTORIES (BEFORE ${CMAKE_CURRENT_BINARY_DIR}/debugger)
2163+
2164+ SET (DEBUG_CLIENT_SRCS
2165+ debugger/main.cpp
2166+ debugger/xqdb_client.cpp
2167+ debugger/process_listener.cpp
2168+ debugger/command_prompt.cpp
2169+ debugger/command_line_handler.cpp
2170+ debugger/event_handler.cpp
2171 )
2172
2173- CONFIGURE_FILE (debug_client/message-handler.xq message-handler.xq)
2174-
2175- ZORBA_GENERATE_EXE("debuggercmd" "${DEBUG_CLIENT_SRCS}" "" "debugger" "bin")
2176-ENDIF(ZORBA_WITH_DEBUGGER_CLIENT)
2177+ ZORBA_GENERATE_EXE ("xqdb" "${DEBUG_CLIENT_SRCS}" "${LIBEDIT_LIBS}" "xqdb" "bin")
2178+ENDIF (ZORBA_WITH_DEBUGGER)
2179
2180 SET(SRCS
2181 zorbacmd.cpp
2182 zorbacmdproperties.cpp
2183 error_printer.cpp
2184 util.cpp
2185- module_path.cpp
2186+ path_util.cpp
2187 )
2188
2189 INCLUDE("${CMAKE_SOURCE_DIR}/cmake_modules/ZorbaGenerateExe.cmake")
2190@@ -71,16 +76,50 @@
2191
2192 # test the compile-only option of the command line tool which is used for semantic checking in eclipse
2193 ZORBA_ADD_TEST(bin/zorba_compilechk1 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/test/mymod.xq" -f -l)
2194-ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk1 PASS_REGULAR_EXPRESSION ".*mymod.xq>:6,8:.*:XPST0008.*")
2195+ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk1 PASS_REGULAR_EXPRESSION ".*mymod.xq>:22,8:.*:XPST0008.*")
2196
2197 ZORBA_ADD_TEST(bin/zorba_compilechk2 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/test/mymod.xq" -f -l -x)
2198-ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk2 PASS_REGULAR_EXPRESSION ".*XPST0008.*mymod.xq' line='6' column='8'.*")
2199+ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk2 PASS_REGULAR_EXPRESSION ".*XPST0008.*mymod.xq' lineStart='22' columnStart='8' lineEnd='22' columnEnd='10'.*")
2200
2201 # test compile checking to work with library modules that have an invalid target namespace uri
2202 # test for bug #2934414
2203 ZORBA_ADD_TEST(bin/zorba_compilechk3 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/test/mymod2.xq" -f -l -x)
2204-ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk3 PASS_REGULAR_EXPRESSION ".*XQST0046.*mymod2.xq' line='1' column='1'.*")
2205+ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk3 PASS_REGULAR_EXPRESSION ".*XQST0046.*mymod2.xq' lineStart='17' columnStart='1' lineEnd='17' columnEnd='26'.*")
2206
2207 # test the --option option to set an option in the static context
2208 ZORBA_ADD_TEST(bin/zorba_option zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/test/option.xq" -f --option "{http://www.zorba-xquery.com}option=value")
2209 ZORBA_SET_TEST_PROPERTY(bin/zorba_option PASS_REGULAR_EXPRESSION "value")
2210+
2211+# test the --uri-path, --lib-path, and --module-path args.
2212+# Use the versioning tests as they utilize test modules already.
2213+SET (_testdir
2214+ "${CMAKE_CURRENT_SOURCE_DIR}/../test/rbkt/Queries/zorba/versioning")
2215+SET (_uridir "${CMAKE_BINARY_DIR}/TEST_URI_PATH")
2216+SET (_libdir "${CMAKE_BINARY_DIR}/TEST_LIB_PATH")
2217+ZORBA_ADD_TEST(bin/zorba_uri_path_1 zorbacmd -f -q "${_testdir}/import1.xq"
2218+ --uri-path "${_uridir}")
2219+ZORBA_SET_TEST_PROPERTY(bin/zorba_uri_path_1
2220+ PASS_REGULAR_EXPRESSION "hello, v2")
2221+
2222+ZORBA_ADD_TEST(bin/zorba_uri_path_2 zorbacmd -f -q "${_testdir}/external1.xq"
2223+ --uri-path "${_uridir}")
2224+ZORBA_SET_TEST_PROPERTY(bin/zorba_uri_path_2
2225+ PASS_REGULAR_EXPRESSION "ZXQP0008")
2226+
2227+ZORBA_ADD_TEST(bin/zorba_uri_path_3 zorbacmd -f -q "${_testdir}/external1.xq"
2228+ --uri-path "${_uridir}" --lib-path "${_libdir}")
2229+ZORBA_SET_TEST_PROPERTY(bin/zorba_uri_path_3
2230+ PASS_REGULAR_EXPRESSION "hello, v2")
2231+
2232+IF(WIN32)
2233+ SET(PATH_SEP ";")
2234+ELSE(WIN32)
2235+ SET(PATH_SEP ":")
2236+ENDIF(WIN32)
2237+ZORBA_ADD_TEST(bin/zorba_module_path_1 zorbacmd -f -q "${_testdir}/external1.xq"
2238+ --module-path "${_libdir}${PATH_SEP}${_uridir}")
2239+ZORBA_SET_TEST_PROPERTY(bin/zorba_module_path_1
2240+ PASS_REGULAR_EXPRESSION "hello, v2")
2241+
2242+# test compilation of the perf script
2243+ZORBA_ADD_TEST(bin/zorba_compilechk4 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/../test/zperf/src/start.xq" -f --compile-only)
2244
2245=== removed file 'bin/debug_client/debug_command.cpp'
2246--- bin/debug_client/debug_command.cpp 2011-07-01 01:53:24 +0000
2247+++ bin/debug_client/debug_command.cpp 1970-01-01 00:00:00 +0000
2248@@ -1,99 +0,0 @@
2249-/*
2250- * Copyright 2006-2008 The FLWOR Foundation.
2251- *
2252- * Licensed under the Apache License, Version 2.0 (the "License");
2253- * you may not use this file except in compliance with the License.
2254- * You may obtain a copy of the License at
2255- *
2256- * http://www.apache.org/licenses/LICENSE-2.0
2257- *
2258- * Unless required by applicable law or agreed to in writing, software
2259- * distributed under the License is distributed on an "AS IS" BASIS,
2260- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2261- * See the License for the specific language governing permissions and
2262- * limitations under the License.
2263- */
2264-#include <iostream>
2265-#include "debug_client/debug_command.h"
2266-
2267-namespace zorba { namespace debugclient {
2268-
2269-
2270- void CommandLine::execute()
2271- {
2272- for (;;) {
2273- std::cout << "zdb>> ";
2274- std::string command;
2275- std::getline(std::cin, command);
2276- std::vector<std::string> args;
2277- args << command;
2278- std::map<std::string, UntypedCommand*>::iterator lIter = theCommands.find(args[0]);
2279- if (lIter == theCommands.end()) {
2280- std::cout << args[0] << ": Command not found" << std::endl;
2281- continue;
2282- }
2283- if (!lIter->second->execute(args))
2284- continue;
2285- return;
2286- }
2287- }
2288-
2289-
2290- CommandLine::~CommandLine()
2291- {
2292- for (std::map<std::string, UntypedCommand*>::iterator i = theCommands.begin();
2293- i != theCommands.end(); ++i)
2294- {
2295- delete i->second;
2296- }
2297- }
2298-
2299- CommandLine& CommandLine::operator<<(UntypedCommand *aCommand)
2300- {
2301- theCommands.insert(std::make_pair(aCommand->get_name(), aCommand));
2302- return *this;
2303- }
2304-}}
2305-
2306-namespace std {
2307- vector<string>& operator<< (vector<string>& vec, const string& str)
2308- {
2309- string::size_type before = 0;
2310- string::size_type pos = str.find(" ", 0);
2311- while (pos != str.npos) {
2312- std::string lSub = str.substr(before, pos - before);
2313- if (lSub[0] == '"') {
2314- std::string::size_type lBeforeCopy = before;
2315- do {
2316- lBeforeCopy = str.find("\"", lBeforeCopy + 1);
2317- } while (pos != str.npos && str.size() > pos + 1 && str[pos + 1] == '\\');
2318- pos = lBeforeCopy;
2319- lSub = str.substr(before + 1, pos - before - 1);
2320- }
2321- vec.push_back(lSub);
2322- before = pos + 1;
2323- pos = str.find(" ", before);
2324- }
2325- std::string lSub = str.substr(before);
2326- if (lSub[0] == '"') {
2327- pos = str.find("\"", before + 1);
2328- lSub = str.substr(before + 1, pos - before - 1);
2329- }
2330- vec.push_back(lSub);
2331- return vec;
2332- }
2333-
2334- set<string>& operator<< (set<string>& vec, const string& str)
2335- {
2336- string::size_type before = 0;
2337- string::size_type pos = str.find(" ", 0);
2338- while (pos != str.npos) {
2339- vec.insert(str.substr(before, pos));
2340- before = pos + 1;
2341- pos = str.find(" ", before);
2342- }
2343- vec.insert(str.substr(before));
2344- return vec;
2345- }
2346-
2347-}
2348
2349=== removed file 'bin/debug_client/event_handler_init.cpp.in'
2350--- bin/debug_client/event_handler_init.cpp.in 2011-07-01 01:53:24 +0000
2351+++ bin/debug_client/event_handler_init.cpp.in 1970-01-01 00:00:00 +0000
2352@@ -1,41 +0,0 @@
2353-/*
2354- * Copyright 2006-2008 The FLWOR Foundation.
2355- *
2356- * Licensed under the Apache License, Version 2.0 (the "License");
2357- * you may not use this file except in compliance with the License.
2358- * You may obtain a copy of the License at
2359- *
2360- * http://www.apache.org/licenses/LICENSE-2.0
2361- *
2362- * Unless required by applicable law or agreed to in writing, software
2363- * distributed under the License is distributed on an "AS IS" BASIS,
2364- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2365- * See the License for the specific language governing permissions and
2366- * limitations under the License.
2367- */
2368-#include <fstream>
2369-#include "debug_client/event_handler.h"
2370-
2371-namespace zorba { namespace debugclient {
2372-
2373- std::istream* EventHandler::getCurrentDirectory() {
2374- const char* build_dir = "@CMAKE_BINARY_DIR@/bin/message-handler.xq";
2375- const char* install_dir =
2376-#ifndef WIN32
2377- "@CMAKE_INSTALL_PREFIX@/bin/";
2378-#else
2379- "C:/Program Files/Zorba XQuery Processor @ZORBA_MAJOR_NUMBER@.@ZORBA_MINOR_NUMBER@.@ZORBA_PATCH_NUMBER@/bin/";
2380-#endif
2381- std::auto_ptr<std::ifstream> stream(new std::ifstream(build_dir));
2382- if (stream->good()) {
2383- return stream.release();
2384- }
2385- stream.reset(new std::ifstream(install_dir));
2386- if (stream->good()) {
2387- return stream.release();
2388- }
2389- return 0;
2390- }
2391-
2392-}} // end of namespace zorba::debugclient
2393-
2394
2395=== removed file 'bin/debug_client/lock_free_queue.cpp'
2396--- bin/debug_client/lock_free_queue.cpp 2011-07-01 01:53:24 +0000
2397+++ bin/debug_client/lock_free_queue.cpp 1970-01-01 00:00:00 +0000
2398@@ -1,16 +0,0 @@
2399-/*
2400- * Copyright 2006-2008 The FLWOR Foundation.
2401- *
2402- * Licensed under the Apache License, Version 2.0 (the "License");
2403- * you may not use this file except in compliance with the License.
2404- * You may obtain a copy of the License at
2405- *
2406- * http://www.apache.org/licenses/LICENSE-2.0
2407- *
2408- * Unless required by applicable law or agreed to in writing, software
2409- * distributed under the License is distributed on an "AS IS" BASIS,
2410- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2411- * See the License for the specific language governing permissions and
2412- * limitations under the License.
2413- */
2414-#include "lock_free_queue.h"
2415
2416=== removed file 'bin/debug_client/message-handler.xq'
2417--- bin/debug_client/message-handler.xq 2011-07-01 01:53:24 +0000
2418+++ bin/debug_client/message-handler.xq 1970-01-01 00:00:00 +0000
2419@@ -1,149 +0,0 @@
2420-import module namespace refl = 'http://www.zorba-xquery.com/modules/reflection';
2421-import module namespace sctx = "http://www.zorba-xquery.com/modules/introspection/sctx";
2422-import module namespace base64 = "http://www.zorba-xquery.com/modules/converters/base64";
2423-
2424-
2425-declare variable $local:localns as xs:string := 'http://www.w3.org/2005/xquery-local-functions';
2426-
2427-
2428-declare variable $local:endl as xs:string := '
2429-';
2430-
2431-declare function local:has-to-stop($resp as element())
2432-{
2433- fn:not(($resp/@command/data(.) eq "stop" and $resp/@reason/data(.) eq "ok")
2434- or ($resp/@status/data(.) eq "stopped")
2435- or ($resp/@status/data(.) eq "stopping"))
2436-};
2437-
2438-declare function local:status($resp as element())
2439-{
2440- fn:concat(
2441- "Status: ", $resp/@status/data(.), $local:endl,
2442- "Reason: ", $resp/@reason/data(.), $local:endl,
2443- let $msg := $resp/text()
2444- return
2445- if (fn:empty($msg) or $msg eq "") then
2446- ""
2447- else
2448- fn:concat($msg, $local:endl)
2449- )
2450-};
2451-
2452-
2453-declare function local:run($resp as element()) {
2454- if ($resp/@status/data(.) eq "starting") then
2455- "Starting query"
2456- else
2457- local:status($resp)
2458-};
2459-
2460-declare function local:stop($resp as element())
2461-{
2462- local:status($resp)
2463-};
2464-
2465-declare function local:breakpoint_set($resp as element())
2466-{
2467- if ($resp/error) then
2468- fn:concat("Error when setting a breakpoint: ", if ($resp/error/message) then $resp/error/message/text() else concat(" errcode: ", data($resp/error/@code)))
2469- else
2470- fn:concat("set breakpoint with id ", data($resp/@id), " and state ", data($resp/@state))
2471-};
2472-
2473-declare function local:breakpoint_list($resp as element())
2474-{
2475- string-join(
2476- for $b in $resp/breakpoint
2477- return concat("Breakpoint ", data($b/@id), " at ", data($b/@filename), ":", data($b/@lineno), " ", data($b/@state)),
2478- $local:endl
2479- )
2480-};
2481-
2482-declare function local:breakpoint_remove($resp as element())
2483-{
2484- "Breakpoint removed"
2485-};
2486-
2487-declare function local:stack_depth($resp as element())
2488-{
2489- concat("Depth: ", data($resp/@depth))
2490-};
2491-
2492-declare function local:stack_get($resp as element())
2493-{
2494- string-join(
2495- for $s in $resp/stack
2496- return concat("Level ", data($s/@level), " at ", data($s/@filename), ":", data($s/@lineno)),
2497- $local:endl
2498- )
2499-};
2500-
2501-
2502-declare function local:context_names($resp as element())
2503-{
2504- string-join(
2505- for $c in $resp/context
2506- return concat("Context: ", data($c/@name), " id: ", data($c/@id)),
2507- $local:endl
2508- )
2509-};
2510-
2511-declare function local:context_get($resp as element())
2512-{
2513- string-join(
2514- for $p in $resp/property
2515- return concat(data($p/@fullname), ": [", data($p/@type), "]",
2516- if ($p/text() ne "") then concat(": ", base64:decode($p/text())) else ""),
2517- $local:endl
2518- )
2519-};
2520-
2521-declare function local:eval($resp as element())
2522-{
2523- if (data($resp/@success) eq "1") then
2524- local:context_get($resp)
2525- else
2526- concat("Eval failed", ":", $resp/error/message/text())
2527-};
2528-
2529-declare function local:process-response($resp as element())
2530-{
2531- if (data($resp/@command) eq "") then
2532- (fn:true(), $resp/@transaction_id/data(.), local:status($resp))
2533- else
2534- let $fun-cont-name := fn:QName($local:localns, concat("local:", $resp/@command/data(.), "-cont"))
2535- let $fun-msg-name := fn:QName($local:localns, concat("local:", $resp/@command/data(.)))
2536- return (
2537- if (sctx:function-arguments-count($fun-cont-name) = 1) then
2538- refl:invoke-simple($fun-cont-name, $resp)
2539- else
2540- local:has-to-stop($resp),
2541- $resp/@transaction_id/data(.),
2542- if (sctx:function-arguments-count($fun-msg-name) = 1) then
2543- refl:invoke-simple($fun-msg-name, $resp)
2544- else
2545- "Recieved a message - command not implemented"
2546- )
2547-};
2548-
2549-declare function local:process-init($init as element())
2550-{
2551- fn:true(),
2552- 0,
2553- fn:concat(fn:string-join(
2554- ('Established connection with', $init/@language/data(.), 'client', $init/@appid/data(.)), ' '), '
2555-')
2556-};
2557-
2558-declare function local:main($response as element()) {
2559- let $process-fun as xs:QName := fn:QName($local:localns, concat("local:process-", node-name($response)))
2560- return
2561- if (sctx:function-arguments-count($process-fun) = 1) then
2562- refl:invoke-simple($process-fun, $response)
2563- else (
2564- true(),
2565- ($response/@transaction_id, 0)[1]/data(.),
2566- "ERROR: Recieved unknown node from client"
2567- )
2568-};
2569
2570=== renamed directory 'bin/debug_client' => 'bin/debugger'
2571=== renamed file 'bin/debug_client/debug_command.h' => 'bin/debugger/command.h'
2572--- bin/debug_client/debug_command.h 2011-07-04 08:05:46 +0000
2573+++ bin/debugger/command.h 2012-09-27 16:54:28 +0000
2574@@ -14,7 +14,9 @@
2575 * limitations under the License.
2576 */
2577 #pragma once
2578-#include <zorba/config.h>
2579+#ifndef ZORBA_DEBUGGER_COMMAND_H
2580+#define ZORBA_DEBUGGER_COMMAND_H
2581+
2582 #include <string>
2583 #include <vector>
2584 #include <iostream>
2585@@ -23,151 +25,18 @@
2586 #include <sstream>
2587 #include <memory>
2588 #include <typeinfo>
2589-#include "debug_client/tuple.h"
2590-
2591-namespace zorba { namespace debugclient {
2592+
2593+#include <zorba/config.h>
2594+
2595+#include "command_arg.h"
2596+#include "tuple.h"
2597+
2598+
2599+namespace zorba { namespace debugger {
2600
2601 class DebugClientParseException : public std::exception {
2602 };
2603
2604- template<typename Tuple>
2605- class CommandArg;
2606-
2607- template<typename Tuple>
2608- class CommandArgInstance {
2609- public:
2610- virtual int get_index() const = 0;
2611- virtual const CommandArg<Tuple>* get_arg() const = 0;
2612- virtual void insertValue(Tuple& t) = 0;
2613- virtual bool isSet(Tuple& t) const = 0;
2614- };
2615-
2616- template<typename T, int Idx, typename Tuple>
2617- class TypedCommandArgInstance : public CommandArgInstance<Tuple>
2618- {
2619- public:
2620- TypedCommandArgInstance(T aValue, const CommandArg<Tuple>* aArg)
2621- : theValue(aValue), theArg(aArg) {}
2622- virtual int get_index() const { return Idx; }
2623- virtual const CommandArg<Tuple>* get_arg() const { return theArg; }
2624- virtual void insertValue(Tuple& t)
2625- {
2626- ZORBA_TR1_NS::get<Idx>(t).first = true;
2627- ZORBA_TR1_NS::get<Idx>(t).second = theValue;
2628- }
2629- virtual bool isSet(Tuple& t) const
2630- {
2631- return ZORBA_TR1_NS::get<Idx>(t).first;
2632- }
2633- private:
2634- T theValue;
2635- const CommandArg<Tuple>* theArg;
2636- };
2637-
2638- template<typename Tuple>
2639- class CommandArgType {
2640- public:
2641- virtual CommandArgInstance<Tuple>* parse(const std::string& str,
2642- const CommandArg<Tuple>* arg) = 0;
2643- virtual bool isVoid() const = 0;
2644- virtual bool isSet(Tuple& t) const = 0;
2645- virtual ~CommandArgType() {}
2646- };
2647-
2648- template<typename T, int Idx, typename Tuple>
2649- class TypedCommandArgType : public CommandArgType<Tuple> {
2650- public:
2651- typedef T Type;
2652- public: // implementation
2653- TypedCommandArgType(bool aIsVoid) : theIsVoid(aIsVoid) {}
2654- TypedCommandArgType(const T& aValue,
2655- bool aIsVoid)
2656- : theDefault(aValue), theIsVoid(aIsVoid) {}
2657- virtual CommandArgInstance<Tuple>* parse(const std::string& str,
2658- const CommandArg<Tuple>* arg)
2659- {
2660- T aValue;
2661- std::stringstream stream(str);
2662- stream >> aValue;
2663- if (stream.fail()) {
2664- std::cerr << "Could not parse argument of type "
2665- << typeid(T).name()
2666- << std::endl;
2667- return 0;
2668- }
2669- return new TypedCommandArgInstance<T, Idx, Tuple>(aValue, arg);
2670- }
2671- virtual bool isVoid() const { return theIsVoid; }
2672- virtual bool isSet(Tuple& t) const
2673- {
2674- return ZORBA_TR1_NS::get<Idx>(t).first;
2675- }
2676- private:
2677- TypedCommandArgType<T, Idx, Tuple>() {}
2678- T theDefault;
2679- bool theIsVoid;
2680- };
2681-
2682- template<typename Tuple>
2683- class CommandArg {
2684- public:
2685- CommandArg(unsigned aId,
2686- CommandArgType<Tuple>* aType,
2687- const std::set<std::string>& aFlags,
2688- const std::string& aDescription,
2689- bool aIsRequired)
2690- : theId(aId),
2691- theType(aType),
2692- theFlags(aFlags),
2693- theDescription(aDescription),
2694- theIsRequired(aIsRequired)
2695- {
2696- }
2697- ~CommandArg() { delete theType; }
2698- unsigned get_id() const { return theId; }
2699- bool canHandle(const std::string& arg) const
2700- {
2701- if (theFlags.find(arg) != theFlags.end()) {
2702- return true;
2703- }
2704- return false;
2705- }
2706- CommandArgInstance<Tuple>* parse(const std::string& str) const
2707- {
2708- return theType->parse(str, this);
2709- }
2710- bool isVoid() const {
2711- return theType->isVoid();
2712- }
2713- bool isRequired() const { return theIsRequired; }
2714- std::string get_name() const {
2715- return *(theFlags.begin());
2716- }
2717- bool isSet(Tuple& t) const
2718- {
2719- return theType->isSet(t);
2720- }
2721- private:
2722- unsigned theId;
2723- CommandArgType<Tuple>* theType;
2724- std::set<std::string> theFlags;
2725- std::string theDescription;
2726- bool theIsRequired;
2727- };
2728-}} // end namespace zorba
2729-
2730-namespace std {
2731-
2732- /**
2733- * This is a helper split function
2734- */
2735- vector<string>& operator<< (vector<string>& vec, const string& str);
2736-
2737- set<string>& operator<< (set<string>& vec, const string& str);
2738-} //end namespace std
2739-
2740-namespace zorba { namespace debugclient {
2741-
2742 template<typename Func, typename Tuple, int CommandIdx>
2743 class CommandInstance
2744 {
2745@@ -188,8 +57,11 @@
2746
2747 class UntypedCommand {
2748 public:
2749- virtual std::string get_name() const = 0;
2750- virtual std::string get_description() const = 0;
2751+ virtual ~UntypedCommand() {}
2752+ virtual std::string getName() const = 0;
2753+ virtual std::set<std::string> getAliases() const = 0;
2754+ virtual std::string getDescription() const = 0;
2755+ virtual void printHelp() const = 0;
2756 virtual bool execute(const std::vector<std::string>& args) = 0;
2757 };
2758
2759@@ -197,77 +69,141 @@
2760 class Command : public UntypedCommand {
2761 public:
2762 Command(const std::string& aName, Func& aFunction, const std::string& aDescription)
2763- : theName(aName), theFunction(aFunction), theDescription(aDescription) {}
2764+ : theName(aName), theFunction(aFunction), theDescription(aDescription)
2765+ {}
2766+
2767+ Command(const std::string& aName, const std::set<std::string> aAliases, Func& aFunction, const std::string& aDescription)
2768+ : theName(aName), theAliases(aAliases), theFunction(aFunction), theDescription(aDescription)
2769+ {}
2770+
2771 ~Command();
2772+
2773 public:
2774- Command& operator() (unsigned aId,
2775- const std::string& aFlags,
2776- CommandArgType<Tuple>* aType,
2777- const std::string& aDescription = "",
2778- bool isRequired = false);
2779- virtual std::string get_name() const { return theName; }
2780- virtual std::string get_description() const { return theDescription; }
2781+
2782+ void
2783+ addArgument(
2784+ unsigned aId,
2785+ const std::string& aFlags,
2786+ CommandArgType<Tuple>* aType,
2787+ const std::string& aDescription = "",
2788+ bool isRequired = false);
2789+
2790+ static void
2791+ splitNames(
2792+ const std::string& names,
2793+ std::set<std::string>& set);
2794+
2795+ virtual std::string
2796+ getName() const
2797+ {
2798+ return theName;
2799+ }
2800+
2801+ virtual std::set<std::string> getAliases() const
2802+ {
2803+ return theAliases;
2804+ }
2805+
2806+ virtual std::string
2807+ getDescription() const
2808+ {
2809+ return theDescription;
2810+ }
2811+
2812+ virtual void
2813+ printHelp() const;
2814+
2815 virtual bool execute(const std::vector<std::string>& args)
2816 {
2817 CommandInstance<Func, Tuple, CommandIdx> instance(theFunction, theTuple);
2818- if (instance.parseArguments(args, theArgs))
2819+ if (instance.parseArguments(args, theArgs)) {
2820 instance.execute();
2821- else
2822- return false;
2823- return true;
2824+ return true;
2825+ }
2826+ return false;
2827 }
2828 private:
2829 std::string theName;
2830+ std::set<std::string> theAliases;
2831 Func& theFunction;
2832 Tuple theTuple;
2833 std::string theDescription;
2834- std::map<std::string, CommandArg<Tuple>* > theArgs;
2835- };
2836-
2837- class CommandLine {
2838- public:
2839- ~CommandLine();
2840- public:
2841- void execute();
2842- CommandLine& operator<< (UntypedCommand* aCommand);
2843- private:
2844- std::map<std::string, UntypedCommand*> theCommands;
2845- };
2846-
2847- template<typename Func, typename Tuple, int CommandIdx>
2848- Command<Func, Tuple, CommandIdx>::~Command()
2849- {
2850- typedef std::map<std::string, CommandArg<Tuple>* > ArgType;
2851- for (typename ArgType::iterator i = theArgs.begin(); i != theArgs.end(); ++i) {
2852- delete i->second;
2853- }
2854- }
2855-
2856-
2857- template<typename Func, typename Tuple, int CommandIdx>
2858- Command<Func, Tuple, CommandIdx>&
2859- Command<Func, Tuple, CommandIdx>::operator() (unsigned aId,
2860- const std::string& aFlags,
2861- CommandArgType<Tuple>* aType,
2862- const std::string& aDescription,
2863- bool isRequired)
2864- {
2865- std::set<std::string> args;
2866- args << aFlags;
2867- for (std::set<std::string>::iterator i = args.begin(); i != args.end(); ++i) {
2868- std::string toAdd = (i->size() == 1) ? "-" + *i : "--" + *i;
2869- theArgs.insert(std::make_pair(toAdd,
2870- new CommandArg<Tuple>(aId,
2871- aType,
2872- args,
2873- aDescription,
2874- isRequired)
2875- )
2876- );
2877- }
2878- return *this;
2879- }
2880-
2881+ std::map<std::string, CommandArg<Tuple>*> theArgs;
2882+ };
2883+
2884+/*****************************************************************************/
2885+/*****************************************************************************/
2886+
2887+template<typename Func, typename Tuple, int CommandIdx>
2888+Command<Func, Tuple, CommandIdx>::~Command()
2889+{
2890+ typedef std::map<std::string, CommandArg<Tuple>*> ArgType;
2891+ for (typename ArgType::iterator i = theArgs.begin(); i != theArgs.end(); ++i) {
2892+ delete i->second;
2893+ }
2894+}
2895+
2896+template<typename Func, typename Tuple, int CommandIdx>
2897+void
2898+Command<Func, Tuple, CommandIdx>::printHelp() const
2899+{
2900+ std::cout << "Purpose: " << getDescription() << std::endl;
2901+
2902+ typename std::map<std::string, CommandArg<Tuple>*>::const_iterator lIter = theArgs.begin();
2903+ if (lIter == theArgs.end()) {
2904+ std::cout << "This command has no arguments." << std::endl;
2905+ std::cout << std::endl;
2906+ return;
2907+ }
2908+
2909+ std::cout << "Arguments:" << std::endl << std::endl;
2910+ for (; lIter != theArgs.end(); ++lIter) {
2911+ std::cout << " " << lIter->first << "\t" << lIter->second->getDescription() << std::endl;
2912+ }
2913+ std::cout << std::endl;
2914+}
2915+
2916+template<typename Func, typename Tuple, int CommandIdx>
2917+void
2918+Command<Func, Tuple, CommandIdx>::splitNames(const std::string& aNames, std::set<std::string>& aSet)
2919+{
2920+ std::string::size_type before = 0;
2921+ std::string::size_type pos = aNames.find(" ", 0);
2922+ while (pos != aNames.npos) {
2923+ std::string lName = aNames.substr(before, pos);
2924+ if (lName != "") {
2925+ aSet.insert(lName);
2926+ }
2927+ before = pos + 1;
2928+ pos = aNames.find(" ", before);
2929+ }
2930+ std::string lName = aNames.substr(before);
2931+ if (lName != "") {
2932+ aSet.insert(lName);
2933+ }
2934+}
2935+
2936+template<typename Func, typename Tuple, int CommandIdx>
2937+void
2938+Command<Func, Tuple, CommandIdx>::addArgument(
2939+ unsigned aId,
2940+ const std::string& aFlags,
2941+ CommandArgType<Tuple>* aType,
2942+ const std::string& aDescription,
2943+ bool isRequired)
2944+{
2945+ std::set<std::string> lNames;
2946+ splitNames(aFlags, lNames);
2947+
2948+ for (std::set<std::string>::iterator i = lNames.begin(); i != lNames.end(); ++i) {
2949+ std::string toAdd = (i->size() == 1) ? "-" + *i : "--" + *i;
2950+ CommandArg<Tuple>* lArg = new CommandArg<Tuple>(aId, aType, lNames, aDescription, isRequired);
2951+ theArgs.insert(std::make_pair(toAdd, lArg));
2952+ }
2953+}
2954+
2955+/*****************************************************************************/
2956+
2957 template<typename Tuple, typename T, int Idx>
2958 CommandArgType<Tuple>* createArgType(Tuple t)
2959 {
2960@@ -290,6 +226,16 @@
2961 return new Command<Func, Tuple, CommandIdx>(aName, aFunction, aDescription);
2962 }
2963
2964+ template<int CommandIdx, typename Tuple, typename Func>
2965+ Command<Func, Tuple, CommandIdx>* createCommand(Tuple t,
2966+ const std::string& aName,
2967+ const std::set<std::string>& aAliases,
2968+ Func& aFunction,
2969+ const std::string& aDescription)
2970+ {
2971+ return new Command<Func, Tuple, CommandIdx>(aName, aAliases, aFunction, aDescription);
2972+ }
2973+
2974 template<typename Func, typename Tuple, int CommandIdx>
2975 bool CommandInstance<Func, Tuple, CommandIdx>::
2976 parseArguments(const std::vector<std::string>& args,
2977@@ -301,29 +247,34 @@
2978 for (ArgType::size_type i = 1; i < size; ++i) {
2979 typename CArgType::const_iterator pos = aCommandArgs.find(args[i]);
2980 if (pos == aCommandArgs.end()) {
2981- std::cerr << "Error: Unknown Argument " << args[i] << std::endl;
2982+ std::cerr << "Error: Unknown option " << args[i] << std::endl;
2983 parseError = true;
2984 return false;
2985 }
2986 const CommandArg<Tuple>& arg = *(pos->second);
2987- if (!arg.isVoid() && args[++i][0] == '-') {
2988- std::cerr << "Did not expect parameter for option " << args[i] << std::endl;
2989- return false;
2990- }
2991 std::auto_ptr<CommandArgInstance<Tuple> > instance;
2992 if (arg.isVoid()) {
2993 instance.reset(arg.parse("1"));
2994 } else {
2995+ ++i;
2996+ if (i >= size) {
2997+ std::cerr << "Error: Missing value for argument " << args[i - 1] << std::endl;
2998+ parseError = true;
2999+ allSet = false;
3000+ return false;
3001+ }
3002 instance.reset(arg.parse(args[i]));
3003 }
3004- instance->insertValue(theTuple);
3005+ if (instance.get()) {
3006+ instance->insertValue(theTuple);
3007+ }
3008 }
3009 bool allSet = true;
3010 for (typename CArgType::const_iterator i = aCommandArgs.begin();
3011 i != aCommandArgs.end(); ++i)
3012 {
3013 if (i->second->isRequired() && !i->second->isSet(theTuple)) {
3014- std::cerr << "Error: Argument " << i->second->get_name() << " not set" << std::endl;
3015+ std::cerr << "Error: Argument -" << i->second->getName() << " not set" << std::endl;
3016 allSet = false;
3017 }
3018 }
3019@@ -336,4 +287,7 @@
3020 theFunction.template handle<CommandIdx>(this->theTuple);
3021 }
3022
3023-}} // end of namespace zorba::debugclient
3024+} // namespace zorba
3025+} // namespace debugger
3026+
3027+#endif // ZORBA_DEBUGGER_COMMAND_H
3028
3029=== added file 'bin/debugger/command_arg.h'
3030--- bin/debugger/command_arg.h 1970-01-01 00:00:00 +0000
3031+++ bin/debugger/command_arg.h 2012-09-27 16:54:28 +0000
3032@@ -0,0 +1,237 @@
3033+/*
3034+ * Copyright 2006-2008 The FLWOR Foundation.
3035+ *
3036+ * Licensed under the Apache License, Version 2.0 (the "License");
3037+ * you may not use this file except in compliance with the License.
3038+ * You may obtain a copy of the License at
3039+ *
3040+ * http://www.apache.org/licenses/LICENSE-2.0
3041+ *
3042+ * Unless required by applicable law or agreed to in writing, software
3043+ * distributed under the License is distributed on an "AS IS" BASIS,
3044+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3045+ * See the License for the specific language governing permissions and
3046+ * limitations under the License.
3047+ */
3048+#pragma once
3049+#ifndef ZORBA_DEBUGGER_COMMAND_ARG_H
3050+#define ZORBA_DEBUGGER_COMMAND_ARG_H
3051+
3052+#include <string>
3053+#include <iostream>
3054+#include <set>
3055+#include <sstream>
3056+
3057+#include "tuple.h"
3058+
3059+
3060+namespace zorba { namespace debugger {
3061+
3062+template<typename Tuple>
3063+class CommandArg;
3064+
3065+template<typename Tuple>
3066+class CommandArgInstance {
3067+ public:
3068+ virtual int get_index() const = 0;
3069+ virtual const CommandArg<Tuple>* get_arg() const = 0;
3070+ virtual void insertValue(Tuple& t) = 0;
3071+ virtual bool isSet(Tuple& t) const = 0;
3072+};
3073+
3074+template<typename T, int Idx, typename Tuple>
3075+class TypedCommandArgInstance : public CommandArgInstance<Tuple>
3076+{
3077+ public:
3078+ TypedCommandArgInstance(T aValue, const CommandArg<Tuple>* aArg)
3079+ : theValue(aValue), theArg(aArg)
3080+ {
3081+ }
3082+
3083+ virtual int
3084+ get_index() const
3085+ {
3086+ return Idx;
3087+ }
3088+
3089+ virtual const CommandArg<Tuple>*
3090+ get_arg() const
3091+ {
3092+ return theArg;
3093+ }
3094+
3095+ virtual void
3096+ insertValue(Tuple& t)
3097+ {
3098+ ZORBA_TR1_NS::get<Idx>(t).first = true;
3099+ ZORBA_TR1_NS::get<Idx>(t).second = theValue;
3100+ }
3101+
3102+ virtual bool isSet(Tuple& t) const
3103+ {
3104+ return ZORBA_TR1_NS::get<Idx>(t).first;
3105+ }
3106+
3107+ private:
3108+
3109+ T theValue;
3110+ const CommandArg<Tuple>* theArg;
3111+};
3112+
3113+template<typename Tuple>
3114+class CommandArgType
3115+{
3116+ public:
3117+ virtual CommandArgInstance<Tuple>*
3118+ parse(
3119+ const std::string& str,
3120+ const CommandArg<Tuple>* arg) = 0;
3121+
3122+ virtual bool
3123+ isVoid() const = 0;
3124+
3125+ virtual bool
3126+ isSet(Tuple& t) const = 0;
3127+
3128+ virtual ~CommandArgType() {}
3129+};
3130+
3131+ template<typename T, int Idx, typename Tuple>
3132+ class TypedCommandArgType : public CommandArgType<Tuple> {
3133+ public:
3134+ typedef T Type;
3135+ public: // implementation
3136+ TypedCommandArgType(bool aIsVoid) : theIsVoid(aIsVoid) {}
3137+ TypedCommandArgType(const T& aValue,
3138+ bool aIsVoid)
3139+ : theDefault(aValue), theIsVoid(aIsVoid) {}
3140+ virtual CommandArgInstance<Tuple>* parse(const std::string& str,
3141+ const CommandArg<Tuple>* arg)
3142+ {
3143+ T aValue;
3144+
3145+ // special treatment for strings
3146+ // this is a double hack:
3147+ // - we check the type name if this starts with: class std::basic_string
3148+ // - we use void* in readEntireString to workaround the template type T
3149+ // which would otherwise complain during compilation if types and
3150+ // operators do not match
3151+ // TOSO: probably someone can find a more elegant solution
3152+ std::string lTypeName(typeid(T).name());
3153+ if (lTypeName.find("class std::basic_string") == 0) {
3154+ readEntireString(str, &aValue);
3155+ } else {
3156+ std::stringstream stream(str);
3157+ std::stringstream out;
3158+ stream >> aValue;
3159+ if (stream.fail()) {
3160+ std::cerr << "Error: Could not parse value \"" << str << "\" as type "
3161+ << typeid(T).name()
3162+ << std::endl;
3163+ return 0;
3164+ }
3165+ }
3166+
3167+ return new TypedCommandArgInstance<T, Idx, Tuple>(aValue, arg);
3168+ }
3169+ virtual bool isVoid() const { return theIsVoid; }
3170+ virtual bool isSet(Tuple& t) const
3171+ {
3172+ return ZORBA_TR1_NS::get<Idx>(t).first;
3173+ }
3174+ private:
3175+ void readEntireString(std::string aIn, void* aValue)
3176+ {
3177+ *((std::string*)aValue) = aIn;
3178+ }
3179+
3180+ TypedCommandArgType<T, Idx, Tuple>() {}
3181+ T theDefault;
3182+ bool theIsVoid;
3183+ };
3184+
3185+ template<typename Tuple>
3186+ class CommandArg {
3187+ public:
3188+ CommandArg(unsigned aId,
3189+ CommandArgType<Tuple>* aType,
3190+ const std::set<std::string>& aNames,
3191+ const std::string& aDescription,
3192+ bool aIsRequired)
3193+ : theId(aId),
3194+ theType(aType),
3195+ theNames(aNames),
3196+ theDescription(aDescription),
3197+ theIsRequired(aIsRequired)
3198+ {
3199+ }
3200+
3201+ ~CommandArg()
3202+ {
3203+ delete theType;
3204+ }
3205+
3206+ unsigned
3207+ get_id() const
3208+ {
3209+ return theId;
3210+ }
3211+
3212+ bool
3213+ canHandle(const std::string& arg) const
3214+ {
3215+ if (theNames.find(arg) != theNames.end()) {
3216+ return true;
3217+ }
3218+ return false;
3219+ }
3220+
3221+ CommandArgInstance<Tuple>*
3222+ parse(const std::string& str) const
3223+ {
3224+ return theType->parse(str, this);
3225+ }
3226+
3227+ bool
3228+ isVoid() const
3229+ {
3230+ return theType->isVoid();
3231+ }
3232+
3233+ bool
3234+ isRequired() const
3235+ {
3236+ return theIsRequired;
3237+ }
3238+
3239+ std::string
3240+ getName() const
3241+ {
3242+ return *(theNames.begin());
3243+ }
3244+
3245+ std::string
3246+ getDescription() const
3247+ {
3248+ return theDescription;
3249+ }
3250+
3251+ bool
3252+ isSet(Tuple& t) const
3253+ {
3254+ return theType->isSet(t);
3255+ }
3256+
3257+ private:
3258+
3259+ unsigned theId;
3260+ CommandArgType<Tuple>* theType;
3261+ std::set<std::string> theNames;
3262+ std::string theDescription;
3263+ bool theIsRequired;
3264+ };
3265+
3266+} // namespace zorba
3267+} // namespace debugger
3268+
3269+#endif // ZORBA_DEBUGGER_COMMAND_ARG_H
3270
3271=== modified file 'bin/debugger/command_line_handler.cpp'
3272--- bin/debug_client/command_line_handler.cpp 2011-07-01 01:53:24 +0000
3273+++ bin/debugger/command_line_handler.cpp 2012-09-27 16:54:28 +0000
3274@@ -1,4 +1,4 @@
3275-/*
3276+ /*
3277 * Copyright 2006-2008 The FLWOR Foundation.
3278 *
3279 * Licensed under the Apache License, Version 2.0 (the "License");
3280@@ -23,225 +23,385 @@
3281 # define msleep Sleep
3282 #endif
3283
3284-namespace zorba { namespace debugclient {
3285+#include "command_prompt.h"
3286+
3287+
3288+namespace zorba { namespace debugger {
3289
3290- using namespace ::std;
3291 using namespace ::ZORBA_TR1_NS;
3292
3293- CommandLineHandler::CommandLineHandler(unsigned short port,
3294- LockFreeConsumer<std::size_t>& aConsumer,
3295- LockFreeConsumer<bool>& aContinueQueue,
3296- EventHandler& aHandler,
3297- CommandLine& aCommandLine)
3298+CommandLineHandler::CommandLineHandler(
3299+ unsigned short port,
3300+ LockFreeConsumer<std::size_t>& aConsumer,
3301+ LockFreeConsumer<bool>& aContinueQueue,
3302+ EventHandler* aHandler,
3303+ CommandPrompt* aCommandPrompt)
3304 : theConsumer(aConsumer),
3305 theContinueQueue(aContinueQueue),
3306- theClient(DebuggerClient::createDebuggerClient(&aHandler, port, "localhost")),
3307- theCommandLine(aCommandLine),
3308- theQuit(false), theContinue(false), theWaitFor(0)
3309+ theClient(DebuggerClient::createDebuggerClient(aHandler, port, "localhost")),
3310+ theCommandLine(aCommandPrompt),
3311+ theQuit(false), theTerminated(true), theContinue(false), theWaitFor(0)
3312 {
3313 addCommands();
3314 }
3315
3316- CommandLineHandler::~CommandLineHandler()
3317- {
3318- }
3319+CommandLineHandler::~CommandLineHandler()
3320+{
3321+}
3322
3323- void CommandLineHandler::execute()
3324- {
3325- theClient->accept();
3326- std::set<std::size_t> lIdList;
3327- do {
3328+void
3329+CommandLineHandler::execute()
3330+{
3331+ theClient->accept();
3332+ std::set<std::size_t> lIdList;
3333+ do {
3334+ getNextId(lIdList);
3335+ while (lIdList.find(theWaitFor) == lIdList.end()) {
3336 getNextId(lIdList);
3337- while (!theQuit && lIdList.find(theWaitFor) == lIdList.end()) {
3338- getNextId(lIdList);
3339- msleep(20);
3340- }
3341- while (!theContinueQueue.consume(theQuit)) {
3342- msleep(20);
3343- }
3344- theQuit = !theQuit;
3345- if (!theQuit) {
3346- theCommandLine.execute();
3347- while (theContinue) {
3348- theContinue = false;
3349- theCommandLine.execute();
3350- }
3351- }
3352- } while (!theQuit);
3353- }
3354-
3355- void CommandLineHandler::getNextId(std::set<std::size_t>& aIdList)
3356- {
3357- std::size_t result;
3358- if (theConsumer.consume(result)) {
3359- aIdList.insert(result);
3360- }
3361- }
3362-
3363- template<>
3364- void CommandLineHandler::handle<Status>(ZORBA_TR1_NS::tuple<> &t)
3365- {
3366- theWaitFor = theClient->status();
3367- }
3368-
3369- template<>
3370- void CommandLineHandler::handle<Quit>(ZORBA_TR1_NS::tuple<> &t)
3371- {
3372+ msleep(20);
3373+ }
3374+ bool lCanQuit;
3375+ while (!theContinueQueue.consume(lCanQuit)) {
3376+ msleep(20);
3377+ }
3378+ if (lCanQuit) {
3379+ theTerminated = true;
3380+ }
3381+ theCommandLine->execute();
3382+ while (theContinue) {
3383+ theContinue = false;
3384+ theCommandLine->execute();
3385+ }
3386+ } while (!theQuit);
3387+}
3388+
3389+void
3390+CommandLineHandler::getNextId(std::set<std::size_t>& aIdList)
3391+{
3392+ std::size_t result;
3393+ if (theConsumer.consume(result)) {
3394+ aIdList.insert(result);
3395+ }
3396+}
3397+
3398+template<>
3399+void
3400+CommandLineHandler::handle<Status>(ZORBA_TR1_NS::tuple<> &t)
3401+{
3402+ theWaitFor = theClient->status();
3403+}
3404+
3405+template<>
3406+void
3407+CommandLineHandler::handle<Variables>(ZORBA_TR1_NS::tuple<> &t)
3408+{
3409+ theWaitFor = theClient->variables();
3410+}
3411+
3412+template<>
3413+void
3414+CommandLineHandler::handle<Quit>(ZORBA_TR1_NS::tuple<> &t)
3415+{
3416+ if (!theTerminated) {
3417 bool answered = false;
3418 while (!answered) {
3419 std::cout << "Do you really want to stop debugging and exit? (y/n) ";
3420- char answer;
3421- std::cin >> answer;
3422- std::cout << std::endl;
3423- if (answer == 'y') {
3424+ std::string lAnswer;
3425+ std::getline(std::cin, lAnswer);
3426+ if (lAnswer == "y" || lAnswer == "yes") {
3427 answered = true;
3428- } else if (answered == 'n') {
3429+ } else if (lAnswer == "n" || lAnswer == "no") {
3430 theContinue = true;
3431 return;
3432 }
3433 }
3434- theWaitFor = theClient->stop();
3435- theClient->quit();
3436- }
3437-
3438- template<>
3439- void CommandLineHandler::handle<Run>(ZORBA_TR1_NS::tuple<> &t)
3440- {
3441- theWaitFor = theClient->run();
3442- }
3443-
3444- template<>
3445- void CommandLineHandler::handle<BreakpointSet>(std::tr1::tuple<bstring, bstring, bint> &t)
3446- {
3447- DebuggerClient::BreakpointType lType = DebuggerClient::Line;
3448- bool lEnabled = true;
3449- if (get<0>(t).first) {
3450- if (get<0>(t).second == "disabled") {
3451- lEnabled = false;
3452- }
3453- }
3454- theWaitFor = theClient->breakpoint_set(lType,
3455- lEnabled,
3456- get<1>(t).second,
3457- get<2>(t).second);
3458- }
3459-
3460- template<>
3461- void CommandLineHandler::handle<BreakpointGet>(tuple<bint> &aTuple)
3462- {
3463- theWaitFor = theClient->breakpoint_get(get<0>(aTuple).second);
3464- }
3465-
3466- template<>
3467- void CommandLineHandler::handle<BreakpointDel>(tuple<bint> &aTuple)
3468- {
3469- theWaitFor = theClient->breakpoint_remove(get<0>(aTuple).second);
3470- }
3471-
3472- template<>
3473- void CommandLineHandler::handle<BreakpointList>(tuple<> &t)
3474- {
3475- theWaitFor = theClient->breakpoint_list();
3476- }
3477-
3478- template<>
3479- void CommandLineHandler::handle<StackDepth>(tuple<> &t)
3480- {
3481- theWaitFor = theClient->stack_depth();
3482- }
3483-
3484- template<>
3485- void CommandLineHandler::handle<StackGet>(tuple<bint> &aTuple)
3486- {
3487- if (get<0>(aTuple).first) {
3488- theWaitFor = theClient->stack_get(get<0>(aTuple).second);
3489- } else {
3490- theWaitFor = theClient->stack_get();
3491- }
3492- }
3493-
3494- template<>
3495- void CommandLineHandler::handle<ContextNames>(tuple<>& aTuple)
3496- {
3497- theWaitFor = theClient->context_names();
3498- }
3499-
3500- template<>
3501- void CommandLineHandler::handle<ContextGet>(tuple<bint> &aTuple)
3502- {
3503- if (get<0>(aTuple).first)
3504- theWaitFor = theClient->context_get(get<0>(aTuple).second);
3505- else
3506- theWaitFor = theClient->context_get();
3507- }
3508-
3509- template<>
3510- void CommandLineHandler::handle<Eval>(tuple<bstring>& aTuple)
3511- {
3512- theWaitFor = theClient->eval(get<0>(aTuple).second);
3513- }
3514-
3515- void CommandLineHandler::addCommands()
3516- {
3517- theCommandLine << createCommand<Status>(tuple<>(), "status", *this,
3518- "Gets the status of the server");
3519- theCommandLine << createCommand<Quit>(tuple<>(), "quit", *this,
3520- "Stops debugging and quits the client");
3521- theCommandLine << createCommand<Run>(tuple<>(), "run", *this, "Run the Query");
3522- {
3523- Command<CommandLineHandler, tuple<bstring, bstring, bint>, BreakpointSet>* lCommand =
3524- createCommand<BreakpointSet>(tuple<bstring, bstring, bint>(), "break", *this, "Set a breakpoint");
3525- (*lCommand)(0, "s", createArgType<tuple<bstring, bstring, bint>, std::string, 0>(tuple<bstring, bstring, bint>()),
3526- "breakpoint state (enabled or disabled - default: enabled)", false);
3527- (*lCommand)(1, "f", createArgType<tuple<bstring, bstring, bint>, std::string, 1>(tuple<bstring, bstring, bint>()),
3528- "The name of the file where to stop", true);
3529- (*lCommand)(2, "l", createArgType<tuple<bstring, bstring, bint>, int, 2>(tuple<bstring, bstring, bint>()),
3530- "The line number", true);
3531-
3532- theCommandLine << lCommand;
3533- }
3534- {
3535- Command<CommandLineHandler, tuple<bint>, BreakpointGet>* lCommand
3536- = createCommand<BreakpointGet>(tuple<bint>(), "binfo", *this,
3537- "Get information about a given breakpoint");
3538- (*lCommand)(0, "i", createArgType<tuple<bint>, int, 0>(tuple<bint>()),
3539- "The id of the breakpoint", true);
3540-
3541- theCommandLine << lCommand;
3542- }
3543- {
3544- Command<CommandLineHandler, tuple<bint>, BreakpointDel>* lCommand
3545- = createCommand<BreakpointDel>(tuple<bint>(), "bdel", *this, "Delete a breakpoint with a given id");
3546- (*lCommand)(0, "i", createArgType<tuple<bint>, int, 0>(tuple<bint>()), "The id of the breakpoint", true);
3547-
3548- theCommandLine << lCommand;
3549- }
3550- theCommandLine << createCommand<BreakpointList>(tuple<>(), "blist", *this, "List all set breakpoints");
3551- theCommandLine << createCommand<StackDepth>(tuple<>(), "sdepth", *this, "Get the depth of the stack");
3552- {
3553- Command<CommandLineHandler, tuple<bint>, StackGet>* lCommand
3554- = createCommand<StackGet>(tuple<bint>(), "sget", *this, "Get information about one or all stack frames");
3555- (*lCommand)(0, "d", createArgType<tuple<bint>, int, 0>(tuple<bint>()), "The stack entry two show (show all if not provided)", false);
3556- theCommandLine << lCommand;
3557- }
3558- theCommandLine << createCommand<ContextNames>(tuple<>(), "cnames", *this, "Get the names of the avilable contexts");
3559- {
3560- Command<CommandLineHandler, tuple<bint>, ContextGet>* lCommand
3561- = createCommand<ContextGet>(tuple<bint>(), "cget", *this, "Get a context");
3562-
3563- (*lCommand)(0, "c", createArgType<tuple<bint>, int, 0>(tuple<bint>()), "The id of the context", false);
3564-
3565- theCommandLine << lCommand;
3566- }
3567- {
3568- Command<CommandLineHandler, tuple<bstring>, Eval>* lCommand
3569- = createCommand<Eval>(tuple<bstring>(), "eval", *this, "Evaluate a function");
3570-
3571- (*lCommand)(0, "c", createArgType<tuple<bstring>, std::string, 0>(tuple<bstring>()), "The command to evaluate", true);
3572-
3573- theCommandLine << lCommand;
3574- }
3575- }
3576-
3577-}} // namespace zorba::debugclient
3578-
3579+ }
3580+ theWaitFor = theClient->stop(true);
3581+ theClient->quit();
3582+ theQuit = true;
3583+}
3584+
3585+template<>
3586+void
3587+CommandLineHandler::handle<Run>(ZORBA_TR1_NS::tuple<> &t)
3588+{
3589+ theTerminated = false;
3590+ theWaitFor = theClient->run();
3591+}
3592+
3593+template<>
3594+void
3595+CommandLineHandler::handle<Stop>(ZORBA_TR1_NS::tuple<> &t)
3596+{
3597+ theWaitFor = theClient->stop(false);
3598+}
3599+
3600+template<>
3601+void
3602+CommandLineHandler::handle<BreakpointSet>(std::tr1::tuple<bstring, bstring, bint> &aTuple)
3603+{
3604+ DebuggerClient::BreakpointType lType = DebuggerClient::Line;
3605+ bool lEnabled = true;
3606+ if (get<0>(aTuple).first) {
3607+ if (get<0>(aTuple).second == "disabled") {
3608+ lEnabled = false;
3609+ }
3610+ }
3611+ theWaitFor = theClient->breakpoint_set(lType,
3612+ lEnabled,
3613+ get<1>(aTuple).second,
3614+ get<2>(aTuple).second);
3615+}
3616+
3617+template<>
3618+void
3619+CommandLineHandler::handle<BreakpointGet>(tuple<bint> &aTuple)
3620+{
3621+ theWaitFor = theClient->breakpoint_get(get<0>(aTuple).second);
3622+}
3623+
3624+template<>
3625+void
3626+CommandLineHandler::handle<BreakpointRemove>(tuple<bint> &aTuple)
3627+{
3628+ theWaitFor = theClient->breakpoint_remove(get<0>(aTuple).second);
3629+}
3630+
3631+template<>
3632+void
3633+CommandLineHandler::handle<BreakpointList>(tuple<> &aTuple)
3634+{
3635+ theWaitFor = theClient->breakpoint_list();
3636+}
3637+
3638+template<>
3639+void
3640+CommandLineHandler::handle<StackDepth>(tuple<> &aTuple)
3641+{
3642+ theWaitFor = theClient->stack_depth();
3643+}
3644+
3645+template<>
3646+void
3647+CommandLineHandler::handle<StackGet>(tuple<bint> &aTuple)
3648+{
3649+ if (get<0>(aTuple).first) {
3650+ theWaitFor = theClient->stack_get(get<0>(aTuple).second);
3651+ } else {
3652+ theWaitFor = theClient->stack_get();
3653+ }
3654+}
3655+
3656+template<>
3657+void
3658+CommandLineHandler::handle<ContextNames>(tuple<>& aTuple)
3659+{
3660+ theWaitFor = theClient->context_names();
3661+}
3662+
3663+template<>
3664+void CommandLineHandler::handle<ContextGet>(tuple<bint, bint> &aTuple)
3665+{
3666+ int lDepth = -1;
3667+ int lContext = -1;
3668+
3669+ if (get<0>(aTuple).first) {
3670+ lDepth = get<0>(aTuple).second;
3671+ }
3672+ if (get<1>(aTuple).first) {
3673+ lContext = get<1>(aTuple).second;
3674+ }
3675+ theWaitFor = theClient->context_get(lDepth, lContext);
3676+}
3677+
3678+template<>
3679+void CommandLineHandler::handle<Source>(tuple<bint, bint, bstring> &aTuple)
3680+{
3681+ theWaitFor = theClient->source(
3682+ get<2>(aTuple).second,
3683+ get<0>(aTuple).second,
3684+ get<1>(aTuple).second);
3685+}
3686+
3687+template<>
3688+void CommandLineHandler::handle<Eval>(tuple<bstring>& aTuple)
3689+{
3690+ theWaitFor = theClient->eval(get<0>(aTuple).second);
3691+}
3692+
3693+template<>
3694+void
3695+CommandLineHandler::handle<StepIn>(ZORBA_TR1_NS::tuple<> &t)
3696+{
3697+ theTerminated = false;
3698+ theWaitFor = theClient->step_into();
3699+}
3700+
3701+template<>
3702+void
3703+CommandLineHandler::handle<StepOut>(ZORBA_TR1_NS::tuple<> &t)
3704+{
3705+ theWaitFor = theClient->step_out();
3706+}
3707+
3708+template<>
3709+void
3710+CommandLineHandler::handle<StepOver>(ZORBA_TR1_NS::tuple<> &t)
3711+{
3712+ theTerminated = false;
3713+ theWaitFor = theClient->step_over();
3714+}
3715+
3716+void
3717+CommandLineHandler::addCommands()
3718+{
3719+ typedef tuple<> TUPLE;
3720+ typedef tuple<bint> TUPLE_INT;
3721+ typedef tuple<bstring> TUPLE_STR;
3722+ typedef tuple<bint, bint> TUPLE_INT_INT;
3723+ typedef tuple<bstring, bstring, bint> TUPLE_STR_STR_INT;
3724+ typedef tuple<bint, bint, bstring> TUPLE_INT_INT_STR;
3725+
3726+ // DBGP: status
3727+ *theCommandLine << createCommand<Status>(TUPLE(), "status", *this, "Gets the status of the server");
3728+
3729+ // ALIAS: variables (context_get -c -1)
3730+ {
3731+ std::set<std::string> lAliases;
3732+ lAliases.insert("vars");
3733+ *theCommandLine << createCommand<Variables>(TUPLE(), "variables", lAliases, *this, "Gets the variables visible in the current scope");
3734+ }
3735+
3736+ // META: quit
3737+ *theCommandLine << createCommand<Quit>(TUPLE(), "quit", *this, "Stops debugging and quits the client");
3738+
3739+ // DBGP: run
3740+ *theCommandLine << createCommand<Run>(TUPLE(), "run", *this, "Run the query");
3741+
3742+ // DBGP: stop
3743+ *theCommandLine << createCommand<Stop>(TUPLE(), "stop", *this, "Stop the query");
3744+
3745+ // DBGP: breakpoint_set
3746+ {
3747+ std::set<std::string> lAliases;
3748+ lAliases.insert("break");
3749+ Command<CommandLineHandler, TUPLE_STR_STR_INT, BreakpointSet>* lCommand =
3750+ createCommand<BreakpointSet>(TUPLE_STR_STR_INT(), "bset", lAliases, *this, "Set a breakpoint");
3751+
3752+ 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);
3753+ lCommand->addArgument(1, "f", createArgType<TUPLE_STR_STR_INT, std::string, 1>(TUPLE_STR_STR_INT()), "name of the file where to stop", true);
3754+ lCommand->addArgument(2, "l", createArgType<TUPLE_STR_STR_INT, int, 2>(TUPLE_STR_STR_INT()), "line number", true);
3755+
3756+ *theCommandLine << lCommand;
3757+ }
3758+
3759+ // DBGP: breakpoint_get
3760+ {
3761+ Command<CommandLineHandler, TUPLE_INT, BreakpointGet>* lCommand =
3762+ createCommand<BreakpointGet>(TUPLE_INT(), "bget", *this, "Get information about a given breakpoint");
3763+
3764+ lCommand->addArgument(0, "d", createArgType<TUPLE_INT, int, 0>(TUPLE_INT()), "breakpoint ID", true);
3765+
3766+ *theCommandLine << lCommand;
3767+ }
3768+
3769+ // DBGP: breakpoint_remove
3770+ {
3771+ std::set<std::string> lAliases;
3772+ lAliases.insert("clear");
3773+ lAliases.insert("delete");
3774+ Command<CommandLineHandler, TUPLE_INT, BreakpointRemove>* lCommand =
3775+ createCommand<BreakpointRemove>(TUPLE_INT(), "bremove", lAliases, *this, "Delete a breakpoint");
3776+
3777+ lCommand->addArgument(0, "d", createArgType<TUPLE_INT, int, 0>(TUPLE_INT()), "breakpoint ID", true);
3778+
3779+ *theCommandLine << lCommand;
3780+ }
3781+
3782+ // DBGP: breakpoint_list
3783+ *theCommandLine << createCommand<BreakpointList>(TUPLE(), "blist", *this, "List all set breakpoints");
3784+
3785+ // DBGP: stack_depth
3786+ *theCommandLine << createCommand<StackDepth>(TUPLE(), "sdepth", *this, "Get the depth of the stack");
3787+
3788+ // DBGP: stack_get
3789+ {
3790+ Command<CommandLineHandler, TUPLE_INT, StackGet>* lCommand =
3791+ createCommand<StackGet>(TUPLE_INT(), "sget", *this, "Get information about one or all stack frames");
3792+
3793+ 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);
3794+
3795+ *theCommandLine << lCommand;
3796+ }
3797+
3798+ // DBGP: context_names
3799+ *theCommandLine << createCommand<ContextNames>(tuple<>(), "cnames", *this, "Get the names of the avilable contexts");
3800+ // the DBGP -d arguments for this command is omitted since we always have/return: 0 - Local, 1 - Global
3801+
3802+ // DBGP: context_get
3803+ {
3804+ Command<CommandLineHandler, TUPLE_INT_INT, ContextGet>* lCommand =
3805+ createCommand<ContextGet>(TUPLE_INT_INT(), "cget", *this, "Get a context (list variables in this context)");
3806+
3807+ lCommand->addArgument(0, "d", createArgType<TUPLE_INT_INT, int, 0>(TUPLE_INT_INT()), "stack depth (optional, default: 0)", false);
3808+ 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);
3809+
3810+ *theCommandLine << lCommand;
3811+ }
3812+
3813+ // DBGP: source
3814+ {
3815+ std::set<std::string> lAliases;
3816+ lAliases.insert("list");
3817+ Command<CommandLineHandler, TUPLE_INT_INT_STR, Source>* lCommand =
3818+ createCommand<Source>(TUPLE_INT_INT_STR(), "source", lAliases, *this, "List source code");
3819+
3820+ lCommand->addArgument(0, "b", createArgType<TUPLE_INT_INT_STR, int, 0>(TUPLE_INT_INT_STR()), "begin line (optional, default: first line)", false);
3821+ lCommand->addArgument(1, "e", createArgType<TUPLE_INT_INT_STR, int, 1>(TUPLE_INT_INT_STR()), "end line (optional, default: last line)", false);
3822+ 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);
3823+
3824+ *theCommandLine << lCommand;
3825+ }
3826+
3827+ // DBGP: eval
3828+ {
3829+ std::set<std::string> lAliases;
3830+ lAliases.insert("print");
3831+ Command<CommandLineHandler, TUPLE_STR, Eval>* lCommand =
3832+ createCommand<Eval>(TUPLE_STR(), "eval", lAliases, *this, "Evaluate an expression");
3833+
3834+ // TODO: this argument should not be here at all. Eval has the form: eval -i transaction_id -- {DATA}
3835+ // Eval should be called with a command like: eval 1 + 3
3836+ // - no need for an argument name
3837+ // - everything following the fist contiguous set of whitespaces are sent as string
3838+ lCommand->addArgument(0, "c", createArgType<TUPLE_STR, std::string, 0>(TUPLE_STR()), "expression to evaluate", true);
3839+
3840+ *theCommandLine << lCommand;
3841+ }
3842+
3843+ // DBGP: step_in
3844+ {
3845+ std::set<std::string> lAliases;
3846+ lAliases.insert("step");
3847+ lAliases.insert("s");
3848+ *theCommandLine << createCommand<StepIn>(TUPLE(), "in", lAliases, *this, "Step in");
3849+ }
3850+
3851+ // DBGP: step_out
3852+ {
3853+ std::set<std::string> lAliases;
3854+ lAliases.insert("finish");
3855+ *theCommandLine << createCommand<StepOut>(TUPLE(), "out", lAliases, *this, "Step out");
3856+ }
3857+
3858+ // DBGP: step_over
3859+ {
3860+ std::set<std::string> lAliases;
3861+ lAliases.insert("next");
3862+ lAliases.insert("n");
3863+ *theCommandLine << createCommand<StepOver>(TUPLE(), "over", lAliases, *this, "Step over");
3864+ }
3865+}
3866+
3867+} // namespace zorba
3868+} // namespace debugger
3869
3870=== modified file 'bin/debugger/command_line_handler.h'
3871--- bin/debug_client/command_line_handler.h 2011-07-01 01:53:24 +0000
3872+++ bin/debugger/command_line_handler.h 2012-09-27 16:54:28 +0000
3873@@ -14,46 +14,71 @@
3874 * limitations under the License.
3875 */
3876 #pragma once
3877+#ifndef ZORBA_DEBUGGER_COMMAND_LINE_HANDLER_H
3878+#define ZORBA_DEBUGGER_COMMAND_LINE_HANDLER_H
3879
3880 #include <set>
3881 #include <cassert>
3882+
3883 #include <zorba/debugger_client.h>
3884-#include "debug_command.h"
3885+
3886+#include "command.h"
3887 #include "event_handler.h"
3888
3889-namespace zorba { namespace debugclient {
3890-
3891+
3892+namespace zorba { namespace debugger {
3893+
3894+ class CommandPrompt;
3895+
3896 enum Commands {
3897 Status,
3898+ Variables,
3899+ Quit,
3900 Run,
3901+ Stop,
3902 BreakpointSet,
3903 BreakpointGet,
3904- BreakpointDel,
3905+ BreakpointRemove,
3906 BreakpointList,
3907 StackDepth,
3908 StackGet,
3909 ContextNames,
3910 ContextGet,
3911+ Source,
3912 Eval,
3913- Quit
3914+ StepIn,
3915+ StepOut,
3916+ StepOver
3917 };
3918
3919- class CommandLineHandler {
3920+class CommandLineHandler
3921+{
3922 private:
3923+
3924 typedef std::pair<bool, std::string> bstring;
3925 typedef std::pair<bool, int> bint;
3926+
3927 public:
3928- CommandLineHandler(unsigned short port,
3929- LockFreeConsumer<std::size_t>& aConsumer,
3930- LockFreeConsumer<bool>& aContinueQueue,
3931- EventHandler& aHandler,
3932- CommandLine& aCommandLine);
3933+
3934+ CommandLineHandler(
3935+ unsigned short port,
3936+ LockFreeConsumer<std::size_t>& aConsumer,
3937+ LockFreeConsumer<bool>& aContinueQueue,
3938+ EventHandler* aHandler,
3939+ CommandPrompt* aCommandPrompt);
3940+
3941 ~CommandLineHandler();
3942+
3943 public:
3944 void execute();
3945+
3946 public: // Handlers
3947+
3948 template<int>
3949- void handle(ZORBA_TR1_NS::tuple<>& aTuple) { assert(false); }
3950+ void handle(ZORBA_TR1_NS::tuple<>& aTuple)
3951+ {
3952+ assert(false);
3953+ }
3954
3955 template<int>
3956 void handle(ZORBA_TR1_NS::tuple<bstring, bstring, bint>& t)
3957@@ -62,63 +87,96 @@
3958 }
3959
3960 template<int>
3961+ void handle(ZORBA_TR1_NS::tuple<bint, bint, bstring>& t)
3962+ {
3963+ assert(false);
3964+ }
3965+
3966+ template<int>
3967 void handle(ZORBA_TR1_NS::tuple<bint>& aTuple)
3968 {
3969 assert(false);
3970 }
3971
3972 template<int>
3973+ void handle(ZORBA_TR1_NS::tuple<bint, bint>& aTuple)
3974+ {
3975+ assert(false);
3976+ }
3977+
3978+ template<int>
3979 void handle(ZORBA_TR1_NS::tuple<bstring>& aTuple)
3980 {
3981 assert(false);
3982 }
3983+
3984 private:
3985- LockFreeConsumer<std::size_t>& theConsumer;
3986- LockFreeConsumer<bool>& theContinueQueue;
3987- DebuggerClient* theClient;
3988- CommandLine& theCommandLine;
3989- bool theQuit;
3990- bool theContinue;
3991- std::size_t theWaitFor;
3992+ LockFreeConsumer<std::size_t>& theConsumer;
3993+ LockFreeConsumer<bool>& theContinueQueue;
3994+ DebuggerClient* theClient;
3995+ CommandPrompt* theCommandLine;
3996+ bool theQuit;
3997+ bool theTerminated;
3998+ bool theContinue;
3999+ std::size_t theWaitFor;
4000+
4001 private:
4002 void getNextId(std::set<std::size_t>& aIdList);
4003 void addCommands();
4004- };
4005-
4006- template<>
4007- void CommandLineHandler::handle<Status> (ZORBA_TR1_NS::tuple<>& t);
4008-
4009- template<>
4010- void CommandLineHandler::handle<Quit> (ZORBA_TR1_NS::tuple<>& t);
4011-
4012- template<>
4013- void CommandLineHandler::handle<Run> (ZORBA_TR1_NS::tuple<> &t);
4014-
4015- template<>
4016- void CommandLineHandler::handle<StackDepth> (ZORBA_TR1_NS::tuple<>& t);
4017-
4018- template<>
4019- void CommandLineHandler::handle<BreakpointList> (ZORBA_TR1_NS::tuple<>& aTuple);
4020-
4021- template<>
4022- void CommandLineHandler::handle<BreakpointSet> (ZORBA_TR1_NS::tuple<bstring, bstring, bint> &t);
4023-
4024- template<>
4025- void CommandLineHandler::handle<BreakpointGet> (ZORBA_TR1_NS::tuple<bint>& aTuple);
4026-
4027- template<>
4028- void CommandLineHandler::handle<BreakpointDel>(ZORBA_TR1_NS::tuple<bint> &aTuple);
4029-
4030- template<>
4031- void CommandLineHandler::handle<StackGet> (ZORBA_TR1_NS::tuple<bint>& aTuple);
4032-
4033- template<>
4034- void CommandLineHandler::handle<ContextNames>(ZORBA_TR1_NS::tuple<> &aTuple);
4035-
4036- template<>
4037- void CommandLineHandler::handle<ContextGet>(ZORBA_TR1_NS::tuple<bint> &aTuple);
4038-
4039- template<>
4040- void CommandLineHandler::handle<Eval>(ZORBA_TR1_NS::tuple<bstring>& aTuple);
4041-
4042-}} // close namespaces zorba::debugclient
4043+};
4044+
4045+template<>
4046+void CommandLineHandler::handle<Status> (ZORBA_TR1_NS::tuple<>& t);
4047+
4048+template<>
4049+void CommandLineHandler::handle<Quit> (ZORBA_TR1_NS::tuple<>& t);
4050+
4051+template<>
4052+void CommandLineHandler::handle<Run> (ZORBA_TR1_NS::tuple<> &t);
4053+
4054+template<>
4055+void CommandLineHandler::handle<Stop> (ZORBA_TR1_NS::tuple<> &t);
4056+
4057+template<>
4058+void CommandLineHandler::handle<StackDepth> (ZORBA_TR1_NS::tuple<>& t);
4059+
4060+template<>
4061+void CommandLineHandler::handle<BreakpointList> (ZORBA_TR1_NS::tuple<>& aTuple);
4062+
4063+template<>
4064+void CommandLineHandler::handle<BreakpointSet> (ZORBA_TR1_NS::tuple<bstring, bstring, bint> &t);
4065+
4066+template<>
4067+void CommandLineHandler::handle<BreakpointGet> (ZORBA_TR1_NS::tuple<bint>& aTuple);
4068+
4069+template<>
4070+void CommandLineHandler::handle<BreakpointRemove>(ZORBA_TR1_NS::tuple<bint> &aTuple);
4071+
4072+template<>
4073+void CommandLineHandler::handle<StackGet> (ZORBA_TR1_NS::tuple<bint>& aTuple);
4074+
4075+template<>
4076+void CommandLineHandler::handle<ContextNames>(ZORBA_TR1_NS::tuple<> &aTuple);
4077+
4078+template<>
4079+void CommandLineHandler::handle<ContextGet>(ZORBA_TR1_NS::tuple<bint, bint> &aTuple);
4080+
4081+template<>
4082+void CommandLineHandler::handle<Source>(ZORBA_TR1_NS::tuple<bint, bint, bstring> &aTuple);
4083+
4084+template<>
4085+void CommandLineHandler::handle<Eval>(ZORBA_TR1_NS::tuple<bstring>& aTuple);
4086+
4087+template<>
4088+void CommandLineHandler::handle<StepIn> (ZORBA_TR1_NS::tuple<> &t);
4089+
4090+template<>
4091+void CommandLineHandler::handle<StepOut> (ZORBA_TR1_NS::tuple<> &t);
4092+
4093+template<>
4094+void CommandLineHandler::handle<StepOver> (ZORBA_TR1_NS::tuple<> &t);
4095+
4096+} // namespace zorba
4097+} // namespace debugger
4098+
4099+#endif // ZORBA_DEBUGGER_COMMAND_LINE_HANDLER_H
4100
4101=== added file 'bin/debugger/command_prompt.cpp'
4102--- bin/debugger/command_prompt.cpp 1970-01-01 00:00:00 +0000
4103+++ bin/debugger/command_prompt.cpp 2012-09-27 16:54:28 +0000
4104@@ -0,0 +1,286 @@
4105+/*
4106+ * Copyright 2006-2008 The FLWOR Foundation.
4107+ *
4108+ * Licensed under the Apache License, Version 2.0 (the "License");
4109+ * you may not use this file except in compliance with the License.
4110+ * You may obtain a copy of the License at
4111+ *
4112+ * http://www.apache.org/licenses/LICENSE-2.0
4113+ *
4114+ * Unless required by applicable law or agreed to in writing, software
4115+ * distributed under the License is distributed on an "AS IS" BASIS,
4116+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4117+ * See the License for the specific language governing permissions and
4118+ * limitations under the License.
4119+ */
4120+#include "command_prompt.h"
4121+
4122+#include <string>
4123+#include <vector>
4124+#include <map>
4125+#include <iostream>
4126+
4127+#include "command.h"
4128+
4129+
4130+namespace zorba { namespace debugger {
4131+
4132+#ifdef ZORBA_HAVE_LIBEDIT_H
4133+const char*
4134+prompt(EditLine* aEl) {
4135+ return "(xqdb) ";
4136+}
4137+#endif
4138+
4139+CommandPrompt::CommandPrompt()
4140+{
4141+#ifdef ZORBA_HAVE_LIBEDIT_H
4142+ theEditLine = el_init("xqdb", stdin, stdout, stderr);
4143+ theHistory = history_init();
4144+ HistEvent lHistoryEvent;
4145+ history(theHistory, &lHistoryEvent, H_SETSIZE, 100);
4146+
4147+ el_set(theEditLine, EL_PROMPT, prompt);
4148+
4149+ el_set(theEditLine, EL_HIST, history, theHistory);
4150+ el_set(theEditLine, EL_EDITOR, "emacs");
4151+#endif
4152+}
4153+
4154+CommandPrompt::~CommandPrompt()
4155+{
4156+#ifdef ZORBA_HAVE_LIBEDIT_H
4157+ history_end(theHistory);
4158+ el_end(theEditLine);
4159+#endif
4160+
4161+ std::map<std::string, UntypedCommand*>::iterator lIter;
4162+ for (lIter = theCommands.begin(); lIter != theCommands.end(); ++lIter) {
4163+ delete lIter->second;
4164+ }
4165+}
4166+
4167+void
4168+CommandPrompt::printHelp(UntypedCommand* aCommand)
4169+{
4170+ // if no command is provided, print all the available commands
4171+ if (!aCommand) {
4172+ std::cout << "Available commands:" << std::endl;
4173+
4174+ // print the names of all commands
4175+ std::map<std::string, UntypedCommand*>::iterator lIter = theCommands.begin();
4176+ while (lIter != theCommands.end()) {
4177+ std::cout << " " << (*lIter).first;
4178+ std::set<std::string> lAliases = (*lIter).second->getAliases();
4179+ std::set<std::string>::const_iterator lAliasIter = lAliases.begin();
4180+ while (lAliasIter != lAliases.end()) {
4181+ std::cout << ", " << *lAliasIter;
4182+ lAliasIter++;
4183+ }
4184+ std::cout << std::endl;
4185+ lIter++;
4186+ }
4187+
4188+ // some hints for detailed help
4189+ std::cout << std::endl;
4190+ std::cout << "Type help <command> to get more information about one command." << std::endl;
4191+ std::cout << std::endl;
4192+ } else {
4193+ // ok, so we have a command; then print the help
4194+ aCommand->printHelp();
4195+ }
4196+}
4197+
4198+void
4199+CommandPrompt::execute()
4200+{
4201+ for (;;) {
4202+#ifdef ZORBA_HAVE_LIBEDIT_H
4203+ const char* lBuf;
4204+ int lCharsRead = -1;
4205+ lBuf = el_gets(theEditLine, &lCharsRead);
4206+ std::string lCommandLine(lBuf, lCharsRead - 1);
4207+#else
4208+ bool lWithOutput = true;
4209+ if (lWithOutput) {
4210+ std::cout << "(xqdb) ";
4211+ }
4212+ lWithOutput = true;
4213+ std::string lCommandLine;
4214+ std::getline(std::cin, lCommandLine);
4215+ if (std::cin.fail()) {
4216+ lWithOutput = false;
4217+ std::cin.clear();
4218+ continue;
4219+ }
4220+#endif
4221+
4222+ std::vector<std::string> lArgs;
4223+
4224+ // split the command into arguments
4225+ parseLine(lCommandLine, lArgs);
4226+ std::string::size_type lSize = lArgs.size();
4227+
4228+ // empty command? do nothing!
4229+ if (lSize == 0) {
4230+ lArgs = theLastArgs;
4231+ if (lArgs.size() == 0) {
4232+ continue;
4233+ }
4234+ }
4235+#ifdef ZORBA_HAVE_LIBEDIT_H
4236+ else {
4237+ HistEvent lHistoryEvent;
4238+ history(theHistory, &lHistoryEvent, H_ENTER, lCommandLine.c_str());
4239+ }
4240+#endif
4241+ theLastArgs = lArgs;
4242+
4243+ UntypedCommand* lCommand = NULL;
4244+
4245+ // help is not a command but a hook here
4246+ if (lArgs.at(0) == "h" || lArgs.at(0) == "help") {
4247+ std::string lCmd = "";
4248+
4249+ // if the user needs the help for a specific command
4250+ if (lSize > 1) {
4251+ // do nothing if we don't have a command starting with this prefix?
4252+ // findCommand will print the appropriate errors
4253+ if (!findCommand(lArgs[1], lCommand)) {
4254+ continue;
4255+ }
4256+ }
4257+ printHelp(lCommand);
4258+ continue;
4259+ }
4260+ if (findCommand(lArgs[0], lCommand) && lCommand->execute(lArgs)) {
4261+ return;
4262+ }
4263+ continue;
4264+ }
4265+}
4266+
4267+CommandPrompt&
4268+CommandPrompt::operator<<(UntypedCommand *aCommand)
4269+{
4270+ theCommands.insert(std::make_pair(aCommand->getName(), aCommand));
4271+ return *this;
4272+}
4273+
4274+bool
4275+CommandPrompt::findCommand(const std::string& aPrefix, UntypedCommand*& aCommand)
4276+{
4277+ std::vector<UntypedCommand*> lFoundCommands;
4278+
4279+ std::map<std::string, UntypedCommand*>::iterator lIter = theCommands.begin();
4280+ while (lIter != theCommands.end()) {
4281+ // if a command name is equal with the prefix, this is the command we want
4282+ if ((*lIter).first == aPrefix) {
4283+ aCommand = (*lIter).second;
4284+ return true;
4285+ }
4286+
4287+ bool lIsCandidate = false;
4288+
4289+ // add this command to candidate commands if the prefix matches
4290+ if ((*lIter).first.find(aPrefix) == 0) {
4291+ lFoundCommands.push_back((*lIter).second);
4292+ lIsCandidate = true;
4293+ }
4294+
4295+ // now process the aliases
4296+ std::set<std::string> lAliases = (*lIter).second->getAliases();
4297+ std::set<std::string>::const_iterator lAliasIter = lAliases.begin();
4298+ while (lAliasIter != lAliases.end()) {
4299+ // if a command alias is equal with the prefix, this is the command we want
4300+ if (*lAliasIter == aPrefix) {
4301+ aCommand = (*lIter).second;
4302+ return true;
4303+ }
4304+
4305+ // add this command to candidate commands if the prefix matches one alias
4306+ // and if the command is not already added
4307+ if (!lIsCandidate && (*lAliasIter).find(aPrefix) == 0) {
4308+ lFoundCommands.push_back((*lIter).second);
4309+ break;
4310+ }
4311+ lAliasIter++;
4312+ }
4313+
4314+ lIter++;
4315+ }
4316+
4317+ if (lFoundCommands.empty()) {
4318+ std::cout << "Command not found: " << aPrefix << std::endl;
4319+ return false;
4320+ }
4321+
4322+ if (lFoundCommands.size() > 1) {
4323+ std::cout << "Ambigous command: " << aPrefix << std::endl;
4324+ // show all possible commands that start with this prefix
4325+ for (std::string::size_type i = 0; i < lFoundCommands.size(); i++) {
4326+ UntypedCommand* lCommand = lFoundCommands.at(i);
4327+
4328+ // commands
4329+ if (lCommand->getName().find(aPrefix) == 0) {
4330+ std::cout << " " << lCommand->getName() << std::endl;
4331+ }
4332+
4333+ // and aliases
4334+ std::set<std::string> lAliases = lCommand->getAliases();
4335+ std::set<std::string>::const_iterator lAliasIter = lAliases.begin();
4336+ while (lAliasIter != lAliases.end()) {
4337+ if ((*lAliasIter).find(aPrefix) == 0) {
4338+ std::cout << " " << *lAliasIter << std::endl;
4339+ }
4340+ lAliasIter++;
4341+ }
4342+ }
4343+ return false;
4344+ }
4345+
4346+ aCommand = lFoundCommands[0];
4347+ return true;
4348+}
4349+
4350+void
4351+CommandPrompt::parseLine(const std::string& aLine, std::vector<std::string>& aVector)
4352+{
4353+ std::string::size_type lBefore = 0;
4354+ std::string::size_type lPos = aLine.find_first_of(" \t", 0);
4355+
4356+ while (lPos != aLine.npos) {
4357+ std::string lSub = aLine.substr(lBefore, lPos - lBefore);
4358+
4359+ // if two consecutive spaces, you get an empty string here
4360+ if (lSub != "") {
4361+ if (lSub[0] == '"') {
4362+ std::string::size_type lBeforeCopy = lBefore;
4363+ do {
4364+ lBeforeCopy = aLine.find("\"", lBeforeCopy + 1);
4365+ } while (lPos != aLine.npos && aLine.size() > lPos + 1 && aLine[lPos + 1] == '\\');
4366+ lPos = lBeforeCopy;
4367+ lSub = aLine.substr(lBefore + 1, lPos - lBefore - 1);
4368+ }
4369+ aVector.push_back(lSub);
4370+ }
4371+
4372+ lBefore = lPos + 1;
4373+ lPos = aLine.find_first_of(" \t", lBefore);
4374+ }
4375+ std::string lSub = aLine.substr(lBefore);
4376+
4377+ // catching the case when the command ends with a space
4378+ if (lSub == "") {
4379+ return;
4380+ }
4381+
4382+ if (lSub[0] == '"') {
4383+ lPos = aLine.find("\"", lBefore + 1);
4384+ lSub = aLine.substr(lBefore + 1, lPos - lBefore - 1);
4385+ }
4386+ aVector.push_back(lSub);
4387+}
4388+
4389+} // namespace zorba
4390+} // namespace debugger
4391
4392=== added file 'bin/debugger/command_prompt.h'
4393--- bin/debugger/command_prompt.h 1970-01-01 00:00:00 +0000
4394+++ bin/debugger/command_prompt.h 2012-09-27 16:54:28 +0000
4395@@ -0,0 +1,72 @@
4396+/*
4397+ * Copyright 2006-2008 The FLWOR Foundation.
4398+ *
4399+ * Licensed under the Apache License, Version 2.0 (the "License");
4400+ * you may not use this file except in compliance with the License.
4401+ * You may obtain a copy of the License at
4402+ *
4403+ * http://www.apache.org/licenses/LICENSE-2.0
4404+ *
4405+ * Unless required by applicable law or agreed to in writing, software
4406+ * distributed under the License is distributed on an "AS IS" BASIS,
4407+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4408+ * See the License for the specific language governing permissions and
4409+ * limitations under the License.
4410+ */
4411+#pragma once
4412+#ifndef ZORBA_DEBUGGER_COMMAND_PROMPT_H
4413+#define ZORBA_DEBUGGER_COMMAND_PROMPT_H
4414+
4415+#include <string>
4416+#include <map>
4417+#include <vector>
4418+
4419+#include "config.h"
4420+
4421+#ifdef ZORBA_HAVE_LIBEDIT_H
4422+# include <histedit.h>
4423+#endif
4424+
4425+
4426+namespace zorba { namespace debugger {
4427+
4428+class UntypedCommand;
4429+
4430+class CommandPrompt
4431+{
4432+ public:
4433+ CommandPrompt();
4434+ ~CommandPrompt();
4435+
4436+ public:
4437+
4438+ void execute();
4439+
4440+ CommandPrompt& operator<< (UntypedCommand* command);
4441+
4442+ private:
4443+
4444+ void
4445+ printHelp(UntypedCommand* command);
4446+
4447+ bool
4448+ findCommand(const std::string& prefix, UntypedCommand*& command);
4449+
4450+ void
4451+ parseLine(const std::string& line, std::vector<std::string>& vector);
4452+
4453+ private:
4454+ std::map<std::string, UntypedCommand*> theCommands;
4455+ std::vector<std::string> theLastArgs;
4456+
4457+#ifdef ZORBA_HAVE_LIBEDIT_H
4458+ EditLine* theEditLine;
4459+ History* theHistory;
4460+#endif
4461+};
4462+
4463+
4464+} // namespace zorba
4465+} // namespace debugger
4466+
4467+#endif // ZORBA_DEBUGGER_COMMAND_PROMPT_H
4468
4469=== added file 'bin/debugger/config.h.cmake'
4470--- bin/debugger/config.h.cmake 1970-01-01 00:00:00 +0000
4471+++ bin/debugger/config.h.cmake 2012-09-27 16:54:28 +0000
4472@@ -0,0 +1,24 @@
4473+/*
4474+ * Copyright 2006-2008 The FLWOR Foundation.
4475+ *
4476+ * Licensed under the Apache License, Version 2.0 (the "License");
4477+ * you may not use this file except in compliance with the License.
4478+ * You may obtain a copy of the License at
4479+ *
4480+ * http://www.apache.org/licenses/LICENSE-2.0
4481+ *
4482+ * Unless required by applicable law or agreed to in writing, software
4483+ * distributed under the License is distributed on an "AS IS" BASIS,
4484+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4485+ * See the License for the specific language governing permissions and
4486+ * limitations under the License.
4487+ */
4488+
4489+// This header is configured by Zorba's build process -- DO NOT EDIT!
4490+
4491+#ifndef ZORBA_DEBUGGER_CONFIG_H
4492+#define ZORBA_DEBUGGER_CONFIG_H
4493+
4494+#cmakedefine ZORBA_HAVE_LIBEDIT_H
4495+
4496+#endif /* ZORBA_DEBUGGER_CONFIG_H */
4497
4498=== modified file 'bin/debugger/event_handler.cpp'
4499--- bin/debug_client/event_handler.cpp 2011-07-01 01:53:24 +0000
4500+++ bin/debugger/event_handler.cpp 2012-09-27 16:54:28 +0000
4501@@ -13,88 +13,93 @@
4502 * See the License for the specific language governing permissions and
4503 * limitations under the License.
4504 */
4505+
4506+#include "event_handler.h"
4507+
4508+#include <sstream>
4509+
4510 #include <zorba/zorba.h>
4511 #include <zorba/store_manager.h>
4512 #include <zorba/iterator.h>
4513-#include <sstream>
4514-#include "debug_client/event_handler.h"
4515
4516-namespace zorba { namespace debugclient {
4517+namespace zorba { namespace debugger {
4518
4519- EventHandler::EventHandler(LockFreeProducer<std::size_t>& aQueue, LockFreeProducer<bool>& aContProducer)
4520+EventHandler::EventHandler(LockFreeProducer<std::size_t>& aQueue, LockFreeProducer<bool>& aContProducer)
4521 : theIdQueue(aQueue), theContinueProducer(aContProducer),
4522 theStore(StoreManager::getStore()),
4523 theZorbaInstance(Zorba::getInstance(theStore)),
4524 theStaticContext(theZorbaInstance->createStaticContext())
4525-
4526- {
4527- try {
4528- Zorba_CompilerHints_t lHints;
4529- lHints.opt_level = ZORBA_OPT_LEVEL_O1;
4530- std::auto_ptr<std::istream> stream(getCurrentDirectory());
4531- zorba::String query;
4532- char buffer[1024];
4533- std::string::size_type s;
4534- while ((s = stream->readsome(buffer, 1024))) {
4535- query.append(std::string(buffer, s));
4536- }
4537- theStaticContext->loadProlog(query, lHints);
4538- } catch (zorba::ZorbaException& e) {
4539- std::cerr << "Exception: I was not able to load the query file:" << std::endl;
4540- std::cerr << e.what() << std::endl;
4541- throw;
4542- }
4543- }
4544-
4545- EventHandler::~EventHandler()
4546- {
4547- theStaticContext = 0;
4548- theZorbaInstance->shutdown();
4549- StoreManager::shutdownStore(theStore);
4550- }
4551-
4552- void EventHandler::parseMessage(const std::string &aMessage)
4553- {
4554- try {
4555- zorba::String queryString = "local:main(";
4556- queryString += aMessage + ")";
4557- XQuery_t query = theZorbaInstance->compileQuery(queryString, theStaticContext);
4558- Iterator_t lIter = query->iterator();
4559- Item item;
4560- lIter->open();
4561- bool doContinue = false;
4562- lIter->next(item);
4563- {
4564- const std::string& continueString = item.getStringValue().str();
4565- if (continueString == "true") {
4566- doContinue = true;
4567- } else if (continueString == "false") {
4568- doContinue = false;
4569- } else {
4570- std::stringstream stream(continueString);
4571- stream >> doContinue;
4572- }
4573- }
4574- lIter->next(item);
4575- std::size_t lId;
4576- {
4577- std::stringstream stream(item.getStringValue().c_str());
4578- stream >> lId;
4579- }
4580- lIter->next(item);
4581- std::cout << item.getStringValue() << std::endl;
4582- theContinueProducer.produce(doContinue);
4583- theIdQueue.produce(lId);
4584- } catch (ZorbaException& e) {
4585- std::cerr << "FATAL: could not execute query: " << std::endl;
4586- std::cerr << e << std::endl;
4587- std::cerr << "This is a bug, please report to zorba-users@lists.sourceforge.net" << std::endl;
4588- theContinueProducer.produce(false);
4589- }
4590- }
4591-
4592- void EventHandler::error(unsigned int errcode, const std::string &msg)
4593- {
4594- std::cerr << "Error " << errcode << ": " << msg << std::endl;
4595- }
4596-}}
4597+{
4598+}
4599+
4600+EventHandler::~EventHandler()
4601+{
4602+ theStaticContext = 0;
4603+ theZorbaInstance->shutdown();
4604+ StoreManager::shutdownStore(theStore);
4605+}
4606+
4607+void
4608+EventHandler::init()
4609+{
4610+ try {
4611+ Zorba_CompilerHints_t lHints;
4612+ lHints.opt_level = ZORBA_OPT_LEVEL_O1;
4613+ zorba::String lProlog("import module namespace dmh = 'http://www.zorba-xquery.com/modules/debugger/dbgp-message-handler';");
4614+ theStaticContext->loadProlog(lProlog, lHints);
4615+ } catch (zorba::ZorbaException& e) {
4616+ std::cerr << "Exception: I was not able to load the query file:" << std::endl;
4617+ std::cerr << e.what() << std::endl;
4618+ throw;
4619+ }
4620+}
4621+
4622+void
4623+EventHandler::parseMessage(const std::string &aMessage)
4624+{
4625+ try {
4626+#ifndef NDEBUG
4627+ // uncomment this to see the raw messages received by the event handler
4628+ //std::cout << "Processing response: " << aMessage << std::endl;
4629+#endif
4630+ // the query to process the response
4631+ std::stringstream lQueryStream;
4632+ lQueryStream << "dmh:process(" << aMessage << ")";
4633+ XQuery_t lQuery = theZorbaInstance->compileQuery(lQueryStream.str(), theStaticContext);
4634+
4635+ // get the query result sequrence:
4636+ // 1. a message
4637+ Iterator_t lIter = lQuery->iterator();
4638+ Item lItem;
4639+ lIter->open();
4640+ lIter->next(lItem);
4641+ std::size_t lId;
4642+ std::stringstream lStream(lItem.getStringValue().c_str());
4643+ lStream >> lId;
4644+
4645+ // 2. an "idle" flag (to disable quit confirmation)
4646+ bool lCanQuit = false;
4647+ if (lIter->next(lItem)) {
4648+ String lMessage = lItem.getStringValue();
4649+ lCanQuit = lMessage == "idle";
4650+ std::cout << std::endl << lItem.getStringValue() << std::endl;
4651+ }
4652+ theContinueProducer.produce(lCanQuit);
4653+
4654+ // go and solve the event with this id
4655+ theIdQueue.produce(lId);
4656+ } catch (ZorbaException& e) {
4657+ std::cerr << "FATAL: could not execute query: " << std::endl;
4658+ std::cerr << e << std::endl;
4659+ std::cerr << "This is a bug, please report it at http://bugs.launchpad.net/zorba" << std::endl;
4660+ }
4661+}
4662+
4663+void
4664+EventHandler::error(unsigned int errcode, const std::string &msg)
4665+{
4666+ std::cerr << "Error " << errcode << ": " << msg << std::endl;
4667+}
4668+
4669+} // namespace zorba
4670+} // namespace debugger
4671
4672=== modified file 'bin/debugger/event_handler.h'
4673--- bin/debug_client/event_handler.h 2011-07-01 01:53:24 +0000
4674+++ bin/debugger/event_handler.h 2012-09-27 16:54:28 +0000
4675@@ -14,33 +14,46 @@
4676 * limitations under the License.
4677 */
4678 #pragma once
4679+#ifndef ZORBA_DEBUGGER_EVENT_HANDLER_H
4680+#define ZORBA_DEBUGGER_EVENT_HANDLER_H
4681+
4682 #include <string>
4683 #include <iostream>
4684+
4685 #include <zorba/debugger_event_handler.h>
4686 #include <zorba/static_context.h>
4687+
4688 #include "lock_free_queue.h"
4689
4690-namespace zorba {
4691- class Zorba;
4692-}
4693-
4694-namespace zorba { namespace debugclient {
4695-
4696- class EventHandler : public zorba::DebuggerEventHandler
4697- {
4698+
4699+namespace zorba { namespace debugger {
4700+
4701+class EventHandler : public zorba::DebuggerEventHandler
4702+{
4703 public:
4704- EventHandler(LockFreeProducer<std::size_t>& aQueue, LockFreeProducer<bool>& aContQueue);
4705+ EventHandler(
4706+ LockFreeProducer<std::size_t>& aQueue,
4707+ LockFreeProducer<bool>& aContQueue);
4708+
4709 ~EventHandler();
4710+
4711 public: