[Zorba-coders] [Bug 898066] Re: Stringstream fn:trace
** Branch linked: lp:~zorba-coders/zorba/bug-898066 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/898066 Title: Stringstream fn:trace Status in Zorba - The XQuery Processor: In Progress Bug description: The following query: let $string := http:get(blub) return trace($string, res) Returns the following error: [zerr:ZSTR0055]: streamable string has already been consumed To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/898066/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1014977] Re: Feature: C# language binding
** Branch linked: lp:~zorba-coders/zorba/bug1014977 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1014977 Title: Feature: C# language binding Status in Zorba - The XQuery Processor: Confirmed Bug description: We should support C# language on Windows. As yet we do not believe we need to also support C# using Mono on other platforms. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1014977/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1027142] Re: process:exec memory leak
** Branch linked: lp:~zorba-coders/zorba/bug-1027142-process-leak -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1027142 Title: process:exec memory leak Status in Zorba - The XQuery Processor: In Progress Bug description: Running the following query with valgrind will show some memory leak import module namespace process=http://www.zorba-xquery.com/modules/process;; process:exec(ls) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1027142/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1026594] Re: system module crashes with signal 8: SIGFPE
** Branch linked: lp:~zorba-coders/zorba/bug-1026594 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1026594 Title: system module crashes with signal 8: SIGFPE Status in Zorba - The XQuery Processor: In Progress Bug description: this is caused by code in src/com/zorba- xquery/www/modules/system.xq.src/system.cpp:218 division by 0. Sinlge core processors without hyper threading don't have info cpu cores in /proc/cpuinfo. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1026594/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1014977] Re: Feature: C# language binding
** Branch linked: lp:~zorba-coders/zorba/bug1014977 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1014977 Title: Feature: C# language binding Status in Zorba - The XQuery Processor: Confirmed Bug description: We should support C# language on Windows. As yet we do not believe we need to also support C# using Mono on other platforms. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1014977/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1024580] Re: Error with precompiled headers in Windows
** Branch linked: lp:~zorba-coders/zorba/bug1024580 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1024580 Title: Error with precompiled headers in Windows Status in Zorba - The XQuery Processor: New Bug description: Windows is not compiling on VS IDE with precompiled headers activated... To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1024580/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1022494] Re: fetch_bogus2 fails due to flworfound.org change
** Branch linked: lp:~zorba-coders/zorba/bugs-1022495-and-1022494 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1022494 Title: fetch_bogus2 fails due to flworfound.org change Status in Zorba - The XQuery Processor: Confirmed Bug description: The test test/rbkt/zorba/fetch/fetch_bogus2 seems to fail under Windows as of trunk revision 10917. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1022494/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1022495] Re: versioning/import5 fails due to flworfound.org change
** Branch linked: lp:~zorba-coders/zorba/bugs-1022495-and-1022494 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1022495 Title: versioning/import5 fails due to flworfound.org change Status in Zorba - The XQuery Processor: Confirmed Bug description: The test test/rbkt/zorba/versioning/import5 seems to fail under Windows as of trunk revision 10917. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1022495/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1021025] Re: in json_impl.cpp data from a zstring is read after destruction
** Branch linked: lp:~zorba-coders/zorba/bug-1021025 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1021025 Title: in json_impl.cpp data from a zstring is read after destruction Status in Zorba - The XQuery Processor: In Progress Bug description: a zstring in json_impl.cpp is destroyed before it's data is read. This causes an illegal_character exception to be thrown if e.g. the twitter api is consumed and parsed. Also, the exception thrown contains non-utf-8 characters which causes problems in some execution environments. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1021025/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1005995] Re: fn:path() should support fragments as well as documents
** Branch linked: lp:~zorba-coders/zorba/bug-1005995 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1005995 Title: fn:path() should support fragments as well as documents Status in Zorba - The XQuery Processor: New Bug description: Modify fn:path to add support for fragments To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1005995/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 969251] Re: mainModule16 test can raise any of two error messages
** Branch linked: lp:~zorba-coders/zorba/fix_bug_969251 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/969251 Title: mainModule16 test can raise any of two error messages Status in Zorba - The XQuery Processor: New Bug description: This test http://bazaar.launchpad.net/~zorba- coders/zorba/trunk/view/head:/test/rbkt/Queries/zorba/modules/mainModule16.xq may raise two error messages, and the test and spec files seem to be inconsistent about the intention of the test: - XPST0081 (as written in the test) because prefix geometry is not bound. - XPST0036 (as written in the spec file) because a parameter type of an imported function is not in scope. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/969251/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 867357] Re: Improved parser error message
** Branch linked: lp:~nbrinza/zorba/error-messages -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867357 Title: Improved parser error message Status in Zorba - The XQuery Processor: New Bug description: Provide an improved error message for a syntax error reported by the parser: Given: for sm1 in $x/match I get: line 23, column 7: [XPST0003] syntax error, unexpected 'QName', expecting end of file A better error message would be: unexpected QName (missing '$'?) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867357/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1001477] Re: Error on xqdoc test for windows
** Branch linked: lp:~zorba-coders/zorba/fix_bug_1001477 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1001477 Title: Error on xqdoc test for windows Status in Zorba - The XQuery Processor: New Bug description: CTest is not passing the xqdoc test, seems that there is an error creating the path: C:\zorba\trunk\build\test\rbkt\QueryResults\zorba\xqdoc\xhtml\images from directory: C:\zorba\trunk\build\test\rbkt\QueryResults\zorba\xqdoc\xhtml which is correct, because the subdirectory xhtml doesn't exist 1: Test command: C:\zorba\trunk\build\bin\zorba.bat --omit-xml-declaration -f -q C:/zorba/trunk/test/rbkt/Queries/zorba/xqdoc/make_xqdoc.xqi -e zorbaManifestPath:=C:/zorba/trunk/build/ZorbaManifest.xml -e xhtmlRequisitesPath:=C:/zorba/trunk/doc/zorba/xqdoc -e xqdocBuildPath:=C:/zorba/trunk/build/test/rbkt/QueryResults/zorba/xqdoc -e zorbaVersion:=2.2 1: Test timeout computed to be: 1500 1: zorbaManifestPath[0]: xs:string(C:/zorba/trunk/build/ZorbaManifest.xml) 1: xhtmlRequisitesPath [0]: xs:string(C:/zorba/trunk/doc/zorba/xqdoc) 1: xqdocBuildPath [0]: xs:string(C:/zorba/trunk/build/test/rbkt/QueryResults/zorba/xqdoc) 1: C:\zorba\trunk\build\URI_PATH\com\zorba-xquery\www\modules\xqdoc2xhtml\index.xq:247,3: user-defined error [file:FOFL]: An unknown error occured: C:\zorba\trunk\build\test\rbkt\QueryResults\zorba\xqdoc\xhtml: I/O error: 5 failed (error Access is denied. 1: ): Can not create directory: C:\zorba\trunk\build\test\rbkt\QueryResults\zorba\xqdoc\xhtml\images 1: = 1: xqdoc2html:copy-files#3 http://www.zorba-xquery.com/modules/xqdoc2xhtml/ 1: C:\zorba\trunk\build\URI_PATH\com\zorba-xquery\www\modules\xqdoc2xhtml\index.xq at line 293 column 7 1: = 1: xqdoc2html:copy-xhtml-requisites#2 http://www.zorba-xquery.com/modules/xqdoc2xhtml/ 1: C:\zorba\trunk\test\rbkt\Queries\zorba\xqdoc\make_xqdoc.xqi at line 33 column 1 1/3154 Test #1: test/xqdoc/make_xqdoc ..***Failed Required regular expression not found.Regex=[XQDoc generated successfully! ] 4.81 sec To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1001477/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1001463] Re: type not available during computation of function caching
** Branch linked: lp:~zorba-coders/zorba/bug-1001463 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1001463 Title: type not available during computation of function caching Status in Zorba - The XQuery Processor: In Progress Bug description: The following query and schema cause an error to be raised because the schema type doesn't seem to be available when trying to determine if function caching should be done. import schema namespace d = http://foo.com/schemas/schema; at schema.xsd; declare function local:recursion($param as element(*, d:Content)?) as xs:boolean { if ($param) then local:recursion(()) else false() }; local:recursion(d:Content id=foo/) ?xml version=1.0 encoding=utf-8? xs:schema targetNamespace=http://foo.com/schemas/schema; xmlns = http://foo.com/schemas/schema; xmlns:xs=http://www.w3.org/2001/XMLSchema; elementFormDefault=qualified xs:complexType name=Content xs:attribute name=id type=xs:string/xs:attribute /xs:complexType /xs:schema The error reported is: type error [err:XPTY0004]: [NodeXQType elementNode? content=[UserDefinedXQType Content@http://foo.com/schemas/schema isComplex emptyContent base:[XQType ANY_TYPE_KIND*] ]]: invalid type: not among in-scope schema types; raised at /home/mbrantner/zorba/sandbox/src/types/typeops.cpp:522 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1001463/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872958] Re: Need way to detect non-core modules in build
** Branch linked: lp:~zorba-coders/zorba/fix_bug_962255 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872958 Title: Need way to detect non-core modules in build Status in Zorba - The XQuery Processor: New Bug description: We have a few test cases in core Zorba which depend on non-core modules. We would like to add some more, including integration tests and utility scripts. What we need is some CMake flag which is set by the existence of a given non-core module, so the core CMakeLists.txt files can do things like IF (PROCESS_MODULE_EXISTS) ADD_TEST(depends_on_process ) ... To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872958/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 962255] Re: integrate into XQDoc the module dependency graph generation
** Branch linked: lp:~zorba-coders/zorba/fix_bug_962255 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/962255 Title: integrate into XQDoc the module dependency graph generation Status in Zorba - The XQuery Processor: New Bug description: The module dependency graph (modules.svg) if out of date. We should generate it on every make XQDoc *if* the Graphviz module is present. The modules.svg needs to be created after the XQDoc XML's are created and before xqdoc2xhtml processing. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962255/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 962255] Re: integrate into XQDoc the module dependency graph generation
** Branch linked: lp:~zorba-coders/zorba/fix_bug_962255_image_module -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/962255 Title: integrate into XQDoc the module dependency graph generation Status in Zorba - The XQuery Processor: New Bug description: The module dependency graph (modules.svg) if out of date. We should generate it on every make XQDoc *if* the Graphviz module is present. The modules.svg needs to be created after the XQDoc XML's are created and before xqdoc2xhtml processing. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962255/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 996084] Re: crash in Streamable*Item with file module
** Branch linked: lp:~zorba-coders/zorba/bug-996084-reuse-stream -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996084 Title: crash in Streamable*Item with file module Status in Zorba - The XQuery Processor: New Bug description: I was trying to 1. read a data file 2. get the md5 of the file content 3. return both the md5 and content in one XML node: filemd5.../md5data.../data/file Executing the complete example (see attachment) with any data.txt file leads to a crash. It seems that the streamreleaser in ~StreamableBase64BinaryItem() and ~StreamableStringItem() tries to delete the same ifstream. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/996084/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 857263] Re: Build/install doc is terrible
** Branch linked: lp:~zorba-coders/zorba/bug-857263-build-doc -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/857263 Title: Build/install doc is terrible Status in Zorba - The XQuery Processor: In Progress Bug description: The build.dox, installation.dox, build_ubuntu.dox, and several related files have numerous errors. Here are some: - build.dox mentions there are a number of build options, but does not document them. (It previously pointed to a page of *XQuery* options, but I deleted that link.) - installation.dox includes stuff about building (not just installing), and that stuff is all Makefile-specific. - installation.dox refers to setting LD_LIBRARY_PATH and so on which is not, as far as I know, required. The final section about ldconfig on Ubuntu is also obsolete and wrong as far as I know. - build_ubuntu.dox is not entirely accurate, but a lot of it is redundant with the main build instructions. - If we have build_ubuntu.dox, we should probably have separate pages for (at least) Fedora, Windows, and MacOS too. There is a lot of information specific to Linux, Windows, and MacOS on the main build page that could probably be spread around. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/857263/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872386] Re: doc: re-run CMake after adding module .cpp files
** Branch linked: lp:~zorba-coders/zorba/bug-872386 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872386 Title: doc: re-run CMake after adding module .cpp files Status in Zorba - The XQuery Processor: In Progress Bug description: I have refactored a few classes in the http_client module and brought the CMake build directory in an inconsistent state with the install directory. That is, running any query using the http-client module I got this error: zerr::ZXQP0028_TARGET_NAMESPACE_NOT_PROVIDED. And this without changing the module URI. This look like a problem in the cmake build system around the modules (in this case only internal ones) and the loading of those form the install/build directories. To solve this I had to delete from the build directory: - zorba_modules/zorba_http-client_module - modules and the install directory To replicate this, try: - build from lp:~gabipetrovay/zorba/cpp-xml-parsing rev. 10490 - (n)make install - run a query from install directory and make sure that it runs (at r.10490 you will get a segmentation fault but that is another problem and a sign that it find the module) - update to rev. 10491 - run cmake and build again - (n)make install - now running the query again you should get: zerr::ZXQP0028_TARGET_NAMESPACE_NOT_PROVIDED - deleting the directories above will solve the problem To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872386/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 962216] Re: stack queue module
** Branch linked: lp:~zorba-coders/zorba/fix_bug_962216 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/962216 Title: stack queue module Status in Zorba - The XQuery Processor: In Progress Bug description: Implement two new modules: - stack for node items, using collections - queue for node items, using collections To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962216/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 931501] Re: improve error message for fn:format-number
** Branch linked: lp:~nbrinza/zorba/bugs2 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/931501 Title: improve error message for fn:format-number Status in Zorba - The XQuery Processor: New Bug description: The error messages raised by format-number when analyzing the picture strings should give more details about the error. For example, format-number(12345.6, '#.###,00') currently returns [err:XTDE1310]: : picture string does not satisfy format-number() function rules To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/931501/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 984759] Re: StaticContextEntityResolver ignores deny_access
** Branch linked: lp:~zorba-coders/zorba/staticcontextentityresolver- ignores-deny-access -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/984759 Title: StaticContextEntityResolver ignores deny_access Status in Zorba - The XQuery Processor: New Bug description: within resolveEntity(...) the following code: theSctx-resolve_uri(lResolved, internal::EntityData::SCHEMA, lErrorMessage); might throw zerr::ZXQP0029_URI_ACCESS_DENIED. Currently, this exception is not propagated. Instead it is caught and null is returned which allows the default uri resolver of xerces to resolve the uri anyways. This is not exactly what access denied means. Therefore, the resolver must obey and handle the deny_access exception seperately. Please, find a patch attached to this bug report. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/984759/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking
** Branch linked: lp:~zorba-coders/zorba/bug-921458 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: In Progress Bug description: I wrote the following query: import module namespace file =http://expath.org/ns/file;; for $line at $i in file:read-text-lines(doc.xml) return if($i lt 1104869) then () else concat($line, ) Where doc.xml is a large document. The result of the query seems to never end and its memory footprint is huge. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/921458/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 867253] Re: cdml:delete-nodes should only remove root nodes
** Branch linked: lp:~zorba-coders/zorba/bug-867253 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867253 Title: cdml:delete-nodes should only remove root nodes Status in Zorba - The XQuery Processor: In Progress Bug description: The following example shouldn't remove the root node from the collection. variable $n; cddl:create(xs:QName(foo:coll)); $n := cdml:apply-insert-nodes(xs:QName(foo:coll), ab//a); fn:trace(fn:count(cdml:collection(xs:QName(foo:coll))), #nodes after insert); cdml:delete-nodes($n/b); fn:trace(fn:count(cdml:collection(xs:QName(foo:coll))), #nodes after delete); To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867253/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 906494] Re: default compile with D_FILE_OFFSET_BITS=64
** Branch linked: lp:~zorba-coders/zorba/bug-906494 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/906494 Title: default compile with D_FILE_OFFSET_BITS=64 Status in Zorba - The XQuery Processor: In Progress Bug description: By default, Zorba should be compiled with the D_FILE_OFFSET_BITS flag set to 64. Otherwise, ::stat doesn't work on files 2gb. For example, file:read-text(myfile.txt) currently fails if the file is bigger than 2gb. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/906494/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 948879] Re: --uri-path doesn't work with fetch:content()
** Branch linked: lp:~zorba-coders/zorba/bug-948879 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/948879 Title: --uri-path doesn't work with fetch:content() Status in Zorba - The XQuery Processor: In Progress Bug description: The zorbacmd command-line arguments --uri-path, --lib-path, and --module-path modify the StaticContext that runs the query. However, if this query invokes the fetch module, the invocation of fetch:content() is in a separate StaticContext that does not inherit those paths. The upshot is that you can't fetch content from any custom paths, only the built-in Zorba paths. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/948879/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 978722] Re: change annotation prefix from ann to an
** Branch linked: lp:~zorba-coders/zorba/bug-978722 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/978722 Title: change annotation prefix from ann to an Status in Zorba - The XQuery Processor: New Bug description: For consistency with fn, we should change the annotation prefix ann to an in all of our modules. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/978722/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 978722] Re: change annotation prefix from ann to an
** Branch linked: lp:~zorba-coders/zorba/bug-978722_data-converters ** Branch linked: lp:~zorba-coders/zorba/bug-978722_xqxq ** Branch linked: lp:~zorba-coders/zorba/bug-978722_http-client ** Branch linked: lp:~zorba-coders/zorba/bug-978722_process ** Branch linked: lp:~zorba-coders/zorba/bug-978722_image ** Branch linked: lp:~zorba-coders/zorba/bug-978722_email ** Branch linked: lp:~zorba-coders/zorba/bug-978722_oauth ** Branch linked: lp:~zorba-coders/zorba/bug-978722_data-cleaning ** Branch linked: lp:~zorba-coders/zorba/bug-978722_system -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/978722 Title: change annotation prefix from ann to an Status in Zorba - The XQuery Processor: In Progress Bug description: For consistency with fn, we should change the annotation prefix ann to an in all of our modules. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/978722/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 967151] Re: xqdoc segmentation faults on Windows
** Branch linked: lp:~zorba-coders/zorba/bug_967151 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/967151 Title: xqdoc segmentation faults on Windows Status in Zorba - The XQuery Processor: New Bug description: On Windows, Rodolfo reported some SEGFAULT errors on these tests on a clean build from the latest revision: 1 - test/xqdoc/make_xqdoc (SEGFAULT) 2442 - test/rbkt/zorba/xqdoc/basic (SEGFAULT) 2444 - test/rbkt/zorba/xqdoc/content (SEGFAULT) 2446 - test/rbkt/zorba/xqdoc/indentation (SEGFAULT) 2447 - test/rbkt/zorba/xqdoc/local (SEGFAULT) 2448 - test/rbkt/zorba/xqdoc/moduleDocumentation (SEGFAULT) 2449 - test/rbkt/zorba/xqdoc/no_global_var (SEGFAULT) 2450 - test/rbkt/zorba/xqdoc/testSchemaTypes (SEGFAULT) 2451 - test/rbkt/zorba/xqdoc/unorderedAnnotations (SEGFAULT) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/967151/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 955135] Re: err:XQDY0044 not caught by try-catch expressions.
** Branch linked: lp:~zorba-coders/zorba/bug-955135 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/955135 Title: err:XQDY0044 not caught by try-catch expressions. Status in Zorba - The XQuery Processor: New Bug description: In the following query, the error err:XQDY0044 is raised. If I am correct, as a dynamic error, it should be caught. try { attribute xmlns {} } catch *:XQDY0044 { Invalid attribute. } To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/955135/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 955170] Re: Catch clause with URILiteral-based wilcard NameTest
** Branch linked: lp:~zorba-coders/zorba/bug-955135 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/955170 Title: Catch clause with URILiteral-based wilcard NameTest Status in Zorba - The XQuery Processor: New Bug description: The following query raises an error (static error [err:XPST0081]: http://www.w3.org/2005/xqt-errors: can not expand namespace prefix to URI). try { 1 div 0 } catch http://www.w3.org/2005/xqt-errors:* { Message} Could it be that NameTests à la (URILiteral : *) are not supported here? To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/955170/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 955574] Re: http-client hangs if following a POST request
** Branch linked: lp:~zorba-coders/zorba/bug-955574 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/955574 Title: http-client hangs if following a POST request Status in Zorba - The XQuery Processor: New Bug description: Making the following request to a resource that sends a 301 or 302 redirect doesn't terminate. http:send-request( http:request href=http://some-ressource; method=POST follow-redirect=true http:header name=Content-Length value=4/ http:body media-type=text/plaintest/http:body /http:request ) The reason is that the http-client tells curl to follow the redirect. In turn, curl issues a GET request with the Content-Length header set to the size of the payload of the original POST request. However, the response doesn't come back because no data is sent with the redirected GET request. A suggested solution is to raise an error if one tries to follow POST, PUT, or DELETE requests. The semantic of doing this is not clear and it's up to the user what to do. For example, the user might want to follow-up using a GET request or with another POST containing the same data. Raising an error allows the user of the http-client to do whatever is required. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/955574/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 947627] Re: setting the static type of the context item is ignored
** Branch linked: lp:~zorba-coders/zorba/947627 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/947627 Title: setting the static type of the context item is ignored Status in Zorba - The XQuery Processor: New Bug description: In test2 in test/unit/context_item.cpp, the static type of the context item is set to xs:integer via the C++ API. In the query in test/unit/context_item2.xq - which is used to create the static context - the context item is declared to be of type xs:string. Currently the setting of the type via the C++ API is silently ignored. It seems that it should be reported as a error (similarly to the error that is reported if 2 declarations of the context item are given: http://www.w3.org/TR/xquery-30/#id-context-item-declarations http://www.w3.org/TR/xquery-30/#ERRXQST0099 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/947627/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 952829] Re: Nondeterministic annotation doesn't seem to be checked
** Branch linked: lp:~zorba-coders/zorba/bug-952829 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/952829 Title: Nondeterministic annotation doesn't seem to be checked Status in Zorba - The XQuery Processor: New Bug description: Nondeterministic annotation doesn't seem to be checked. xqdoc:xqdoc() is documented as nondeterministic: http://www.zorba-xquery.com/html/modules/zorba/xqdoc/xqdoc However the following query works fine: http://www.zorba-xquery.com/html/demo#fH5/YOkiBfsXkzjq8DBGLBKhT5Y= It seems that the excepted result should have been an error, it was certainly the case in previous zorba versions. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/952829/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 951772] Re: Comment node crashes serialization
** Branch linked: lp:~zorba-coders/zorba/bug-951772 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/951772 Title: Comment node crashes serialization Status in Zorba - The XQuery Processor: In Progress Bug description: The following query works fine: http://www.zorba-xquery.com/html/demo#J8/y1Bt6RRo6uqbIuJEwfF56YLM= However the following query segfault: http://www.zorba-xquery.com/html/demo#4equUHMxm/0Xe6MmRckL26nRu2M= The same happens for fn:serialize and file:write To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/951772/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle in URLs
** Branch linked: lp:~zorba-coders/zorba/feature-ft_module -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/944795 Title: XQDoc doesn't handle in URLs Status in Zorba - The XQuery Processor: Invalid Bug description: If one has a URL within XQDoc documentation that contains a , e.g.: : When using the WordNet implementation, : Zorba supports all of the relationships (and their abbreviations) : specified by : a href=http://www.niso.org/kst/reports/standards?step=2gid=project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a;ANSI/NISO Z39.19-2005/a. the parser complains: can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';' ; raised at /Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 871335] Re: correct moduleDocumentation for image modules
** Branch linked: lp:~zorba-coders/zorba/bug_871335 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871335 Title: correct moduleDocumentation for image modules Status in Zorba - The XQuery Processor: New Bug description: See the attached file for errors. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871335/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 871062] Re: test/rbkt/zorba/xqdoc/moduleDocumentation failing on Windows
** Branch linked: lp:~zorba-coders/zorba/bug_871335 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871062 Title: test/rbkt/zorba/xqdoc/moduleDocumentation failing on Windows Status in Zorba - The XQuery Processor: New Bug description: test/rbkt/zorba/xqdoc/moduleDocumentation is failing on Windows Using Windows 7 32-bit. Debug build The test is disabled from: http://bazaar.launchpad.net/~zorba-coders/zorba/trunk/view/head:/test/rbkt/Queries/CMakeLists.txt To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871062/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 946896] Re: XQDoc bug
** Branch linked: lp:~zorba-coders/zorba/bug_946896 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/946896 Title: XQDoc bug Status in Zorba - The XQuery Processor: New Bug description: Generating the signatures of the functions is wrong, please see attached image (in some cases at the end of the signature 2 parentheses are closed instead of a single one). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/946896/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 945241] Re: StaticCollectionManager::declaredIndexes() and temporary indexes
** Branch linked: lp:~zorba-coders/zorba/bug-945241 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/945241 Title: StaticCollectionManager::declaredIndexes() and temporary indexes Status in Zorba - The XQuery Processor: New Bug description: The declaredIndexes() function currently returns indexes temporarily created by the optimizer. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/945241/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 943788] Re: streamable string is not seekable
** Branch linked: lp:~zorba-coders/zorba/bug-943788 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/943788 Title: streamable string is not seekable Status in Zorba - The XQuery Processor: New Bug description: import module namespace f = http://expath.org/ns/file;; let $s := f:read-text(fn:resolve-uri(tmp.xml)) let $p := fn:parse-xml($s) let $l := fn:string-length($s) return ($p, $l) The query returns 0 for $l after the streamable string has been consumed by parse-xml. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/943788/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 942808] Re: ICU streambuf doesn't, in fact, equate ASCII to US-ASCII
** Branch linked: lp:~paul-lucas/zorba/bug-942808 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/942808 Title: ICU streambuf doesn't, in fact, equate ASCII to US-ASCII Status in Zorba - The XQuery Processor: In Progress Bug description: transcode::is_necessary() (when using the icu_streambuf) doesn't equate ASCII to US-ASCII. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/942808/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 942011] Re: translator should flatten a tree of StringConcatExprs
** Branch linked: lp:~zorba-coders/zorba/concat_operator -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/942011 Title: translator should flatten a tree of StringConcatExprs Status in Zorba - The XQuery Processor: In Progress Bug description: For example, a query like: foo || boo || ga || ga should generate a single fo_expr instead of three (and correspondigly, a sinlge ConcatStrIterator iterator). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/942011/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 938934] Re: collection dml:truncate function missing
** Branch linked: lp:~zorba-coders/zorba/bug-938934 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/938934 Title: collection dml:truncate function missing Status in Zorba - The XQuery Processor: New Bug description: The Collection's dml module should provide a new function called truncate. This function should be backed by a new update primitive that can be efficiently implemented in a particular store. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/938934/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 898080] Re: base64Binary needs to be streamable
** Branch linked: lp:~zorba-coders/zorba/ft-base64Binary -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/898080 Title: base64Binary needs to be streamable Status in Zorba - The XQuery Processor: In Progress Bug description: At the moment there are streamable strings in zorba, but no streamable base64Binary items. This makes zorba unusable for downloading big files. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/898080/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 878508] Re: JSON Module not escaping escape characters
** Branch linked: lp:~zorba-coders/zorba/feature_fots -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/878508 Title: JSON Module not escaping escape characters Status in Zorba - The XQuery Processor: In Progress Bug description: The module doesn't convert escaped characters as you would expect. You instead get a string containing the string with it's unescaped value. A conversion needs to be implemented, something such as: JSON - XML \- quot; \\- \ \/- / \b- #x8; \f- #xC; \n- *actual newline* \r- *actual carriage return* \t- ' ' \u- #x; or #$; with the correct hex-decimal conversion - lt; - gt; - amp; ' - apos; This proposition might create a regresion related to bug #866757. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/878508/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 878508] Re: JSON Module not escaping escape characters
** Branch linked: lp:~zorba-coders/zorba/feature-json_parser -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/878508 Title: JSON Module not escaping escape characters Status in Zorba - The XQuery Processor: In Progress Bug description: The module doesn't convert escaped characters as you would expect. You instead get a string containing the string with it's unescaped value. A conversion needs to be implemented, something such as: JSON - XML \- quot; \\- \ \/- / \b- #x8; \f- #xC; \n- *actual newline* \r- *actual carriage return* \t- ' ' \u- #x; or #$; with the correct hex-decimal conversion - lt; - gt; - amp; ' - apos; This proposition might create a regresion related to bug #866757. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/878508/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 918211] Re: xqueryx fulltext w3c conformance generation
** Branch linked: lp:~zorba-coders/zorba/testsuites_update -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/918211 Title: xqueryx fulltext w3c conformance generation Status in Zorba - The XQuery Processor: In Progress Bug description: Run the w3c conformance generation for the xqueryx fulltext merge proposal made by Daniel: https://code.launchpad.net/~zorba-coders/zorba/xqueryx_fulltext merge proposal is here: https://code.launchpad.net/~zorba-coders/zorba/xqueryx_fulltext/+merge/88159 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/918211/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 921624] Re: testdriver_mt and OptionalFeatureErrors
** Branch linked: lp:~zorba-coders/zorba/fix-bug621624 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921624 Title: testdriver_mt and OptionalFeatureErrors Status in Zorba - The XQuery Processor: New Bug description: For some reason it takes a very long time to run the OptionalFeatureErrors tests in the XQTS with the testdriver_mt no matter if I use a Debug or a Release build. It might be a performance issue or a testdriver_mt issue, in any case I think that Markos is the best person to take a look when he has some time. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/921624/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 920724] Re: json 2.0 bug: XQDoc issues
** Branch linked: lp:~zorba-coders/zorba/feature-json_parser -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/920724 Title: json 2.0 bug: XQDoc issues Status in Zorba - The XQuery Processor: In Progress Bug description: - there is no @project tag for the new json.xq module: as a result, in the XQDoc documentation is generated in the www.zorba-xquery.com/modules/converters instead of data processing/data converters Please add a @project data processing/data converters in the module description in order to fix this. - first parse function does not state zerr:ZJPE0006 as a possible error condition if the passes JSON string is invalid See added test json-snelson-invalid-json.xq To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/920724/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 867159] Re: fn:match fails if the string is non-utf8
** Branch linked: lp:~zorba-coders/zorba/feature-transcode_streambuf -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867159 Title: fn:match fails if the string is non-utf8 Status in Zorba - The XQuery Processor: New Bug description: I have a query that reads a lot of files and apply fn:match on them. Some files have non-utf8 characters, and file:read-text reads with no problem. fn:matches calls to_string to convert to ICU string, but that fails. So fn:matches returns false, although I think it should raise an error. Actually to_string should raise an error, otherwise the non-utf8 problem gets unnoticed. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867159/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 900677] Re: XQDDF access-keys($index) function
** Branch linked: lp:~zorba-coders/zorba/bug900677 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/900677 Title: XQDDF access-keys($index) function Status in Zorba - The XQuery Processor: In Progress Bug description: XQDDF lacks a function for reading index keys from an index. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/900677/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 911956] Re: Zorba fails to build with gcc 4.7.0
** Branch linked: lp:~zorba-coders/zorba/bug911956 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/911956 Title: Zorba fails to build with gcc 4.7.0 Status in Zorba - The XQuery Processor: New Bug description: In order to build the Zorba 2.1.0 packages for Fedora 17 (with gcc 4.7.x) I have to apply the attached patch which adds a missing include. Maybe you can apply it to the trunk as well. The compilation error is related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745 (iostream no longer includes unistd.h indirectly). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/911956/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 871051] Re: 3 data-cleaning tests failing
** Branch linked: lp:~zorba-coders/zorba/fix_bug_871051 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871051 Title: 3 data-cleaning tests failing Status in Zorba - The XQuery Processor: New Bug description: Reported also by Markos on the list in the dicussion: URGENT 3 data- cleaning tests failing zorba_data-cleaning_module/data-cleaning/conversion/address-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/phone-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/user-from-phone.xq The tests have been disabled in: http://bazaar.launchpad.net/~zorba-coders/zorba/data-cleaning-module/view/head:/CMakeLists.txt To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871051/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 871051] Re: 3 data-cleaning tests failing
** Branch linked: lp:~zorba-coders/zorba/fix_bug_dc -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871051 Title: 3 data-cleaning tests failing Status in Zorba - The XQuery Processor: New Bug description: Reported also by Markos on the list in the dicussion: URGENT 3 data- cleaning tests failing zorba_data-cleaning_module/data-cleaning/conversion/address-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/phone-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/user-from-phone.xq The tests have been disabled in: http://bazaar.launchpad.net/~zorba-coders/zorba/data-cleaning-module/view/head:/CMakeLists.txt To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871051/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 871051] Re: 3 data-cleaning tests failing
** Branch linked: lp:~zorba-coders/zorba/fix_bug_871051 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871051 Title: 3 data-cleaning tests failing Status in Zorba - The XQuery Processor: New Bug description: Reported also by Markos on the list in the dicussion: URGENT 3 data- cleaning tests failing zorba_data-cleaning_module/data-cleaning/conversion/address-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/phone-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/user-from-phone.xq The tests have been disabled in: http://bazaar.launchpad.net/~zorba-coders/zorba/data-cleaning-module/view/head:/CMakeLists.txt To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871051/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 907872] Re: segfault when returning an input ItemSequence from an external function
** Branch linked: lp:~zorba-coders/zorba/bug907872 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/907872 Title: segfault when returning an input ItemSequence from an external function Status in Zorba - The XQuery Processor: New Bug description: Zorba segfaults when returning one of the input ItemSequences from an external function. For example, ItemSequence_t evaluate(const ExternalFunction::Arguments_t args) const { return args[0]; } To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/907872/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 898074] Re: fn:tokenize() doesn't stream
** Branch linked: lp:~zorba-coders/zorba/tokenize -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/898074 Title: fn:tokenize() doesn't stream Status in Zorba - The XQuery Processor: New Bug description: The following query: let $content := file:read-text(huge_file.txt) return tokenize($content, \s) doesn't stream the result. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/898074/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 900462] Re: json:serialize returns invalid json
** Branch linked: lp:~zorba-coders/zorba/bug_900462 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/900462 Title: json:serialize returns invalid json Status in Zorba - The XQuery Processor: New Bug description: The json:serialize function returns syntactically incorrect json. For example, the existing test query serialize_json_18.xq fails because it's missing an ending curly '}' as follows: import module namespace json = http://www.zorba-xquery.com/modules/converters/json;; import schema namespace html-options=http://www.zorba-xquery.com/modules/converters/json-options;; declare variable $tmp := json type=objectpair name=phoneNumbers type=arrayitem type=string212 732-1234/itemitem type=string646 123-4567/item/pairpair name=firstName type=stringJohn/pairpair name=lastName type=stringSmith/pairpair name=address type=objectpair name=postalCode type=number10021/pairpair name=city type=stringNew York/pairpair name=streetAddress type=string21 2nd Street/pairpair name=state type=stringNY/pair/pair/json; json:serialize($tmp) Actual: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}/root Expected: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}} To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/900462/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 900462] Re: json:serialize returns invalid json
** Branch linked: lp:~zorba-coders/zorba/bug_data_converters_json_900462 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/900462 Title: json:serialize returns invalid json Status in Zorba - The XQuery Processor: New Bug description: The json:serialize function returns syntactically incorrect json. For example, the existing test query serialize_json_18.xq fails because it's missing an ending curly '}' as follows: import module namespace json = http://www.zorba-xquery.com/modules/converters/json;; import schema namespace html-options=http://www.zorba-xquery.com/modules/converters/json-options;; declare variable $tmp := json type=objectpair name=phoneNumbers type=arrayitem type=string212 732-1234/itemitem type=string646 123-4567/item/pairpair name=firstName type=stringJohn/pairpair name=lastName type=stringSmith/pairpair name=address type=objectpair name=postalCode type=number10021/pairpair name=city type=stringNew York/pairpair name=streetAddress type=string21 2nd Street/pairpair name=state type=stringNY/pair/pair/json; json:serialize($tmp) Actual: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}/root Expected: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}} To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/900462/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 898580] Re: Debugger: starting query with over blocks the debugger client
** Branch linked: lp:~zorba-coders/zorba/debugger_client -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/898580 Title: Debugger: starting query with over blocks the debugger client Status in Zorba - The XQuery Processor: Fix Committed Bug description: starting with over will deadlock/block the execution. Test this also after one execution in the same debugger session. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/898580/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 898208] Re: building xqdoc on cmake 2.8
** Branch linked: lp:~zorba-coders/zorba/bug-fixing -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/898208 Title: building xqdoc on cmake 2.8 Status in Zorba - The XQuery Processor: New Bug description: A warning is raised if the xqdoc documentation is build without the file module. ZORBA_WITH_FILE_ACCESS is never defined for modules being built outside of Zorba. Also, the change is currently only working with CMake 2.8 because MESSAGE(WARNING only exists for CMake = 2.8. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/898208/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 897616] Re: Fix the generation of the XQFTTS report results for W3C
** Branch linked: lp:~zorba-coders/zorba/bug_897616 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/897616 Title: Fix the generation of the XQFTTS report results for W3C Status in Zorba - The XQuery Processor: New Bug description: There is an error in the generate-submission-xqftts.xq: line 57 should be deleted because it was replaced by lines 50:56. This causes an error in the conformance reports generation. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/897616/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 867107] Re: xqdoc dependency to zorba is wrong
** Branch linked: lp:~zorba-coders/zorba/bug_867107 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867107 Title: xqdoc dependency to zorba is wrong Status in Zorba - The XQuery Processor: New Bug description: Hello Sorin I guess you are the right guy for this: Today, I tried to execute 'make xqdoc' on a clean build. Unfortunately, it doesn't work because 'make xqdoc' is not dependent on zorba-cmd. Thus, I got the following error msg: [100%] Building XQDoc XML documentation for the modules... /bin/sh: ../../../bin/zorba: not found make[3]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml] Error 127 make[2]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml.dir/all] Error 2 make[1]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc.dir/rule] Error 2 I though I can fix it be doing the following: Index: doc/zorba/xqdoc/CMakeLists.txt === --- doc/zorba/xqdoc/CMakeLists.txt (revision 2) +++ doc/zorba/xqdoc/CMakeLists.txt (working copy) @@ -51,7 +51,7 @@ COMMENT Building XQDoc XML documentation for the modules... ) #SET_TARGET_PROPERTIES(xqdoc-xml PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) - ADD_DEPENDENCIES(xqdoc-xml zorba_simplestore) + ADD_DEPENDENCIES(xqdoc-xml zorbacmd_simplestore) ADD_CUSTOM_TARGET(xqdoc ${ZORBA_EXE_SCRIPT} Index: cmake_modules/ZorbaModule.cmake === --- cmake_modules/ZorbaModule.cmake (revision 2) +++ cmake_modules/ZorbaModule.cmake (working copy) @@ -543,7 +543,7 @@ ) #SET_TARGET_PROPERTIES(xqdoc-xml-${PROJECT_NAME} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) IF(TARGET xqdoc-xml) -ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorba_simplestore) +ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorbacmd_simplestore) ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} xqdoc-xml) ADD_DEPENDENCIES(xqdoc xqdoc-xml-${PROJECT_NAME}) ENDIF(TARGET xqdoc-xml) But it doesn't help. Can you take a look into it? Thanks David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867107/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872502] Re: validation of the JSON module xqdoc fails
** Branch linked: lp:~zorba-coders/zorba/bug_872502 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872502 Title: validation of the JSON module xqdoc fails Status in Zorba - The XQuery Processor: New Bug description: The result of the following two queries don't validate against the xqdoc schema. Query 1: import module namespace x = http://www.zorba-xquery.com/modules/xqdoc;; import schema namespace xqds = http://www.xqdoc.org/1.0;; validate lax { x:xqdoc(http://www.zorba- xquery.com/modules/converters/json) } Error: Schema validation failed: no declaration found for element 'xqdoc:library' Query 2: import module namespace x = http://www.zorba-xquery.com/modules/xqdoc;; import schema namespace xqds = http://www.xqdoc.org/1.0;; validate { x:xqdoc(http://www.zorba- xquery.com/modules/converters/json) } Error: Schema validation failed: element 'description' is not allowed for content model '(description?,author*,version?,param*,return?,error*,deprecated?,see*,since*,custom*)' To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872502/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 863730] Re: static delete-node* functions don't raise ZDDY0012
** Branch linked: lp:~matthias-brantner/zorba/bug-863730 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/863730 Title: static delete-node* functions don't raise ZDDY0012 Status in Zorba - The XQuery Processor: New Bug description: The static delete-node(s)-first and delete-node(s)-last functions don't raise zerr::ZDDY0012 (invalid operation on unordered collection) as written in the documentation. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/863730/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp