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

Proposed by Matthias Brantner
Status: Merged
Merged at revision: 10923
Proposed branch: lp:~zorba-coders/zorba/jsoniq
Merge into: lp:~zorba-coders/zorba/zorba-experimental
Diff against target: 440566 lines (+230636/-106357)
3266 files modified
.bzrignore (+2/-0)
CMakeCPack.cmake (+5/-1)
CMakeCPackOptions.cmake.in (+1/-1)
CMakeCompiler.txt (+3/-0)
CMakeConfiguration.txt (+8/-9)
CMakeLists.txt (+84/-25)
CPackSourceConfig.cmake.in (+1/-1)
ChangeLog (+261/-11)
KNOWN_ISSUES.txt (+1/-1)
NOTICE.txt (+0/-740)
README.txt (+2/-2)
bin/CMakeLists.txt (+58/-19)
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/-165)
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/path_util.cpp (+77/-45)
bin/path_util.h (+15/-24)
bin/test/mymod.xq (+1/-1)
bin/zorbacmd.cpp (+426/-213)
bin/zorbacmdproperties.cpp (+19/-5)
bin/zorbacmdproperties.h (+10/-1)
bin/zorbacmdproperties.txt (+6/-1)
bin/zorbacmdproperties_base.h (+316/-162)
cmake_modules/FindICU.cmake (+46/-0)
cmake_modules/FindLibedit.cmake (+46/-0)
cmake_modules/FindPHP5.cmake (+8/-0)
cmake_modules/Windows/FindCURL.cmake (+1/-0)
cmake_modules/Windows/ProxyFindModule.cmake (+37/-0)
cmake_modules/ZorbaModule.cmake (+407/-153)
config/CMakeLists.txt (+5/-5)
config/ExternalModuleConfig.cmake.in (+26/-9)
config/ZorbaConfig.cmake.in (+7/-4)
config/ZorbaUse.cmake (+0/-4)
doc/CMakeLists.txt (+5/-0)
doc/c/doxy.config.in (+1112/-555)
doc/c/manual/indexpage.dox (+1/-1)
doc/code/CMakeLists.txt (+14/-14)
doc/code/headers_svg/zorba_headers_dependencies.xqi (+6/-6)
doc/cxx/doxy.config.in (+1118/-554)
doc/cxx/examples/CMakeLists.txt (+4/-0)
doc/cxx/examples/binary.cpp (+17/-27)
doc/cxx/examples/context.cpp (+6/-2)
doc/cxx/examples/errors.cpp (+4/-4)
doc/cxx/examples/jsoniq.cpp (+327/-0)
doc/cxx/examples/simple.cpp (+17/-10)
doc/java/doxy.config.in (+1123/-563)
doc/java/examples/CMakeLists.txt (+4/-0)
doc/java/examples/Test_Zorba.java (+3/-1)
doc/java/examples/java_test.bat.in (+3/-2)
doc/java/manual/indexpage.dox (+6/-11)
doc/php/CMakeLists.txt (+1/-1)
doc/php/doxy.config.in (+1119/-559)
doc/php/examples/CMakeLists.txt (+17/-5)
doc/php/examples/php.ini.in (+1/-0)
doc/php/examples/simple.php.in (+2/-2)
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/doxy.config.in (+1119/-559)
doc/python/examples/test0.xq (+3/-3)
doc/python/manual/indexpage.dox (+4/-1)
doc/ruby/doxy.config.in (+1119/-559)
doc/ruby/examples/CMakeLists.txt (+6/-1)
doc/ruby/manual/indexpage.dox (+3/-1)
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 (+6/-0)
doc/zorba/JSONforXQuery.html (+1/-0)
doc/zorba/XQueryforJSON.html (+1/-0)
doc/zorba/build.dox (+14/-246)
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_noncore.dox (+0/-218)
doc/zorba/build_parameters.dox (+91/-0)
doc/zorba/build_prepare.dox (+104/-0)
doc/zorba/build_prerequisites.dox (+138/-0)
doc/zorba/build_ubuntu.dox (+93/-121)
doc/zorba/build_windows.dox (+109/-0)
doc/zorba/commandline.dox (+13/-14)
doc/zorba/conformance.dox (+4/-4)
doc/zorba/conformanceXQFTTS.dox (+74/-74)
doc/zorba/data_lifecycle.dox (+15/-5)
doc/zorba/doxy.config.in (+1113/-551)
doc/zorba/external_functions.dox (+4/-4)
doc/zorba/ft_intro.dox (+11/-10)
doc/zorba/ft_stemmer.dox (+25/-7)
doc/zorba/ft_thesaurus.dox (+144/-94)
doc/zorba/ft_tokenizer.dox (+182/-70)
doc/zorba/impl_dep_features.dox (+12/-12)
doc/zorba/indexpage.dox.in (+62/-140)
doc/zorba/installation.dox (+0/-97)
doc/zorba/link_crawler2.dox (+238/-0)
doc/zorba/memory_leaks.dox (+141/-0)
doc/zorba/modules_authoring.dox (+2/-3)
doc/zorba/modules_authoring_2.dox (+24/-3)
doc/zorba/modules_building_in.dox (+2/-2)
doc/zorba/options.dox (+258/-79)
doc/zorba/partial_support.dox (+1/-1)
doc/zorba/php_ubuntu.dox (+3/-5)
doc/zorba/php_windows.dox (+0/-2)
doc/zorba/python_windows.dox (+1/-1)
doc/zorba/schema_lifecycle.dox (+1/-1)
doc/zorba/scripting_spec.html (+8/-8)
doc/zorba/uriresolvers.dox (+120/-38)
doc/zorba/web_crawler.dox (+143/-48)
doc/zorba/xqddf.dox (+270/-260)
doc/zorba/xqdoc/CMakeLists.txt (+20/-10)
doc/zorba/xqdoc/images/modules.svg (+1326/-926)
doc/zorba/xqdoc/src/generate-module-dependencies-svg.xq (+4/-4)
doc/zorba/xqdoc/src/zorba_module_dependencies.xqi (+0/-432)
doc/zorba/xqdoc/src/zorba_module_dependencies.xqy (+462/-0)
doc/zorba/xqdoc/templates/main.html (+36/-24)
include/xqc.h (+9/-9)
include/zorba/audit.h (+4/-0)
include/zorba/base64.h (+7/-10)
include/zorba/base64_stream.h (+325/-0)
include/zorba/config.h.cmake (+33/-14)
include/zorba/debugger_client.h (+14/-2)
include/zorba/diagnostic.h (+9/-1)
include/zorba/dynamic_context.h (+14/-1)
include/zorba/error.h (+7/-0)
include/zorba/identtypes.h (+32/-7)
include/zorba/internal/diagnostic.h (+23/-31)
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 (+5/-3)
include/zorba/internal/unique_ptr.h (+4/-4)
include/zorba/internal/ztd.h (+2/-1)
include/zorba/item.h (+138/-3)
include/zorba/item_factory.h (+148/-5)
include/zorba/item_sequence.h (+10/-3)
include/zorba/iterator.h (+2/-0)
include/zorba/locale.h (+189/-15)
include/zorba/options.h (+48/-5)
include/zorba/pregenerated/diagnostic_list.h (+169/-57)
include/zorba/properties_base.h (+37/-1)
include/zorba/static_collection_manager.h (+66/-3)
include/zorba/static_context.h (+739/-528)
include/zorba/static_context_consts.h (+2/-1)
include/zorba/stemmer.h (+23/-4)
include/zorba/store_consts.h (+157/-29)
include/zorba/thesaurus.h (+27/-17)
include/zorba/tokenizer.h (+157/-76)
include/zorba/transcode_stream.h (+353/-0)
include/zorba/typeident.h (+74/-35)
include/zorba/uri_resolvers.h (+28/-7)
include/zorba/util/file.h (+2/-0)
include/zorba/util/time.h (+1/-1)
include/zorba/xmldatamanager.h (+2/-0)
include/zorba/xquery.h (+24/-7)
include/zorba/zorba.h (+16/-5)
include/zorba/zorbac.h (+16/-16)
modules/CMakeLists.txt (+113/-30)
modules/DownloadModules.cmake (+59/-28)
modules/ExternalModules.conf (+27/-17)
modules/com/zorba-xquery/www/modules/CMakeLists.txt (+39/-1)
modules/com/zorba-xquery/www/modules/cacert.pem (+3331/-0)
modules/com/zorba-xquery/www/modules/converters/base64.xq (+25/-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 (+5/-5)
modules/com/zorba-xquery/www/modules/datetime.xq.src/datetime.cpp (+7/-5)
modules/com/zorba-xquery/www/modules/debugger/dbgp-message-handler.xq (+291/-0)
modules/com/zorba-xquery/www/modules/fetch.xq (+95/-48)
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 (+7/-0)
modules/com/zorba-xquery/www/modules/http-client.xq (+23/-17)
modules/com/zorba-xquery/www/modules/http-client.xq.src/curl_stream_buffer.cpp (+337/-338)
modules/com/zorba-xquery/www/modules/http-client.xq.src/curl_stream_buffer.h (+164/-143)
modules/com/zorba-xquery/www/modules/http-client.xq.src/error_thrower.h (+9/-9)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_client.cpp (+6/-3)
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 (+4/-4)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_parser.cpp (+107/-29)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_parser.h (+10/-6)
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/node-position.xq (+524/-0)
modules/com/zorba-xquery/www/modules/node-reference.xq (+25/-15)
modules/com/zorba-xquery/www/modules/pregenerated/errors.xq (+134/-13)
modules/com/zorba-xquery/www/modules/pregenerated/warnings.xq (+20/-1)
modules/com/zorba-xquery/www/modules/project_xqdoc.xq (+27/-9)
modules/com/zorba-xquery/www/modules/random.xq (+6/-6)
modules/com/zorba-xquery/www/modules/reflection.xq (+9/-9)
modules/com/zorba-xquery/www/modules/store/data-structures/unordered-map.xq (+92/-48)
modules/com/zorba-xquery/www/modules/store/dynamic/collections/ddl.xq (+27/-25)
modules/com/zorba-xquery/www/modules/store/dynamic/collections/dml.xq (+408/-76)
modules/com/zorba-xquery/www/modules/store/dynamic/collections/w3c/dml.xq (+5/-5)
modules/com/zorba-xquery/www/modules/store/static/collections/ddl.xq (+36/-32)
modules/com/zorba-xquery/www/modules/store/static/collections/dml.xq (+594/-129)
modules/com/zorba-xquery/www/modules/store/static/indexes/dml.xq (+189/-62)
modules/com/zorba-xquery/www/modules/string.xq (+21/-1)
modules/com/zorba-xquery/www/modules/uri.xq (+108/-0)
modules/com/zorba-xquery/www/modules/xml-options.xsd (+86/-0)
modules/com/zorba-xquery/www/modules/xml.xq (+247/-4)
modules/com/zorba-xquery/www/modules/xqdoc.xq (+2/-2)
modules/com/zorba-xquery/www/modules/xqdoc.xsd (+1/-0)
modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq (+102/-87)
modules/org/CMakeLists.txt (+2/-0)
modules/org/expath/ns/file.xq (+61/-50)
modules/org/expath/ns/file.xq.src/file.cpp (+153/-25)
modules/org/expath/ns/file.xq.src/file.h (+64/-0)
modules/org/expath/ns/file.xq.src/file_function.cpp (+66/-53)
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 (+21/-0)
modules/org/jsoniq/www/functions.xq (+137/-0)
modules/org/jsoniq/www/pregenerated/errors.xq (+139/-0)
modules/w3c/pregenerated/xqt-errors.xq (+291/-265)
modules/w3c/xpath_functions.xq (+63/-2)
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/xslt-xquery-serialization.xsd (+1/-1)
scripts/CMakeLists.txt (+4/-2)
scripts/gen_all_props (+0/-31)
scripts/gen_po_props (+0/-248)
scripts/link_crawler.xq (+0/-232)
scripts/sanity_checks/README.txt (+2/-2)
scripts/sanity_checks/conformance_xqftts.xqi (+4/-5)
scripts/sanity_checks/conformance_xqts.xqi (+3/-3)
scripts/zt-wn-get (+4/-4)
src/CMakeLists.txt (+5/-0)
src/annotations/annotations.cpp (+329/-298)
src/annotations/annotations.h (+101/-60)
src/api/CMakeLists.txt (+7/-2)
src/api/annotationimpl.cpp (+1/-1)
src/api/auditimpl.h (+2/-0)
src/api/base64_streambuf.cpp (+249/-0)
src/api/base64impl.cpp (+37/-12)
src/api/collectionimpl.cpp (+6/-12)
src/api/dynamiccontextimpl.cpp (+40/-3)
src/api/dynamiccontextimpl.h (+7/-0)
src/api/fileimpl.cpp (+6/-17)
src/api/fileimpl.h (+3/-4)
src/api/functionimpl.cpp (+1/-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 (+157/-1)
src/api/item_sequence_chainer.h (+17/-3)
src/api/itemfactoryimpl.cpp (+218/-25)
src/api/itemfactoryimpl.h (+55/-3)
src/api/options.cpp (+81/-20)
src/api/serialization/serializer.cpp (+768/-172)
src/api/serialization/serializer.h (+144/-29)
src/api/serializerimpl.cpp (+78/-14)
src/api/staticcollectionmanagerimpl.cpp (+288/-0)
src/api/staticcollectionmanagerimpl.h (+37/-0)
src/api/staticcontextimpl.cpp (+392/-82)
src/api/staticcontextimpl.h (+99/-47)
src/api/stemmer_wrappers.cpp (+21/-12)
src/api/stemmer_wrappers.h (+2/-1)
src/api/streambuf.cpp (+48/-0)
src/api/thesaurus.cpp (+3/-5)
src/api/thesaurus_wrappers.cpp (+10/-10)
src/api/thesaurus_wrappers.h (+7/-5)
src/api/transcode_streambuf.cpp (+137/-0)
src/api/typeidentimpl.cpp (+191/-12)
src/api/uri_resolver_wrappers.cpp (+53/-31)
src/api/uri_resolver_wrappers.h (+6/-6)
src/api/uriresolverimpl.cpp (+12/-4)
src/api/uriresolverimpl.h (+11/-2)
src/api/xmldatamanagerimpl.cpp (+82/-52)
src/api/xmldatamanagerimpl.h (+1/-1)
src/api/xqueryimpl.cpp (+178/-46)
src/api/xqueryimpl.h (+8/-1)
src/api/zorbaimpl.cpp (+11/-1)
src/api/zorbaimpl.h (+2/-0)
src/capi/csequence.cpp (+2/-0)
src/capi/error.cpp (+1/-1)
src/common/shared_types.h (+10/-4)
src/compiler/CMakeLists.txt (+0/-1)
src/compiler/api/compiler_api.cpp (+29/-16)
src/compiler/api/compiler_api.h (+3/-2)
src/compiler/api/compilercb.cpp (+19/-7)
src/compiler/api/compilercb.h (+51/-22)
src/compiler/codegen/plan_visitor.cpp (+294/-116)
src/compiler/expression/CMakeLists.txt (+2/-0)
src/compiler/expression/abstract_expr_visitor.h (+9/-2)
src/compiler/expression/expr.cpp (+125/-393)
src/compiler/expression/expr.h (+168/-247)
src/compiler/expression/expr_annotations.cpp (+0/-129)
src/compiler/expression/expr_annotations.h (+0/-54)
src/compiler/expression/expr_base.cpp (+136/-47)
src/compiler/expression/expr_base.h (+94/-41)
src/compiler/expression/expr_classes.h (+7/-0)
src/compiler/expression/expr_consts.h (+3/-3)
src/compiler/expression/expr_iter.cpp (+63/-2)
src/compiler/expression/expr_put.cpp (+150/-56)
src/compiler/expression/expr_type.cpp (+100/-106)
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 (+58/-164)
src/compiler/expression/flwor_expr.h (+39/-82)
src/compiler/expression/fo_expr.cpp (+24/-38)
src/compiler/expression/fo_expr.h (+5/-12)
src/compiler/expression/ft_expr.cpp (+9/-9)
src/compiler/expression/ft_expr.h (+4/-7)
src/compiler/expression/ftnode.cpp (+235/-53)
src/compiler/expression/ftnode.h (+79/-27)
src/compiler/expression/function_item_expr.cpp (+0/-23)
src/compiler/expression/function_item_expr.h (+1/-16)
src/compiler/expression/json_exprs.cpp (+201/-0)
src/compiler/expression/json_exprs.h (+148/-0)
src/compiler/expression/path_expr.cpp (+0/-42)
src/compiler/expression/path_expr.h (+5/-20)
src/compiler/expression/script_exprs.cpp (+134/-73)
src/compiler/expression/script_exprs.h (+98/-63)
src/compiler/expression/update_exprs.cpp (+51/-134)
src/compiler/expression/update_exprs.h (+43/-77)
src/compiler/expression/var_expr.cpp (+90/-29)
src/compiler/expression/var_expr.h (+120/-45)
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 (+1/-0)
src/compiler/parser/position.hh (+11/-22)
src/compiler/parser/query_loc.cpp (+3/-20)
src/compiler/parser/query_loc.h (+11/-18)
src/compiler/parser/stack.hh (+6/-14)
src/compiler/parser/xquery_parser.cpp (+9706/-8423)
src/compiler/parser/xquery_parser.hpp (+240/-231)
src/compiler/parser/xquery_parser.y (+478/-99)
src/compiler/parser/xquery_scanner.cpp (+3387/-3255)
src/compiler/parser/xquery_scanner.l (+83/-71)
src/compiler/parsetree/parsenode_print_dot_visitor.cpp (+12/-0)
src/compiler/parsetree/parsenode_print_dot_visitor.h (+13/-4)
src/compiler/parsetree/parsenode_print_xml_visitor.cpp (+75/-30)
src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp (+161/-16)
src/compiler/parsetree/parsenode_print_xquery_visitor.cpp (+110/-31)
src/compiler/parsetree/parsenode_visitor.h (+16/-0)
src/compiler/parsetree/parsenodes.cpp (+458/-89)
src/compiler/parsetree/parsenodes.h (+365/-55)
src/compiler/rewriter/framework/rewriter_context.h (+59/-31)
src/compiler/rewriter/rewriters/default_optimizer.cpp (+10/-0)
src/compiler/rewriter/rules/flwor_rules.cpp (+81/-52)
src/compiler/rewriter/rules/fold_rules.cpp (+54/-90)
src/compiler/rewriter/rules/hoist_rules.cpp (+205/-131)
src/compiler/rewriter/rules/index_join_rule.cpp (+28/-16)
src/compiler/rewriter/rules/nodeid_rules.cpp (+886/-38)
src/compiler/rewriter/rules/path_rules.cpp (+4/-4)
src/compiler/rewriter/rules/rule_base.h (+1/-0)
src/compiler/rewriter/rules/ruleset.h (+52/-6)
src/compiler/rewriter/rules/type_rules.cpp (+75/-49)
src/compiler/rewriter/tools/dataflow_annotations.cpp (+933/-8)
src/compiler/rewriter/tools/dataflow_annotations.h (+49/-1)
src/compiler/rewriter/tools/expr_tools.cpp (+599/-44)
src/compiler/rewriter/tools/expr_tools.h (+5/-28)
src/compiler/rewriter/tools/udf_graph.cpp (+13/-30)
src/compiler/rewriter/tools/udf_graph.h (+25/-13)
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/-59)
src/compiler/semantic_annotations/annotation_keys.h (+0/-45)
src/compiler/semantic_annotations/annotations.h (+0/-63)
src/compiler/translator/prolog_graph.cpp (+4/-1)
src/compiler/translator/translator.cpp (+1611/-631)
src/compiler/xqddf/collection_decl.cpp (+4/-2)
src/compiler/xqddf/collection_decl.h (+1/-1)
src/compiler/xqddf/value_ic.cpp (+7/-2)
src/compiler/xqddf/value_index.cpp (+89/-67)
src/compiler/xqddf/value_index.h (+63/-35)
src/compiler/xqueryx/xqueryx_to_xquery.cpp (+4/-1)
src/compiler/xqueryx/xqueryx_xslt.cpp (+578/-86)
src/compiler/xqueryx/xqueryx_xslt.h (+2/-1)
src/context/CMakeLists.txt (+0/-5)
src/context/decimal_format.cpp (+13/-1)
src/context/decimal_format.h (+7/-7)
src/context/default_uri_mappers.cpp (+29/-9)
src/context/default_uri_mappers.h (+6/-6)
src/context/default_url_resolvers.cpp (+31/-6)
src/context/default_url_resolvers.h (+19/-5)
src/context/dynamic_context.cpp (+339/-50)
src/context/dynamic_context.h (+72/-31)
src/context/dynamic_loader.cpp (+50/-44)
src/context/dynamic_loader.h (+12/-8)
src/context/namespace_context.cpp (+10/-5)
src/context/namespace_context.h (+5/-1)
src/context/root_static_context.cpp (+91/-49)
src/context/root_static_context.h (+5/-3)
src/context/root_static_context_init.cpp.in (+9/-2)
src/context/sctx_map_iterator.cpp (+1/-2)
src/context/sctx_map_iterator.h (+12/-8)
src/context/static_context.cpp (+702/-583)
src/context/static_context.h (+173/-152)
src/context/static_context_consts.h (+2/-34)
src/context/stemmer_wrappers.cpp (+0/-74)
src/context/stemmer_wrappers.h (+0/-63)
src/context/uri_resolver.cpp (+23/-14)
src/context/uri_resolver.h (+29/-12)
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 (+12/-9)
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 (+330/-104)
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 (+22/-3)
src/diagnostics/assert.cpp (+8/-2)
src/diagnostics/assert.h (+27/-1)
src/diagnostics/diagnostic.cpp (+8/-0)
src/diagnostics/diagnostic_en.xml (+913/-388)
src/diagnostics/diagnostic_list_cpp.xq (+1/-0)
src/diagnostics/diagnostic_list_h.xq (+1/-0)
src/diagnostics/diagnostic_list_xq.xq (+3/-1)
src/diagnostics/dict.cpp (+3/-0)
src/diagnostics/dict_XX_cpp.xq (+1/-0)
src/diagnostics/pregenerated/diagnostic_list.cpp (+250/-85)
src/diagnostics/pregenerated/dict_en.cpp (+262/-57)
src/diagnostics/qname.cpp (+41/-0)
src/diagnostics/user_error.cpp (+3/-1)
src/diagnostics/util_macros.h (+5/-0)
src/diagnostics/xquery_diagnostics.h (+0/-7)
src/diagnostics/xquery_stack_trace.cpp (+10/-5)
src/diagnostics/xquery_stack_trace.h (+6/-4)
src/functions/CMakeLists.txt (+13/-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 (+428/-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 (+12/-3)
src/functions/func_eval.cpp (+10/-10)
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 (+11/-11)
src/functions/func_index_ddl.h (+14/-14)
src/functions/func_jsoniq_functions_impl.cpp (+168/-0)
src/functions/func_jsoniq_functions_impl.h (+65/-0)
src/functions/func_node_sort_distinct.cpp (+49/-14)
src/functions/func_node_sort_distinct.h (+8/-6)
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 (+13/-10)
src/functions/func_sequences_impl.cpp (+343/-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 (+149/-39)
src/functions/function.h (+41/-28)
src/functions/function_consts.h (+22/-5)
src/functions/function_impl.h (+10/-10)
src/functions/library.cpp (+34/-1)
src/functions/pregenerated/func_access.cpp (+111/-0)
src/functions/pregenerated/func_access.h (+79/-0)
src/functions/pregenerated/func_accessors.cpp (+64/-64)
src/functions/pregenerated/func_accessors.h (+93/-65)
src/functions/pregenerated/func_any_uri.cpp (+7/-7)
src/functions/pregenerated/func_any_uri.h (+4/-2)
src/functions/pregenerated/func_base64.cpp (+21/-8)
src/functions/pregenerated/func_base64.h (+8/-4)
src/functions/pregenerated/func_booleans.cpp (+12/-12)
src/functions/pregenerated/func_booleans.h (+21/-9)
src/functions/pregenerated/func_collections.cpp (+1211/-445)
src/functions/pregenerated/func_collections.h (+486/-346)
src/functions/pregenerated/func_context.cpp (+32/-32)
src/functions/pregenerated/func_context.h (+32/-16)
src/functions/pregenerated/func_dctx.cpp (+0/-134)
src/functions/pregenerated/func_dctx.h (+0/-145)
src/functions/pregenerated/func_documents.cpp (+20/-20)
src/functions/pregenerated/func_documents.h (+28/-16)
src/functions/pregenerated/func_durations_dates_times.cpp (+84/-84)
src/functions/pregenerated/func_durations_dates_times.h (+84/-42)
src/functions/pregenerated/func_errors_and_diagnostics.cpp (+16/-16)
src/functions/pregenerated/func_errors_and_diagnostics.h (+28/-18)
src/functions/pregenerated/func_eval.cpp (+0/-41)
src/functions/pregenerated/func_eval.h (+0/-50)
src/functions/pregenerated/func_fetch.cpp (+37/-13)
src/functions/pregenerated/func_fetch.h (+26/-5)
src/functions/pregenerated/func_fnerror.cpp (+0/-77)
src/functions/pregenerated/func_fnerror.h (+0/-61)
src/functions/pregenerated/func_fnput.cpp (+4/-4)
src/functions/pregenerated/func_fnput.h (+9/-5)
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 (+15/-15)
src/functions/pregenerated/func_function_item_iter.h (+12/-6)
src/functions/pregenerated/func_ic_ddl.cpp (+12/-12)
src/functions/pregenerated/func_ic_ddl.h (+18/-12)
src/functions/pregenerated/func_json.cpp (+87/-0)
src/functions/pregenerated/func_json.h (+79/-0)
src/functions/pregenerated/func_jsoniq_functions.cpp (+454/-0)
src/functions/pregenerated/func_jsoniq_functions.h (+351/-0)
src/functions/pregenerated/func_maps.cpp (+81/-36)
src/functions/pregenerated/func_maps.h (+81/-29)
src/functions/pregenerated/func_maths.cpp (+104/-104)
src/functions/pregenerated/func_maths.h (+104/-52)
src/functions/pregenerated/func_node_position.cpp (+584/-0)
src/functions/pregenerated/func_node_position.h (+409/-0)
src/functions/pregenerated/func_nodes.cpp (+184/-95)
src/functions/pregenerated/func_nodes.h (+175/-54)
src/functions/pregenerated/func_numerics.cpp (+41/-41)
src/functions/pregenerated/func_numerics.h (+35/-21)
src/functions/pregenerated/func_other_diagnostics.cpp (+8/-8)
src/functions/pregenerated/func_other_diagnostics.h (+8/-4)
src/functions/pregenerated/func_parse_fragment.cpp (+24/-29)
src/functions/pregenerated/func_parse_fragment.h (+27/-8)
src/functions/pregenerated/func_parsing_and_serializing.cpp (+14/-14)
src/functions/pregenerated/func_parsing_and_serializing.h (+10/-4)
src/functions/pregenerated/func_qnames.cpp (+32/-32)
src/functions/pregenerated/func_qnames.h (+41/-19)
src/functions/pregenerated/func_random.cpp (+15/-15)
src/functions/pregenerated/func_random.h (+12/-6)
src/functions/pregenerated/func_schema.cpp (+16/-16)
src/functions/pregenerated/func_schema.h (+30/-14)
src/functions/pregenerated/func_scripting.cpp (+0/-41)
src/functions/pregenerated/func_scripting.h (+0/-50)
src/functions/pregenerated/func_sctx.cpp (+100/-100)
src/functions/pregenerated/func_sctx.h (+100/-50)
src/functions/pregenerated/func_sequences.cpp (+291/-152)
src/functions/pregenerated/func_sequences.h (+334/-189)
src/functions/pregenerated/func_strings.cpp (+209/-176)
src/functions/pregenerated/func_strings.h (+154/-63)
src/functions/pregenerated/func_uris.cpp (+65/-0)
src/functions/pregenerated/func_uris.h (+64/-0)
src/functions/pregenerated/func_xqdoc.cpp (+8/-8)
src/functions/pregenerated/func_xqdoc.h (+9/-4)
src/functions/pregenerated/function_enum.h (+165/-50)
src/functions/signature.cpp (+97/-63)
src/functions/signature.h (+9/-1)
src/functions/udf.cpp (+423/-101)
src/functions/udf.h (+130/-46)
src/precompiled/stdafx.h (+76/-355)
src/runtime/CMakeLists.txt (+22/-0)
src/runtime/accessors/accessors_impl.cpp (+48/-25)
src/runtime/accessors/pregenerated/accessors.cpp (+79/-77)
src/runtime/accessors/pregenerated/accessors.h (+7/-37)
src/runtime/any_uri/pregenerated/any_uri.cpp (+11/-11)
src/runtime/any_uri/pregenerated/any_uri.h (+1/-5)
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 (+71/-67)
src/runtime/base/unarybase.h (+27/-14)
src/runtime/base64/base64_impl.cpp (+107/-23)
src/runtime/base64/pregenerated/base64.cpp (+22/-22)
src/runtime/base64/pregenerated/base64.h (+2/-10)
src/runtime/booleans/BooleanImpl.cpp (+326/-265)
src/runtime/booleans/BooleanImpl.h (+93/-148)
src/runtime/booleans/pregenerated/booleans.cpp (+33/-33)
src/runtime/booleans/pregenerated/booleans.h (+3/-15)
src/runtime/collections/collections_base.cpp (+15/-50)
src/runtime/collections/collections_base.h (+54/-68)
src/runtime/collections/collections_impl.cpp (+910/-683)
src/runtime/collections/collections_impl.h (+83/-0)
src/runtime/collections/pregenerated/collections.cpp (+506/-426)
src/runtime/collections/pregenerated/collections.h (+363/-418)
src/runtime/context/pregenerated/context.cpp (+55/-55)
src/runtime/context/pregenerated/context.h (+5/-25)
src/runtime/core/apply_updates.cpp (+31/-8)
src/runtime/core/arithmetic_impl.cpp (+76/-65)
src/runtime/core/arithmetic_impl.h (+18/-15)
src/runtime/core/constructors.cpp (+157/-171)
src/runtime/core/constructors.h (+29/-44)
src/runtime/core/flwor_iterator.cpp (+69/-56)
src/runtime/core/flwor_iterator.h (+5/-9)
src/runtime/core/fncall_iterator.cpp (+226/-67)
src/runtime/core/fncall_iterator.h (+80/-32)
src/runtime/core/gflwor/common.cpp (+45/-29)
src/runtime/core/gflwor/common.h (+4/-2)
src/runtime/core/gflwor/count_iterator.cpp (+2/-2)
src/runtime/core/gflwor/for_iterator.cpp (+2/-2)
src/runtime/core/gflwor/groupby_iterator.cpp (+10/-15)
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 (+30/-26)
src/runtime/core/internal_operators.cpp (+9/-4)
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 (+444/-285)
src/runtime/core/sequencetypes.h (+61/-60)
src/runtime/core/trycatch.cpp (+37/-26)
src/runtime/core/trycatch.h (+16/-9)
src/runtime/core/var_iterators.cpp (+190/-131)
src/runtime/core/var_iterators.h (+48/-34)
src/runtime/debug/pregenerated/debug_iterator.cpp (+17/-11)
src/runtime/debug/pregenerated/debug_iterator.h (+1/-11)
src/runtime/durations_dates_times/DurationsDatesTimesImpl.cpp (+0/-5)
src/runtime/durations_dates_times/pregenerated/durations_dates_times.cpp (+231/-231)
src/runtime/durations_dates_times/pregenerated/durations_dates_times.h (+21/-105)
src/runtime/errors_and_diagnostics/errors_and_diagnostics_impl.cpp (+8/-9)
src/runtime/errors_and_diagnostics/other_diagnostics_impl.cpp (+13/-7)
src/runtime/errors_and_diagnostics/pregenerated/errors_and_diagnostics.cpp (+22/-22)
src/runtime/errors_and_diagnostics/pregenerated/errors_and_diagnostics.h (+2/-10)
src/runtime/errors_and_diagnostics/pregenerated/other_diagnostics.cpp (+40/-33)
src/runtime/errors_and_diagnostics/pregenerated/other_diagnostics.h (+3/-22)
src/runtime/eval/eval.cpp (+81/-37)
src/runtime/eval/eval.h (+19/-9)
src/runtime/fetch/fetch_impl.cpp (+136/-48)
src/runtime/fetch/pregenerated/fetch.cpp (+50/-22)
src/runtime/fetch/pregenerated/fetch.h (+34/-10)
src/runtime/fnput/pregenerated/fnput.cpp (+11/-11)
src/runtime/fnput/pregenerated/fnput.h (+1/-5)
src/runtime/full_text/CMakeLists.txt (+7/-4)
src/runtime/full_text/apply.cpp (+65/-32)
src/runtime/full_text/apply.h (+4/-0)
src/runtime/full_text/default_tokenizer.cpp (+4/-4)
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 (+57/-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 (+44/-43)
src/runtime/full_text/ft_stop_words_set.h (+29/-14)
src/runtime/full_text/ft_token_matcher.cpp (+13/-8)
src/runtime/full_text/ft_token_matcher.h (+1/-1)
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 (+3/-13)
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 (+2/-2)
src/runtime/full_text/icu_tokenizer.cpp (+100/-44)
src/runtime/full_text/icu_tokenizer.h (+11/-9)
src/runtime/full_text/latin_tokenizer.cpp (+34/-15)
src/runtime/full_text/latin_tokenizer.h (+13/-10)
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 (+8/-2)
src/runtime/full_text/stemmer.h (+24/-5)
src/runtime/full_text/stemmer/sb_stemmer.cpp (+20/-13)
src/runtime/full_text/stemmer/sb_stemmer.h (+1/-0)
src/runtime/full_text/thesauri/wn_synset.cpp (+4/-2)
src/runtime/full_text/thesauri/wn_thesaurus.cpp (+79/-9)
src/runtime/full_text/thesauri/wn_thesaurus.h (+29/-5)
src/runtime/full_text/thesauri/xqftts_thesaurus.cpp (+28/-3)
src/runtime/full_text/thesauri/xqftts_thesaurus.h (+28/-4)
src/runtime/full_text/thesaurus.cpp (+42/-63)
src/runtime/full_text/thesaurus.h (+25/-24)
src/runtime/full_text/tokenizer.cpp (+79/-11)
src/runtime/function_item/dynamic_fncall_iterator.cpp (+31/-15)
src/runtime/function_item/function_item.cpp (+46/-24)
src/runtime/function_item/function_item.h (+6/-1)
src/runtime/function_item/pregenerated/function_item_iter.cpp (+33/-33)
src/runtime/function_item/pregenerated/function_item_iter.h (+3/-15)
src/runtime/indexing/doc_indexer.cpp (+12/-21)
src/runtime/indexing/doc_indexer.h (+5/-3)
src/runtime/indexing/index_ddl.cpp (+494/-390)
src/runtime/indexing/index_ddl.h (+49/-40)
src/runtime/indexing/pregenerated/ic_ddl.cpp (+33/-33)
src/runtime/indexing/pregenerated/ic_ddl.h (+3/-15)
src/runtime/introspection/pregenerated/sctx.cpp (+275/-275)
src/runtime/introspection/pregenerated/sctx.h (+25/-125)
src/runtime/introspection/sctx_impl.cpp (+1/-1)
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 (+218/-0)
src/runtime/json/jsoniq_functions_impl.cpp (+833/-0)
src/runtime/json/jsoniq_functions_impl.h (+56/-0)
src/runtime/json/jsonml_array.cpp (+282/-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 (+477/-0)
src/runtime/json/pregenerated/jsoniq_functions.h (+577/-0)
src/runtime/json/snelson.cpp (+515/-0)
src/runtime/json/snelson.h (+41/-0)
src/runtime/maths/maths_impl.cpp (+1/-1)
src/runtime/maths/pregenerated/maths.cpp (+286/-286)
src/runtime/maths/pregenerated/maths.h (+26/-130)
src/runtime/misc/materialize.cpp (+1/-3)
src/runtime/nodes/node_position_impl.cpp (+756/-0)
src/runtime/nodes/nodes_impl.cpp (+263/-43)
src/runtime/nodes/pregenerated/node_position.cpp (+710/-0)
src/runtime/nodes/pregenerated/node_position.h (+762/-0)
src/runtime/nodes/pregenerated/nodes.cpp (+293/-209)
src/runtime/nodes/pregenerated/nodes.h (+120/-102)
src/runtime/numerics/NumericsImpl.cpp (+206/-127)
src/runtime/numerics/NumericsImpl.h (+2/-2)
src/runtime/numerics/format_integer_impl.cpp (+10/-10)
src/runtime/numerics/numerics_impl.cpp (+57/-83)
src/runtime/numerics/pregenerated/numerics.cpp (+77/-77)
src/runtime/numerics/pregenerated/numerics.h (+7/-35)
src/runtime/parsing_and_serializing/fragment_istream.h (+64/-16)
src/runtime/parsing_and_serializing/parse_fragment_impl.cpp (+236/-191)
src/runtime/parsing_and_serializing/parsing_and_serializing_impl.cpp (+18/-7)
src/runtime/parsing_and_serializing/pregenerated/parse_fragment.cpp (+47/-11)
src/runtime/parsing_and_serializing/pregenerated/parse_fragment.h (+48/-6)
src/runtime/parsing_and_serializing/pregenerated/parsing_and_serializing.cpp (+22/-22)
src/runtime/parsing_and_serializing/pregenerated/parsing_and_serializing.h (+4/-10)
src/runtime/pregenerated/iterator_enum.h (+350/-0)
src/runtime/qnames/pregenerated/qnames.cpp (+88/-88)
src/runtime/qnames/pregenerated/qnames.h (+8/-40)
src/runtime/qnames/qnames_impl.cpp (+41/-48)
src/runtime/random/pregenerated/random.cpp (+33/-33)
src/runtime/random/pregenerated/random.h (+3/-15)
src/runtime/random/random_impl.cpp (+2/-2)
src/runtime/schema/pregenerated/schema.cpp (+38/-44)
src/runtime/schema/pregenerated/schema.h (+3/-15)
src/runtime/schema/schema_impl.cpp (+17/-14)
src/runtime/scripting/scripting.cpp (+10/-13)
src/runtime/scripting/scripting.h (+8/-0)
src/runtime/sequences/SequencesImpl.cpp (+2/-3)
src/runtime/sequences/SequencesImpl.h (+0/-7)
src/runtime/sequences/pregenerated/sequences.cpp (+484/-331)
src/runtime/sequences/pregenerated/sequences.h (+256/-186)
src/runtime/sequences/sequences_impl.cpp (+388/-125)
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 (+37/-21)
src/runtime/spec/codegen-h.xq (+55/-20)
src/runtime/spec/collections/collections.xml (+753/-498)
src/runtime/spec/errors_and_diagnostics/errors_and_diagnostics.xml (+3/-0)
src/runtime/spec/fetch/fetch.xml (+29/-3)
src/runtime/spec/fnput/fnput.xml (+2/-1)
src/runtime/spec/full_text/ft_module.xml (+261/-0)
src/runtime/spec/iterator-enum.xq (+39/-0)
src/runtime/spec/iterator_cpp.xq (+74/-13)
src/runtime/spec/iterator_h.xq (+32/-40)
src/runtime/spec/json/json.xml (+52/-0)
src/runtime/spec/json/jsoniq_functions.xml (+464/-0)
src/runtime/spec/mappings.xml (+41/-18)
src/runtime/spec/nodes/node_position.xml (+439/-0)
src/runtime/spec/nodes/nodes.xml (+432/-270)
src/runtime/spec/numerics/numerics.xml (+3/-3)
src/runtime/spec/parsing_and_serializing/parse_fragment.xml (+41/-19)
src/runtime/spec/parsing_and_serializing/parsing_and_serializing.xml (+8/-3)
src/runtime/spec/plan_iter_visitor_h.xq (+4/-4)
src/runtime/spec/printer_visitor_cpp.xq (+2/-2)
src/runtime/spec/printer_visitor_h.xq (+1/-1)
src/runtime/spec/qnames/qnames.xml (+17/-0)
src/runtime/spec/runtime.xsd (+0/-1)
src/runtime/spec/schema/schema.xml (+19/-0)
src/runtime/spec/sequences/sequences.xml (+305/-117)
src/runtime/spec/store/documents.xml (+1/-0)
src/runtime/spec/store/maps.xml (+66/-6)
src/runtime/spec/strings/strings.xml (+63/-8)
src/runtime/spec/uris/uris.xml (+40/-0)
src/runtime/spec/xqdoc/xqdoc.xml (+1/-1)
src/runtime/store/maps_impl.cpp (+317/-158)
src/runtime/store/pregenerated/documents.cpp (+55/-55)
src/runtime/store/pregenerated/documents.h (+5/-25)
src/runtime/store/pregenerated/maps.cpp (+146/-88)
src/runtime/store/pregenerated/maps.h (+74/-43)
src/runtime/strings/pregenerated/strings.cpp (+367/-297)
src/runtime/strings/pregenerated/strings.h (+109/-135)
src/runtime/strings/strings_impl.cpp (+494/-125)
src/runtime/update/update.cpp (+42/-22)
src/runtime/update/update.h (+12/-28)
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 (+63/-52)
src/runtime/visitors/planiter_visitor_impl_include.h (+15/-6)
src/runtime/visitors/pregenerated/planiter_visitor.h (+449/-24)
src/runtime/visitors/pregenerated/printer_visitor.cpp (+1125/-68)
src/runtime/visitors/pregenerated/printer_visitor.h (+293/-14)
src/runtime/visitors/printer_visitor_impl.cpp (+271/-193)
src/runtime/visitors/printer_visitor_impl.h (+64/-51)
src/runtime/xqdoc/pregenerated/xqdoc.cpp (+22/-22)
src/runtime/xqdoc/pregenerated/xqdoc.h (+2/-10)
src/runtime/xqdoc/xqdoc_impl.cpp (+4/-4)
src/store/api/annotation.h (+17/-15)
src/store/api/collection.h (+7/-5)
src/store/api/index.h (+65/-22)
src/store/api/item.h (+206/-44)
src/store/api/item_factory.h (+93/-157)
src/store/api/item_handle.h (+1/-0)
src/store/api/iterator.h (+4/-7)
src/store/api/load_properties.h (+241/-38)
src/store/api/pul.h (+73/-9)
src/store/api/shared_types.h (+3/-0)
src/store/api/store.h (+85/-36)
src/store/api/temp_seq.h (+51/-47)
src/store/api/update_consts.h (+39/-6)
src/store/naive/CMakeLists.txt (+12/-1)
src/store/naive/atomic_items.cpp (+1470/-335)
src/store/naive/atomic_items.h (+674/-253)
src/store/naive/collection.cpp (+113/-0)
src/store/naive/collection.h (+115/-0)
src/store/naive/collection_set.h (+63/-86)
src/store/naive/dataguide.cpp (+1/-1)
src/store/naive/inmemorystore.cpp (+4/-4)
src/store/naive/inmemorystorec.cpp (+2/-2)
src/store/naive/item.cpp (+365/-62)
src/store/naive/item_iterator.cpp (+1/-1)
src/store/naive/item_vector.cpp (+4/-2)
src/store/naive/json_items.cpp (+1338/-0)
src/store/naive/json_items.h (+472/-0)
src/store/naive/json_loader.cpp (+307/-0)
src/store/naive/json_loader.h (+80/-0)
src/store/naive/loader.h (+70/-59)
src/store/naive/loader_dtd.cpp (+343/-156)
src/store/naive/loader_fast.cpp (+99/-56)
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 (+1101/-453)
src/store/naive/node_items.h (+335/-239)
src/store/naive/node_iterators.cpp (+106/-32)
src/store/naive/node_iterators.h (+84/-20)
src/store/naive/node_updates.cpp (+42/-59)
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 (+150/-126)
src/store/naive/pul_primitives.cpp (+794/-200)
src/store/naive/pul_primitives.h (+454/-60)
src/store/naive/qname_pool.cpp (+73/-88)
src/store/naive/qname_pool.h (+18/-18)
src/store/naive/shared_types.h (+28/-4)
src/store/naive/simple_collection.cpp (+376/-260)
src/store/naive/simple_collection.h (+46/-53)
src/store/naive/simple_collection_set.cpp (+63/-47)
src/store/naive/simple_collection_set.h (+117/-0)
src/store/naive/simple_index.cpp (+324/-305)
src/store/naive/simple_index.h (+165/-204)
src/store/naive/simple_index_general.cpp (+1624/-2178)
src/store/naive/simple_index_general.h (+345/-177)
src/store/naive/simple_index_value.cpp (+296/-82)
src/store/naive/simple_index_value.h (+105/-44)
src/store/naive/simple_item_factory.cpp (+342/-32)
src/store/naive/simple_item_factory.h (+77/-3)
src/store/naive/simple_iterator_factory.cpp (+6/-6)
src/store/naive/simple_lazy_temp_seq.cpp (+172/-100)
src/store/naive/simple_lazy_temp_seq.h (+31/-144)
src/store/naive/simple_pul.cpp (+1942/-783)
src/store/naive/simple_pul.h (+169/-56)
src/store/naive/simple_store.cpp (+272/-1618)
src/store/naive/simple_store.h (+80/-343)
src/store/naive/simple_temp_seq.cpp (+187/-231)
src/store/naive/simple_temp_seq.h (+49/-51)
src/store/naive/store.cpp (+1376/-0)
src/store/naive/store.h (+456/-0)
src/store/naive/store_defs.h (+22/-79)
src/store/naive/store_manager_impl.h (+4/-4)
src/store/naive/store_properties.h (+36/-24)
src/store/naive/string_pool.cpp (+8/-7)
src/store/naive/text_node_content.h (+1/-1)
src/store/naive/tree_id.h (+41/-0)
src/store/naive/tree_id_generator.cpp (+57/-0)
src/store/naive/tree_id_generator.h (+90/-0)
src/store/util/hashset_node_handle.h (+0/-70)
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 (+843/-346)
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 (+261/-166)
src/types/root_typemanager.h (+79/-39)
src/types/schema/EventSchemaValidator.cpp (+5/-3)
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 (+6/-5)
src/types/schema/schema.cpp (+67/-53)
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 (+269/-220)
src/types/typemanager.h (+36/-28)
src/types/typemanagerimpl.cpp (+200/-128)
src/types/typemanagerimpl.h (+33/-25)
src/types/typeops.cpp (+758/-535)
src/types/typeops.h (+24/-48)
src/unit_tests/CMakeLists.txt (+36/-7)
src/unit_tests/instantiate_string.cpp (+125/-117)
src/unit_tests/instantiate_unordered_map.cpp (+118/-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/-414)
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 (+637/-0)
src/unit_tests/test_stemmer.cpp (+20/-8)
src/unit_tests/test_string.cpp (+35/-1)
src/unit_tests/test_thesaurus.cpp (+69/-38)
src/unit_tests/test_tokenizer.cpp (+62/-35)
src/unit_tests/test_unique_ptr.cpp (+8/-1)
src/unit_tests/test_unordered_map.cpp (+263/-0)
src/unit_tests/test_unordered_set.cpp (+248/-0)
src/unit_tests/unit_test_list.h (+31/-15)
src/unit_tests/unit_tests.cpp (+58/-32)
src/util/CMakeLists.txt (+15/-4)
src/util/ascii_util.cpp (+34/-0)
src/util/ascii_util.h (+24/-6)
src/util/base64_util.cpp (+359/-0)
src/util/base64_util.h (+361/-0)
src/util/dir.cpp (+0/-175)
src/util/dir.h (+0/-100)
src/util/file.cpp (+14/-0)
src/util/fs_util.cpp (+130/-8)
src/util/fs_util.h (+97/-2)
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 (+447/-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 (+13/-7)
src/util/http_util.h (+0/-2)
src/util/icu_streambuf.cpp (+314/-0)
src/util/icu_streambuf.h (+145/-0)
src/util/json_parser.cpp (+663/-0)
src/util/json_parser.h (+570/-0)
src/util/mem_streambuf.cpp (+120/-0)
src/util/mem_streambuf.h (+108/-0)
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 (+182/-102)
src/util/regex.h (+24/-36)
src/util/regex_xquery.cpp (+1860/-489)
src/util/regex_xquery.h (+359/-125)
src/util/stl_util.h (+186/-21)
src/util/string/ptr_rep.tcc (+1/-0)
src/util/string/rstring.h (+4/-7)
src/util/string_util.cpp (+13/-5)
src/util/string_util.h (+12/-5)
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 (+34/-2)
src/util/unicode_util.h (+62/-23)
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 (+6/-6)
src/util/utf8_util.cpp (+23/-6)
src/util/utf8_util.h (+31/-19)
src/util/utf8_util.tcc (+25/-10)
src/util/utf8_util_base.h (+27/-12)
src/util/uuid/uuid.cpp (+27/-4)
src/util/uuid/uuid.h (+3/-0)
src/util/xml_util.h (+37/-6)
src/zorbamisc/ns_consts.h (+7/-5)
src/zorbaserialization/CMakeLists.txt (+7/-7)
src/zorbaserialization/archiver.cpp (+1131/-979)
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/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/-1017)
src/zorbaserialization/xml_archiver.cpp (+0/-849)
src/zorbaserialization/xml_archiver.h (+0/-79)
src/zorbaserialization/zorba_class_serializer.cpp (+0/-1392)
src/zorbaserialization/zorba_class_serializer.h (+0/-571)
src/zorbaserialization/zorba_class_versions.cpp (+5/-632)
src/zorbaserialization/zorba_classes_version.cpp (+0/-25)
src/zorbatypes/URI.cpp (+20/-5)
src/zorbatypes/binary.cpp (+83/-299)
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 (+1/-16)
src/zorbatypes/datetime/timezone.cpp (+3/-10)
src/zorbatypes/decimal.cpp (+91/-64)
src/zorbatypes/decimal.h (+192/-209)
src/zorbatypes/duration.h (+12/-7)
src/zorbatypes/floatimpl.cpp (+79/-17)
src/zorbatypes/floatimpl.h (+684/-465)
src/zorbatypes/ft_token.cpp (+1/-1)
src/zorbatypes/ft_token.h (+1/-1)
src/zorbatypes/integer.cpp (+292/-100)
src/zorbatypes/integer.h (+927/-322)
src/zorbatypes/libicu.h (+0/-32)
src/zorbatypes/numconversions.cpp (+27/-9)
src/zorbatypes/numconversions.h (+4/-0)
src/zorbatypes/rchandle.cpp (+30/-0)
src/zorbatypes/rchandle.h (+17/-17)
src/zorbatypes/schema_types.h (+5/-1)
src/zorbatypes/timezone.h (+13/-6)
src/zorbatypes/transcoder.cpp (+8/-4)
src/zorbatypes/transcoder.h (+9/-9)
src/zorbatypes/zorbatypes_decl.h (+13/-1)
src/zorbautils/CMakeLists.txt (+2/-1)
src/zorbautils/hashmap.h (+150/-191)
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 (+1/-1)
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/locale.cpp (+385/-6)
src/zorbautils/locale.h (+375/-271)
src/zorbautils/string_util.cpp (+19/-18)
src/zorbautils/string_util.h (+15/-1)
swig/CMakeLists.txt (+3/-7)
swig/Collection.h (+180/-0)
swig/Collection.i (+91/-0)
swig/CollectionManager.h (+115/-0)
swig/CollectionManager.i (+57/-0)
swig/DiagnosticHandler.h (+41/-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/Exceptions.i (+3/-3)
swig/Item.h (+303/-0)
swig/Item.i (+128/-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 (+147/-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 (+161/-0)
swig/XQuery.i (+39/-289)
swig/XmlDataManager.h (+88/-0)
swig/XmlDataManager.i (+20/-67)
swig/Zorba.h (+207/-0)
swig/Zorba.i (+81/-43)
swig/java/CMakeLists.txt (+31/-19)
swig/java/zorba_api.i (+2/-1)
swig/php/CMakeLists.txt (+30/-36)
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 (+52/-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 (+15/-14)
swig/php/zorba_api_wrapper.php (+1215/-0)
swig/python/CMakeLists.txt (+15/-12)
swig/python/tests/CMakeLists.txt (+3/-4)
swig/python/tests/test03.py.in (+1/-0)
swig/ruby/CMakeLists.txt (+25/-10)
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 (+49/-0)
swig/ruby/tests/test12.rb (+49/-0)
swig/ruby/tests/test13.rb (+50/-0)
swig/ruby/tests/test14.rb (+50/-0)
swig/various.i (+184/-0)
swig/xqj/CMakeLists.txt (+125/-0)
swig/xqj/ZorbaXQCollection.java (+280/-0)
swig/xqj/ZorbaXQCollectionManager.java (+150/-0)
swig/xqj/ZorbaXQConnection.java (+2087/-0)
swig/xqj/ZorbaXQDataSource.java (+258/-0)
swig/xqj/ZorbaXQDocumentManager.java (+73/-0)
swig/xqj/ZorbaXQExpression.java (+737/-0)
swig/xqj/ZorbaXQItem.java (+846/-0)
swig/xqj/ZorbaXQItemType.java (+854/-0)
swig/xqj/ZorbaXQMetaData.java (+346/-0)
swig/xqj/ZorbaXQPreparedExpression.java (+957/-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 (+300/-0)
swig/xqj/managers/module1.xq (+21/-0)
swig/xqj/managers/module2.xq (+40/-0)
swig/xqj/managers/module3.xq (+22/-0)
swig/xqj/tck/xqj_test.bat.in (+51/-0)
swig/xqj/tck/xqj_test.sh.in (+64/-0)
swig/xqj/tck/zorba.properties (+2/-0)
swig/zorba_api.i (+70/-15)
test/CMakeLists.txt (+2/-0)
test/api/CMakeLists.txt (+6/-1)
test/api/import-hello.xsd (+7/-0)
test/api/userdefined_uri_resolution.cpp (+112/-8)
test/apitest.cpp (+21/-6)
test/http-test-data/docroot/http-test-data/http2.xml (+4/-0)
test/parser/parsertestdriver.cpp (+2/-0)
test/rbkt/CMakeLists.txt (+0/-1)
test/rbkt/ExpCompilerResults/IterPlan/extras/wikibooks/wikibooks_counting_keywords.iter (+35/-35)
test/rbkt/ExpCompilerResults/IterPlan/extras/wikibooks/wikibooks_net_working_days.iter (+41/-72)
test/rbkt/ExpCompilerResults/IterPlan/iterscript.cmake (+14/-10)
test/rbkt/ExpCompilerResults/IterPlan/zorba/collections/count_dynamic_zorba_collection.iter (+25/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/collections/count_static_zorba_collection.iter (+61/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/collections/count_w3c_collection.iter (+35/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/error/trace1.iter (+8/-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/idx4.iter (+74/-78)
test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/idx5.iter (+79/-83)
test/rbkt/ExpCompilerResults/IterPlan/zorba/misc/hoist4.iter (+23/-27)
test/rbkt/ExpCompilerResults/IterPlan/zorba/misc/inline_var1.iter (+2/-2)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide-c.iter (+375/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide-nc.iter (+375/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide2-c.iter (+139/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide2-nc.iter (+139/-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 (+164/-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 (+43/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q20.iter (+192/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/q3.iter (+139/-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 (+58/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/hoist01.iter (+86/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/paths/pred_order.iter (+2/-2)
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 (+5/-5)
test/rbkt/ExpCompilerResults/IterPlan/zorba/xray/ppm_10.iter (+125/-134)
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/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/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/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/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/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_random_file.xml.res (+1/-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_text_lines.xml.res (+32/-0)
test/rbkt/ExpQueryResults/zorba/file/streamability2.xml.res (+2/-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-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/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/index/auctions1.xml.res (+3/-3)
test/rbkt/ExpQueryResults/zorba/index/auctions2.xml.res (+1/-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/numbers.xml.res (+21/-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/unique.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/introspection/introsp-fn-7.xml.res (+1/-1)
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_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/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/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/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_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_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/object_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/object_02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/pair_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsoniq/project_01.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/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/guestbook.xml.res (+2/-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/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/trycatch_hoist_01.xml.res (+2/-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-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 (+1/-1)
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/paths/path28.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/paths/ref1.xml.res (+387/-0)
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/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/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/flwor15.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/extensions1a.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/serialization/cloudscript/extensions2a.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/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/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/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/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/testdriver/bom_bug.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/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/undo10.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/updates/undo11.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/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/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/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/ric6.xml.res (+2/-2)
test/rbkt/ExpQueryResults/zorba/xqddf/ic-foreignKey.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqdoc/basic.xml.res (+2/-2)
test/rbkt/ExpQueryResults/zorba/xqdoc/content.xml.res (+2/-2)
test/rbkt/ExpQueryResults/zorba/xqdoc/indentation.xml.res (+1/-2)
test/rbkt/ExpQueryResults/zorba/xqdoc/local.xml.res (+1/-1)
test/rbkt/ExpQueryResults/zorba/xqdoc/no_global_var.xml.res (+1/-2)
test/rbkt/ExpQueryResults/zorba/xqdoc/testSchemaTypes.xml.res (+1/-2)
test/rbkt/ExpQueryResults/zorba/xqdoc/unorderedAnnotations.xml.res (+2/-3)
test/rbkt/Queries/CMakeLists.txt (+352/-35)
test/rbkt/Queries/w3c_known_failures.txt (+60/-87)
test/rbkt/Queries/w3c_known_failures_XQueryX.txt (+88/-0)
test/rbkt/Queries/zorba/HigherOrder/hof-001.xq (+1/-1)
test/rbkt/Queries/zorba/HigherOrder/hof-003.lib (+2/-2)
test/rbkt/Queries/zorba/annotations/annot-unknown-02.spec (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-unknown-02.xq (+10/-6)
test/rbkt/Queries/zorba/annotations/annot-unknown-04.spec (+1/-1)
test/rbkt/Queries/zorba/annotations/annot-unknown-04.xq (+9/-6)
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 (+16/-0)
test/rbkt/Queries/zorba/collections/collection_002.xqdata (+3/-1)
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/delete_double.xq (+10/-0)
test/rbkt/Queries/zorba/collections/delete_nodes/truncate_001.xq (+27/-0)
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/modifier_3.xq (+1/-1)
test/rbkt/Queries/zorba/collections/paging_1.xq (+20/-0)
test/rbkt/Queries/zorba/collections/paging_2.xq (+21/-0)
test/rbkt/Queries/zorba/collections/paging_3.xq (+20/-0)
test/rbkt/Queries/zorba/collections/paging_4.xq (+21/-0)
test/rbkt/Queries/zorba/collections/uri-collection.xml (+6/-0)
test/rbkt/Queries/zorba/collections/uri-collection_1.xq (+16/-0)
test/rbkt/Queries/zorba/collections/uri-collection_2.spec (+1/-0)
test/rbkt/Queries/zorba/collections/uri-collection_2.xq (+16/-0)
test/rbkt/Queries/zorba/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/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/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/eval9.xq (+6/-0)
test/rbkt/Queries/zorba/eval/eval_reset.xq (+15/-0)
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/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 (+3/-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 (+3/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-015.xq (+4/-0)
test/rbkt/Queries/zorba/ext_var/w3c/extvardef-016.xq (+4/-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 (+5/-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/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.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq (+2/-2)
test/rbkt/Queries/zorba/fetch/fetch_module1.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_module2.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_random_file.xq (+4/-0)
test/rbkt/Queries/zorba/fetch/fetch_schema1.xq (+1/-1)
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_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/streamability2.spec (+0/-1)
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-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 (+1/-1)
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/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/posvar.xq (+17/-0)
test/rbkt/Queries/zorba/hashjoins/idx10.xq (+160/-0)
test/rbkt/Queries/zorba/hashjoins/idx9.xq (+10/-0)
test/rbkt/Queries/zorba/hashjoins/idx9.xqlib (+21/-0)
test/rbkt/Queries/zorba/http-client/send-request/http2-read-svg.xq (+2/-2)
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/index/auctions1.xml (+1/-0)
test/rbkt/Queries/zorba/index/auctions1.xq (+1/-1)
test/rbkt/Queries/zorba/index/auctions2.xq (+25/-0)
test/rbkt/Queries/zorba/index/count.xq (+5/-0)
test/rbkt/Queries/zorba/index/count.xqlib (+76/-0)
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/numbers.xml (+10/-0)
test/rbkt/Queries/zorba/index/numbers.xq (+75/-0)
test/rbkt/Queries/zorba/index/numbers.xqlib (+28/-0)
test/rbkt/Queries/zorba/index/undo2.xq (+43/-0)
test/rbkt/Queries/zorba/index/undo2.xqlib (+36/-0)
test/rbkt/Queries/zorba/index/undo3.xq (+59/-0)
test/rbkt/Queries/zorba/index/unique.xq (+50/-0)
test/rbkt/Queries/zorba/index/unique.xqlib (+37/-0)
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_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 (+12/-0)
test/rbkt/Queries/zorba/jsoniq/coll_dyn_01.xq (+57/-0)
test/rbkt/Queries/zorba/jsoniq/coll_dyn_02.spec (+1/-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/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/jnty0001-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0001-1.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0001-2.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0001-2.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0002-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0002-1.xq (+2/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0002-2.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/jnty0002-2.xq (+2/-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 (+3/-0)
test/rbkt/Queries/zorba/jsoniq/null02.xq (+3/-0)
test/rbkt/Queries/zorba/jsoniq/null03.xq (+4/-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 (+14/-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_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_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/object_01.xq (+4/-0)
test/rbkt/Queries/zorba/jsoniq/object_02.xq (+16/-0)
test/rbkt/Queries/zorba/jsoniq/pair_01.xq (+5/-0)
test/rbkt/Queries/zorba/jsoniq/parser_01.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/parser_01.xq (+3/-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/serializer-jsoniq-allow-mixed-1.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-allow-mixed-1.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-allow-mixed-2.spec (+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 (+1/-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 (+1/-0)
test/rbkt/Queries/zorba/jsoniq/serializer-jsoniq-disallow-mixed-2.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/string01.spec (+1/-0)
test/rbkt/Queries/zorba/jsoniq/string01.xq (+1/-0)
test/rbkt/Queries/zorba/jsoniq/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/misc/baseuri.xml (+1/-0)
test/rbkt/Queries/zorba/misc/baseuri.xq (+2/-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/guestbook.xq (+28/-0)
test/rbkt/Queries/zorba/misc/guestbook.xqlib (+46/-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/libraryModule15.xqlib (+8/-3)
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 (+31/-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/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/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/trycatch_hoist_01.xq (+17/-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/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 (+6/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-13.xq (+7/-1)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-14.xq (+6/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-15.xq (+8/-2)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-16.spec (+0/-1)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-16.xq (+0/-8)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-17.spec (+0/-1)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-17.xq (+0/-8)
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/paths/path28.xq (+2/-0)
test/rbkt/Queries/zorba/paths/ref1.spec (+0/-1)
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/reference/collections.xqdata (+1/-0)
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_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/-4)
test/rbkt/Queries/zorba/reference/reference_doc_example_01.xq (+0/-7)
test/rbkt/Queries/zorba/reference/reference_doc_example_02.spec (+0/-4)
test/rbkt/Queries/zorba/reference/reference_doc_example_02.xq (+0/-8)
test/rbkt/Queries/zorba/schemas/extracontent.xsd (+9/-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-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-xsiType-noSchemaImport.xq (+11/-0)
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/flwor15.xq (+34/-0)
test/rbkt/Queries/zorba/scripting/flwor7.xq (+1/-1)
test/rbkt/Queries/zorba/scripting/flwor8.xq (+1/-1)
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/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 (+2/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions1.xq (+3/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions1a.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions1a.xq (+3/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions2.spec (+2/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions2.xq (+3/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions2a.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions2a.xq (+3/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions3.spec (+2/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions3.xq (+4/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions3a.spec (+1/-0)
test/rbkt/Queries/zorba/serialization/cloudscript/extensions3a.xq (+3/-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 (+3/-0)
test/rbkt/Queries/zorba/serialization/indent.spec (+1/-1)
test/rbkt/Queries/zorba/spec/XQuery_3.0.html (+28771/-30944)
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 (+4/-13)
test/rbkt/Queries/zorba/store/documents.xq (+1/-0)
test/rbkt/Queries/zorba/store/example_3.xq (+4/-4)
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/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/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_errors/mismatched-tags-01.spec (+1/-0)
test/rbkt/Queries/zorba/syntax_errors/mismatched-tags-01.xq (+20/-0)
test/rbkt/Queries/zorba/syntax_errors/unexpected-qname-01.spec (+1/-0)
test/rbkt/Queries/zorba/syntax_errors/unexpected-qname-01.xq (+7/-0)
test/rbkt/Queries/zorba/syntax_errors/unexpected-qname-02.spec (+1/-0)
test/rbkt/Queries/zorba/syntax_errors/unexpected-qname-02.xq (+8/-0)
test/rbkt/Queries/zorba/testdriver/bom_bug.xq (+1/-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/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-2.xq (+10/-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/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/undo10.xq (+34/-0)
test/rbkt/Queries/zorba/updates/undo11.xq (+54/-0)
test/rbkt/Queries/zorba/updates/undo8.xq (+54/-0)
test/rbkt/Queries/zorba/updates/undo9.xq (+54/-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/import-chain1.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import-chain2.xq (+1/-1)
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.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import6.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import7.xq (+1/-1)
test/rbkt/Queries/zorba/windowing/q19.xq (+2/-2)
test/rbkt/Queries/zorba/windowing/q9.xq (+2/-2)
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/windowing12.xq (+9/-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/xqddf/daniel/i1.xq (+5/-3)
test/rbkt/Queries/zorba/xqddf/daniel/i2.xq (+1/-1)
test/rbkt/Queries/zorba/xqddf/daniel/i3.xq (+1/-1)
test/rbkt/Queries/zorba/xqddf/daniel/i4.xq (+1/-1)
test/rbkt/Queries/zorba/xqddf/daniel/i5.xq (+2/-2)
test/rbkt/Queries/zorba/xqddf/daniel/i6.xq (+4/-4)
test/rbkt/Queries/zorba/xqddf/daniel/ric6.xq (+8/-4)
test/rbkt/Queries/zorba/xqddf/daniel/undo1.xq (+7/-3)
test/rbkt/Queries/zorba/xqddf/ic-foreignKey.xq (+10/-2)
test/rbkt/Queries/zorba/xqddf/test-node-reference.xq (+2/-0)
test/rbkt/Queries/zorba/xqdoc/indentation.spec (+1/-1)
test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.spec (+1/-3)
test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq (+72/-65)
test/rbkt/Scripts/w3c/Readme.txt (+17/-7)
test/rbkt/Scripts/w3c/Submit_xqts.cmake (+23/-9)
test/rbkt/Scripts/w3c/generate-submission-xqftts.xq (+5/-5)
test/rbkt/Scripts/w3c/generate-submission-xqts.xq (+5/-10)
test/rbkt/Scripts/w3c/import_w3c_full_text_testsuite.sh (+2/-2)
test/rbkt/Scripts/w3c/import_w3c_testsuite.sh (+1/-1)
test/rbkt/itertest.xq.in (+58/-44)
test/rbkt/modules/CMakeLists.txt (+9/-3)
test/rbkt/modules/bad-ver.xq (+1/-1)
test/rbkt/modules/java/CMakeLists.txt (+36/-0)
test/rbkt/modules/java/Test.java (+7/-0)
test/rbkt/modules/module-A.xq (+1/-1)
test/rbkt/modules/module-B.xq (+1/-1)
test/rbkt/modules/random-file.txt (+1/-0)
test/rbkt/modules/ver.xq (+1/-1)
test/rbkt/modules/ver2.xq (+1/-1)
test/rbkt/specification.h (+64/-43)
test/rbkt/testdriver.cpp (+43/-16)
test/rbkt/testdriver_common.cpp (+17/-4)
test/rbkt/testdriver_mt.cpp (+32/-5)
test/test_ordpath.cpp (+7/-5)
test/unit/CMakeLists.txt (+43/-10)
test/unit/context_item.cpp (+193/-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/ext_main2.xq (+21/-0)
test/unit/ext_main3.xq (+21/-0)
test/unit/ext_mod.xq (+4/-0)
test/unit/ext_mod2.xq (+19/-0)
test/unit/external_function.cpp (+169/-15)
test/unit/guestbook.xq (+15/-3)
test/unit/guestbook_main.xq (+1/-1)
test/unit/main_invoke.xq (+9/-0)
test/unit/mini_audit.xq (+13/-0)
test/unit/mini_http.xq (+40/-0)
test/unit/module1.xq (+1/-1)
test/unit/module2.xq (+17/-0)
test/unit/module4.xq (+6/-0)
test/unit/module5.xq (+20/-0)
test/unit/module6.xq (+38/-0)
test/unit/plan_serializer.cpp (+61/-14)
test/unit/schema1.xsd (+21/-0)
test/unit/staticcollectionmanager.cpp (+293/-19)
test/unit/testGetExtVarA.xq (+13/-0)
test/unit/testGetExtVarB.xq (+6/-0)
test/unit/test_static_context.cpp (+386/-0)
test/update/CMakeLists.txt (+10/-1)
test/update/Queries/zorba/store/sc2_ex3.xq (+2/-1)
test/update/Queries/zorba/store/sc3_ex3.xq (+1/-1)
test/update/Scripts/Readme.txt (+8/-5)
test/update/Scripts/XQUTS.xml (+1/-1)
test/update/Scripts/generate-submission-xquts.xq (+12/-5)
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/zperf/src/start.xq (+154/-100)
To merge this branch: bzr merge lp:~zorba-coders/zorba/jsoniq
Reviewer Review Type Date Requested Status
Cezar Andrei Approve
Review via email: mp+92348@code.launchpad.net

This proposal supersedes a proposal from 2012-02-09.

Commit message

...

Description of the change

...

To post a comment you must log in.
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Matthias Brantner (matthias-brantner) wrote : Posted in a previous version of this proposal

retry building the web interface with jsoniq support

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

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

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

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

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

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

Revision history for this message
Cezar Andrei (cezar-andrei) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

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

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

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

Subscribers

People subscribed via source and target branches

to all changes: