[Zorba-coders] [Bug 1010746] Re: animation.xq test crashes using Windows installer
Very soon (certainly before 2.7) we need to figure out how to ship the image module without bundling ImageMagick. That means documenting that the user must install it, and doing the best that we can to find it. Also, the image module should fail gracefully with a clear error if the user tries to run a query using it but it can't find ImageMagick. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1010746 Title: animation.xq test crashes using Windows installer Status in Zorba - The XQuery Processor: New Bug description: 1. Install Zorba 2.5.0 on Windows using installer from: http://www.2shared.com/file/2ksHal6V/zorba-250-win32-x86.html 2. Download the image module source (lp:zorba/image-module) to some directory. 3. cd image-module/test/Queries/image 4. zorba -f -q animation.xq zorba.exe has encountered a problem and needs to close dialog pops up. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1010746/+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 866886] Re: Zorba for Windows cannot make HTTPS requests
Zorba is actually able to make https requests by default on Windows now, I'm nearly sure. I believe this may have been done internally by de- activating curl's default verify peer certificates behaviour. There is a separate bug, bug 867136, which tracks making this a runtime option instead of a compile-time option. Rodolfo, if you can verify that this is working by default and that my diagnosis about curl is correct, then you can resolve this bug. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/866886 Title: Zorba for Windows cannot make HTTPS requests Status in Zorba - The XQuery Processor: In Progress Bug description: We just discovered that under Windows, making requests to: https://api-3t.sandbox.paypal.com/nvp or https://www.credit-suisse.com using the http-client, one gets back a response with status -1. The command line Curl tool on Windows also reject such calls because it cannot verify the certificates, reporting: curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a bundle of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/866886/+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 1003635] Re: CURL libraries for windows don't have SSL support
Rodolfo, if libsasl.dll is the only problem, then this bug can be resolved as fix committed (and the milestone can be changed to Zorba 2.5). -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1003635 Title: CURL libraries for windows don't have SSL support Status in Zorba - The XQuery Processor: New Bug description: Any http:request to any https site will fail To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1003635/+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 867136] Re: Verifying CA root certificates should be run-time option
If and when we fix this, we should document the discussion on bug 866886 about downloading the base server certificates on Windows. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867136 Title: Verifying CA root certificates should be run-time option Status in Zorba - The XQuery Processor: New Bug description: Right now, ZORBA_VERIFY_PEER_SSL_CERTIFICATE is a compile-time option. It should be selectable at run-time, says Matthias. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867136/+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 924055] Re: adapt group-by to latest spec
** Changed in: zorba Status: New = Incomplete ** Changed in: zorba Status: Incomplete = In Progress ** Branch linked: lp:~zorba-coders/zorba/new-groupby -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/924055 Title: adapt group-by to latest spec Status in Zorba - The XQuery Processor: In Progress Bug description: The semantics of group-by was changed in the latest working drafts. (1) an abbreviated syntax has been introduced (2) the values of the post-grouping tuples are atomized. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/924055/+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
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/add-exi-module into lp:~zorba-coders/zorba/zorba-experimental
The attempt to merge lp:~zorba-coders/zorba/add-exi-module into lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the failed tests. experimental build started for lp:~zorba-coders/zorba/add-exi-module. Check out http://add-exi-module.zorba-xquery.com/ in half an hour or so. Logfile at http://zorbatest.lambda.nu:8080/remotequeue/experimental/add-exi-module.log . -- https://code.launchpad.net/~zorba-coders/zorba/add-exi-module/+merge/105950 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/add-exi-module into lp:~zorba-coders/zorba/zorba-experimental. -- 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] [Merge] lp:~zorba-coders/zorba/add-exi-module into lp:~zorba-coders/zorba/zorba-experimental
The proposal to merge lp:~zorba-coders/zorba/add-exi-module into lp:~zorba-coders/zorba/zorba-experimental has been updated. Status: Approved = Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/add-exi-module/+merge/105950 -- https://code.launchpad.net/~zorba-coders/zorba/add-exi-module/+merge/105950 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/add-exi-module into lp:~zorba-coders/zorba/zorba-experimental. -- 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 989490] Re: on ubuntu 12.04, Java and/or JNI not found
Hello Chris You can close this bug. We don't have this problem anymore. The java modules are working properly on Ubuntu 12.04 since a while. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490 Title: on ubuntu 12.04, Java and/or JNI not found Status in Zorba - The XQuery Processor: New Bug description: Hey Chris Java and/or JNI is not found on ubuntu 12.04. Therefore, fop doesn't work. I think the paths to java stuff changed on ubuntu 12.04. Maybe, cmake 2.8.8 is handle those changes. cmake 2.8.7 is not. David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/989490/+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 897823] Re: Wrong PHP library name on macosx
** Changed in: zorba Status: New = Fix Released ** Changed in: zorba Milestone: 2.7 = None -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/897823 Title: Wrong PHP library name on macosx Status in Zorba - The XQuery Processor: Fix Released Bug description: The library prefix of the PHP binding is dynamic. See swig/CMakeLists.txt: # on apple and cmake 2.8, the generated swig libraries are prefixed with lib SET (ZORBA_SWIG_LIB_PREFIX) IF (APPLE AND CMAKE_MINOR_VERSION GREATER 6) SET (ZORBA_SWIG_LIB_PREFIX lib) ENDIF (APPLE AND CMAKE_MINOR_VERSION GREATER 6) However its reference in the PHP wrapper isn't: dl('zorba_api.so') To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/897823/+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 921638] Re: Access function signatures in XQDoc
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921638 Title: Access function signatures in XQDoc Status in Zorba - The XQuery Processor: Fix Released Bug description: There is no way to access in detail the function signature with XQDoc. For instance with fn:QName: xqdoc:function arity=2 xqdoc:comment xqdoc:seefor semantics please check a href=http://www.w3.org/TR/xpath-functions-30/#func-QName;fn:QName/a /xqdoc:see /xqdoc:comment xqdoc:namefn:QName/xqdoc:name xqdoc:signaturedeclare function fn:QName($paramURI as xs:string?, $paramQName as xs:string) as xs:QName external/xqdoc:signature /xqdoc:function It should be something along those lines: xqdoc:function arity=2 is-external=no xqdoc:comment xqdoc:seefor semantics please check a href=http://www.w3.org/TR/xpath-functions-30/#func-QName;fn:QName/a /xqdoc:see /xqdoc:comment xqdoc:namefn:QName/xqdoc:name xqdoc:parameters xqdoc:parameter xqdoc:nameparamURI/xqdoc:name xqdoc:type name=xs:string cardinality=? / /xqdoc:parameter xqdoc:parameter xqdoc:nameparamQName/xqdoc:name xqdoc:type name=xs:string cardinality= / /xqdoc:parameter /xqdoc:parameters xqdoc:returns xqdoc:type name=xs:QName cardinality= / /xqdoc:returns /xqdoc:function To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/921638/+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 1012539] [NEW] Need to monitor EC2 boxes
Public bug reported: We have at least two EC2 machines that serve live data - one runs try .zorba-xquery.com (I believe), and the other runs the various experimental websites. We need to have monitoring on these boxes which will alert us when they are not functioning appropriately. ** Affects: zorba Importance: High Assignee: Cezar Andrei (cezar-andrei) Status: Confirmed ** Changed in: zorba Milestone: None = 2.7 ** Changed in: zorba Importance: Undecided = High ** Changed in: zorba Assignee: (unassigned) = Cezar Andrei (cezar-andrei) ** Changed in: zorba Status: New = Confirmed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1012539 Title: Need to monitor EC2 boxes Status in Zorba - The XQuery Processor: Confirmed Bug description: We have at least two EC2 machines that serve live data - one runs try .zorba-xquery.com (I believe), and the other runs the various experimental websites. We need to have monitoring on these boxes which will alert us when they are not functioning appropriately. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1012539/+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 1012539] Re: Need to monitor EC2 boxes
(Need to first define what functioning appropriately means - probably some URLs that should always respond in a particular way.) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1012539 Title: Need to monitor EC2 boxes Status in Zorba - The XQuery Processor: Confirmed Bug description: We have at least two EC2 machines that serve live data - one runs try .zorba-xquery.com (I believe), and the other runs the various experimental websites. We need to have monitoring on these boxes which will alert us when they are not functioning appropriately. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1012539/+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 867345] Re: Built-in Atom schema
William - did Dana say to remove the milestone marker for this bug? If not, please put it back. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867345 Title: Built-in Atom schema Status in Zorba - The XQuery Processor: New Bug description: Please find enclosed a patch that integrates the Atom schema within Zorba + a unit test for it. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867345/+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 989490] Re: on ubuntu 12.04, Java and/or JNI not found
Not sure how to mark this - don't know if we actually fixed it or not (although we probably did). But, I'll just go with Invalid. ** Changed in: zorba Status: New = Invalid -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490 Title: on ubuntu 12.04, Java and/or JNI not found Status in Zorba - The XQuery Processor: Invalid Bug description: Hey Chris Java and/or JNI is not found on ubuntu 12.04. Therefore, fop doesn't work. I think the paths to java stuff changed on ubuntu 12.04. Maybe, cmake 2.8.8 is handle those changes. cmake 2.8.7 is not. David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/989490/+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 989490] Re: on ubuntu 12.04, Java and/or JNI not found
Hello Chris, Unfortunately, telling you to close the bug was a bad idea. This morning, I found an additional issue. When compiling zorba or sausalito on a clean ubuntu 12.04, I get this: -- --- Module: util-jvm--- -- Looking for JNI -- Looking for Java -- Building Zorba without util-jvm module. -- --- The reason why I didn't catch this on the ubuntu machine I am working on is the following: On my machine: ls /usr/lib/jvm/ default-java java-1.5.0-gcj-4.6 java-1.6.0-openjdk java-1.6.0-openjdk-amd64 java-6-openjdk java-6-openjdk-amd64 java-6-openjdk-common java-7-openjdk-amd64 On clean machine: ls /usr/lib/jvm/ java-1.6.0-openjdk-amd64 java-6-openjdk-amd64 java-6-openjdk-common java-7-openjdk-amd64 I do not know where this difference comes from. I assume because my ubuntu was upgraded from 10.04 to 12.04. Because we want to ship sausalito as soon as possible, I am fixing this issue directly in sausalito instead of waiting for a new merge. But the fixes I did can be applied to zorba too: 0) FindJNI.cmake is used in the util-jvm module only. But it is 4 times in the zorba repositories. Therefore, I removed the following files and directories: zorba/cmake_modules/FindJNI.cmake zorba_modules/data-formatting/cmake_modules zorba_modules/schema-tools/cmake_modules 1) The custom FindJNI.cmake in the util-jvm module is not used. Therefore, I did the following change: === modified file 'runtime/zorba_modules/util-jvm/CMakeLists.txt' --- runtime/zorba_modules/util-jvm/CMakeLists.txt 2012-05-22 09:45:57 + +++ runtime/zorba_modules/util-jvm/CMakeLists.txt 2012-06-13 08:26:13 + @@ -19,6 +19,7 @@ IF (ZORBA_SUPPRESS_JAVA) MESSAGE (STATUS ZORBA_SUPPRESS_JAVA is true - not searching for Java) ELSE (ZORBA_SUPPRESS_JAVA) + SET (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_modules ${CMAKE_MODULE_PATH}) MESSAGE(STATUS ) MESSAGE(STATUS --- Module: util-jvm---) 2) I extended the FindJNI.cmake in the util-jvm to find the files on clean ubuntu 12.04. I attached the patch. I think this patches should go into the zorba 2.5 release. Otherwise, java modules do not work. What do you think? ** Patch added: findjni.diff https://bugs.launchpad.net/zorba/+bug/989490/+attachment/3187503/+files/findjni.diff ** Changed in: zorba Status: Invalid = Incomplete -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490 Title: on ubuntu 12.04, Java and/or JNI not found Status in Zorba - The XQuery Processor: Incomplete Bug description: Hey Chris Java and/or JNI is not found on ubuntu 12.04. Therefore, fop doesn't work. I think the paths to java stuff changed on ubuntu 12.04. Maybe, cmake 2.8.8 is handle those changes. cmake 2.8.7 is not. David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/989490/+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 989490] Re: on ubuntu 12.04, Java and/or JNI not found
In order: 0) It certainly makes sense to consolidate on a single FindJNI.cmake, if in fact we need our own at all. The right place for it is in util-jvm. It will be necessary to ensure that other modules use that version as well, probably by extending the util-jvm use file to extend CMAKE_MODULE_PATH. 1) This change also makes sense if we need a custom FindJNI.cmake. 2) I don't like these changes, although I'm not sure of the alternative. IMHO the existing FindJNI code with all of its many specific hard-coded paths is bogus, and your change just extends the bogusness. There Must Be A Better Way(tm). (Also - what was the reason you changed JAVA_AWT_INCLUDE_DIRECTORIES to JAVA_AWT_INCLUDE_PATH? That doesn't seem to make sense.) FYI, it seems to work for me on Ubuntu 11.10, and I am using Sun JDK rather than OpenJDK which might also be better supported. At any rate, no, I do not believe that this should be in Zorba 2.5 because it's too late, and because I'm unwilling to toss in a hack at the last minute that I'm not sure I agree with. Also, it appears that the work-around for anyone who runs into trouble is easy: Set JAVA_HOME in your environment before running CMake. ** Changed in: zorba Status: Incomplete = Confirmed ** Changed in: zorba Importance: High = Medium -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490 Title: on ubuntu 12.04, Java and/or JNI not found Status in Zorba - The XQuery Processor: Confirmed Bug description: Hey Chris Java and/or JNI is not found on ubuntu 12.04. Therefore, fop doesn't work. I think the paths to java stuff changed on ubuntu 12.04. Maybe, cmake 2.8.8 is handle those changes. cmake 2.8.7 is not. David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/989490/+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 989490] Re: on ubuntu 12.04, Java and/or JNI not found
Hey Chris (Also - what was the reason you changed JAVA_AWT_INCLUDE_DIRECTORIES to JAVA_AWT_INCLUDE_PATH? That doesn't seem to make sense.) That's a typo. Thanks for telling me. 2) I don't like these changes, although I'm not sure of the alternative. IMHO the existing FindJNI code with all of its many specific hard-coded paths is bogus, and your change just extends the bogusness. There Must Be A Better Way(tm). We should tell our fixes to the cmake guys. At any rate, no, I do not believe that this should be in Zorba 2.5 because it's too late, and because I'm unwilling to toss in a hack at the last minute that I'm not sure I agree with. Also, it appears that the work-around for anyone who runs into trouble is easy: Set JAVA_HOME in your environment before running CMake. True. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490 Title: on ubuntu 12.04, Java and/or JNI not found Status in Zorba - The XQuery Processor: Confirmed Bug description: Hey Chris Java and/or JNI is not found on ubuntu 12.04. Therefore, fop doesn't work. I think the paths to java stuff changed on ubuntu 12.04. Maybe, cmake 2.8.8 is handle those changes. cmake 2.8.7 is not. David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/989490/+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 988411] Re: date:current-dateTime daylight saving
*** This bug is a duplicate of bug 988412 *** https://bugs.launchpad.net/bugs/988412 ** This bug has been marked a duplicate of bug 988412 date:current-dateTime daylight saving ** Changed in: zorba Milestone: None = 2.5 ** Changed in: zorba Status: New = Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/988411 Title: date:current-dateTime daylight saving Status in Zorba - The XQuery Processor: Fix Committed Bug description: The following query: import module namespace date = http://www.zorba- xquery.com/modules/datetime; (fn:current-dateTime(), , date:current-dateTime()) Returns a different result on some platforms. This bug doesn't happen on some platforms such as in try zorba: http://www.zorba-xquery.com/html/demo#jXPnSRVW8yN7hr7OJnMzztzY34Q= To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/988411/+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 989490] Re: on ubuntu 12.04, Java and/or JNI not found
Hey Chris After reading your last comments, I decided to bypass the problem differently. Without changing FindJNI.cmake. I generate the JAVA_HOME variable with a bash script and set it before searching the JNI stuff. Here is the code: 1 === modified file 'runtime/zorba_modules/util-jvm/CMakeLists.txt' 2 --- runtime/zorba_modules/util-jvm/CMakeLists.txt 2012-05-22 09:45:57 + 3 +++ runtime/zorba_modules/util-jvm/CMakeLists.txt 2012-06-13 13:23:06 + 4 @@ -23,6 +23,18 @@ 5 MESSAGE(STATUS ) 6 MESSAGE(STATUS --- Module: util-jvm---) 7 8 + # 28msec special 9 + IF (UNIX AND NOT APPLE) 10 +EXECUTE_PROCESS( 11 + COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/generate-java-home.sh 12 + OUTPUT_VARIABLE _JAVA_HOME 13 + RESULT_VARIABLE RES) 14 +IF (RES EQUAL 0) 15 + MESSAGE(STATUS GENERATED JAVA_HOME: ${_JAVA_HOME}) 16 + set(ENV{JAVA_HOME} ${_JAVA_HOME}) 17 +ENDIF() 18 + ENDIF() 19 + 20 MESSAGE (STATUS Looking for JNI) 21 FIND_PACKAGE(JNI) 22 23 24 === added file 'runtime/zorba_modules/util-jvm/generate-java-home.sh' 25 --- runtime/zorba_modules/util-jvm/generate-java-home.sh 1970-01-01 00:00:00 + 26 +++ runtime/zorba_modules/util-jvm/generate-java-home.sh 2012-06-13 13:23:06 + 27 @@ -0,0 +1,4 @@ 28 +WHICH_JAVA=$(which java) 29 +RESULT_CODE=$? 30 +echo -n $(cd $(dirname $(readlink -f $WHICH_JAVA))/../..; pwd) 31 +exit $RESULT_CODE I like it much more then the other solution. Setting JAVA_HOME is a much better idea. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490 Title: on ubuntu 12.04, Java and/or JNI not found Status in Zorba - The XQuery Processor: Confirmed Bug description: Hey Chris Java and/or JNI is not found on ubuntu 12.04. Therefore, fop doesn't work. I think the paths to java stuff changed on ubuntu 12.04. Maybe, cmake 2.8.8 is handle those changes. cmake 2.8.7 is not. David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/989490/+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 1008082] Re: Crashing Transform Expression
** Changed in: zorba Importance: Critical = High -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1008082 Title: Crashing Transform Expression Status in Zorba - The XQuery Processor: New Bug description: copy $x := a/, $y := b/ modify () return $x Hope this helps, Christian To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1008082/+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 932314] Re: fn:distinct-values bug
** Changed in: zorba Importance: Critical = High -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/932314 Title: fn:distinct-values bug Status in Zorba - The XQuery Processor: New Bug description: test 'fn-distinct-values-2' from FOTS: fn:distinct-values((1 to 300, 100 to 400, 29, 145, 20 to 50, for $x in (30 to 40) return xs:string($x), foo, bar)) is failing with error: type error [err:XPTY0004]: xs:integer: invalid type: can not compare for equality to type xs:string; raised at /home/spungi/work/zorba/repo/feature_fots/src/runtime/booleans/BooleanImpl.cpp:874 This is wrong behavior according to the http://www.w3.org/TR/xpath-functions-30/#func-distinct-values To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/932314/+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 1010748] Re: libsasl.dll missing from Windows installer
** Changed in: zorba Status: Fix Committed = Fix Released ** Changed in: zorba Milestone: 2.7 = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1010748 Title: libsasl.dll missing from Windows installer Status in Zorba - The XQuery Processor: Fix Released Bug description: 1. Install Zorba from: http://www.2shared.com/file/2ksHal6V/zorba-250-win32-x86.html 2. Run any query that uses curl, including just trying to import an unknown module: zorba -q import module namespace f='http://www.google.com/foo'; 1 The application has failed to start because libsasl.doo was not found. popup dialog. I believe that fixing cmake_modules/Windows/FindCURL.cmake to FIND_PACKAGE_DLL_WIN32(libsasl) might do the trick here, but I'm not sure. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1010748/+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 972855] Re: Simplestore is not compiling on windows
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/972855 Title: Simplestore is not compiling on windows Status in Zorba - The XQuery Processor: Fix Released Bug description: Currently, simplestore is not compiling on windows with error: zorba::simplestore::Store' : base class undefined To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/972855/+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 963091] Re: Zorba 2.2.0 fails to build with gcc 4.7 (missing includes)
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/963091 Title: Zorba 2.2.0 fails to build with gcc 4.7 (missing includes) Status in Zorba - The XQuery Processor: Fix Released Bug description: The sources of Zorba 2.2.0 fail to build with gcc 4.7.0 due to missing includes of unistd.h: /builddir/build/BUILD/zorba-2.2.0/bin/debugger/main.cpp:175:20: error: 'fork' was not declared in this scope /builddir/build/BUILD/zorba-2.2.0/bin/debugger/process_listener.cpp:91:10: error: 'sleep' was not declared in this scope The attached patch should fix this issue. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/963091/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 967284] Re: XQDoc doesn't support invalid XML entities
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/967284 Title: XQDoc doesn't support invalid XML entities Status in Zorba - The XQuery Processor: Fix Released Bug description: Given the following HTML as part of an XQDoc comment: table trtdfoonbsp;bar/td/tr /table one gets the error: can not parse as XML for xqdoc: loader parsing error: Entity 'nbsp' not defined; raised at /Users/pjl/src/flwor/zorba/repo/feature- ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:433 The parser needs to accept nbsp; so a non-breaking space can be included in the HTML. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/967284/+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 928629] Re: XMLBeans module
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/928629 Title: XMLBeans module Status in Zorba - The XQuery Processor: Fix Released Bug description: We should have a new module that allows the user to invoke XMLBeans. Specifically, the module should provide functions to generate a schema given a sequence of nodes and generate a node given a schema. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/928629/+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 962220] Re: full-text module
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/962220 Title: full-text module Status in Zorba - The XQuery Processor: Fix Released Bug description: Implement a new module that provides basic full-text related functions. - accessing thesaurus - stemming - tokenization - accessing stop-words To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962220/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 946986] Re: Unbalanced ')' in regex seg faults
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/946986 Title: Unbalanced ')' in regex seg faults Status in Zorba - The XQuery Processor: Fix Released Bug description: The following tests from the fn/matches.re.xml test-set result in a Segmentation Fault : - re00038 Query: xquery version '3.0'; declare namespace o = 'http://www.zorba-xquery.com/options/features'; declare option o:enable 'hof'; matches('qwerty','(a))') - re00039 Query: xquery version '3.0'; declare namespace o = 'http://www.zorba-xquery.com/options/features'; declare option o:enable 'hof'; matches('qwerty','ab|(d))') I have set the importance to HIGH because Zorba Seg Faults: please change if you think it's appropriate. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/946986/+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()
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 944795] Re: XQDoc doesn't handle in URLs
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 928626] Re: no setting classpath in xsl-fo module
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/928626 Title: no setting classpath in xsl-fo module Status in Zorba - The XQuery Processor: Fix Released Bug description: The xsl-fo module shouldn't provide any function that allows the user to configure the classpath. Instead, the classpath should be configured once for the entire Zorba process and all Java-based modules should use this classpath. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/928626/+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 1000478] Re: Build errors using Xcode 4.3.2
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1000478 Title: Build errors using Xcode 4.3.2 Status in Zorba - The XQuery Processor: Fix Released Bug description: src/util/string/rstring.h:1956:12: error: 'append_safe' is a private member of 'zorba::rstringzorba::rstring_classes::repzorba::atomic_int, std::char_traitschar, std::allocatorchar ' result.append_safe( s1.data(), s1.size(), s2.data(), s2.size() ); ^ To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1000478/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 986377] Re: do not apply any updates on collection if it is to be truncated
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/986377 Title: do not apply any updates on collection if it is to be truncated Status in Zorba - The XQuery Processor: Fix Released Bug description: If a truncate-collection primitive is in a PUL, no other primitives for the same collection should be applied or undone, because the truncation primitive itself is not undoable To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/986377/+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 988417] Re: block internal modules
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/988417 Title: block internal modules Status in Zorba - The XQuery Processor: Fix Released Bug description: If one wants to limit the choice of of available modules for a user, this is very easy for external modules. One simply registers an URIMapper that disallows access to certain modules. However, this does not work for Zorba's internal modules as those are not resolved via the usual resolution mechanism. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/988417/+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 980463] Re: Using type_info::name() wrong
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/980463 Title: Using type_info::name() wrong Status in Zorba - The XQuery Processor: Fix Released Bug description: In class_serializer.h, the definition of the CHECK_CLASS_NAME macro: #define CHECK_CLASS_NAME(class_name) \ if (ar.is_serializing_out() !ar.is_serialize_base_class()) \ { \ assert(strstr(typeid(*this).name(), #class_name)); \ } The string returned by type_info::name() is implementation-dependent and has no guarantees about its content or format. In this case, you can not legitimately test to see, for some class type C, if typeid(C).name() contains the string literal C. However, you can legitimately compare two name() strings for equality. The above should be rewritten as: assert(::strcmp(typeid(*this).name(), typeid(class_name).name()) == 0); To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/980463/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 867234] Re: Zorba 2.0.1 fails to build
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867234 Title: Zorba 2.0.1 fails to build Status in Zorba - The XQuery Processor: Fix Released Bug description: I'm trying to build Zorba for Fedora but it currently fails because of some missing includes (see attached patch). Also, there's a compilation error complaining about a missing default constructor in zorba::ICU_TokenizerProvider: /home/martin/rpmbuild/BUILD/zorba-2.0.1/src/runtime/full_text/default_tokenizer.cpp: In static member function 'static const zorba::TokenizerProvider zorba::DefaultTokenizerProvider::instance()': /home/martin/rpmbuild/BUILD/zorba-2.0.1/src/runtime/full_text/default_tokenizer.cpp:29:38: error: uninitialized const 'instance' [-fpermissive] /home/martin/rpmbuild/BUILD/zorba-2.0.1/src/runtime/full_text/icu_tokenizer.h:64:7: note: 'const class zorba::ICU_TokenizerProvider' has no user-provided default constructor make[2]: *** [src/CMakeFiles/zorba_simplestore.dir/runtime/full_text/default_tokenizer.cpp.o] Error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867234/+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 869024] Re: Zorba crashes with getReference
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/869024 Title: Zorba crashes with getReference Status in Zorba - The XQuery Processor: Fix Released Bug description: The following query sometimes causes Zorba to crash: import module namespace ddl = http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/dynamic/collections/dml;; import module namespace ref = http://www.zorba-xquery.com/modules/node-reference;; ddl:create(xs:QName(ddl:coll)); dml:insert-nodes-last(xs:QName(ddl:coll),element {bb}{text {aa}}); ref:node-reference(dml:collection(xs:QName(ddl:coll))) This is caused by the following cast: const OrdPathNode* n = static_castconst OrdPathNode*(node); which is not correct when node is a TextNode To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/869024/+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 867215] Re: --lib-module doesn't work with import with location hints
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867215 Title: --lib-module doesn't work with import with location hints Status in Zorba - The XQuery Processor: Fix Released Bug description: My query runs fine but --compile-only is not able to compile one of library module properly. $ ~/bin/zorba -q rest.xq -f --compile-only -l rest.xq:5,1: static error [err:XQST0059]: http://www.28msec.com/modules/http: target namespace not found for schema/module http://www.28msec.com/modules/collections/http.xq $ ~/bin/zorba -q main.xq -f ?xml version=1.0 encoding=UTF-8? To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867215/+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 867229] Re: Undo of Create Collection doesn't work
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867229 Title: Undo of Create Collection doesn't work Status in Zorba - The XQuery Processor: Fix Released Bug description: In the following query an error is raised during the PUL application. As a consequence the m:aaa collection should be destroyed. However in UpdCreateCollection::undo() when GET_STORE().deleteCollection(theName) is invoked, theName contains a NULL pointer, thus no collection is deleted. The following query thus returns m:aaa as being available. import module namespace m = 'xqueryzorba.org/test/xqddf/ic' at '/zorba/pulsrc/test/rbkt/Queries/zorba/xqddf/ic.xqlib'; import module namespace ddl = http://www.zorba-xquery.com/modules/store/static/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/static/collections/dml;; import module namespace dddl = http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;; import module namespace ic_ddl = http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl;; ddl:create($m:empc); ic_ddl:activate(xs:QName(m:ic_simple)); try { ( dddl:create(xs:QName(m:aaa)) , dml:insert-nodes($m:empc, emp salary600/salary /emp ) ); } catch * {} dddl:available-collections() To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867229/+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 867144] Re: Python bindings not building on Windows in Debug mode
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867144 Title: Python bindings not building on Windows in Debug mode Status in Zorba - The XQuery Processor: Fix Released Bug description: In debug mode linking the python language bindings fails. This is because pythond doesn't distribute python27_d.lib (does only distribute python27.lib) Maybe this is a bug in CMake. If that is true FindPythoncmake modules have to be brought in Zorba and corrected. Linking CXX shared module _zorba_api.pyd LINK : fatal error LNK1104: cannot open file 'python27_d.lib' LINK Pass 1 failed. with 1104 NMAKE : fatal error U1077: 'C:\Program Files\CMake 2.8\bin\cmake.exe' : return code '0x' Stop. NMAKE : fatal error U1077: 'c:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'c:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe' : return code '0x2' Stop. C:\Users\Gabriel\Work\28msec\zorba\builds\debug10cm To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867144/+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 867130] Re: Need ASCII regex
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867130 Title: Need ASCII regex Status in Zorba - The XQuery Processor: Fix Released Bug description: As discussed on the zorba-coders mailing list, in order to build Zorba without ICU, there needs to be a ASCII regular expression library to take the place of ICU. The existing code in zorbatypes/regex_ascii.h/.cpp needs to be wrapped by the existing regex class for an alternate implementation when ZORBA_NO_UNICODE=ON, e.g.: #ifndef ZORBA_NO_UNICODE // existing regex class #else // new regex class backed by regex_ascii #endif You probably also need to provide an alternate implementation of convert_xquery_re() (in regex.h/.cpp) that currently converts an XQuery regular expression into an ICU regular expression. If the existing regex_ascii regular expressions exactly match XQuery regular expressions, then the alternate implementation of convert_xquery_re() can simply copy xq_re to lib_re as-is. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867130/+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 867214] Re: Incorrect XQueryX error message
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867214 Title: Incorrect XQueryX error message Status in Zorba - The XQuery Processor: Fix Released Bug description: Running: ctest -V test/rbkt/zorba/xqueryx/err2 one gets the error: http://www.zorba-xquery.com/errors:ZXQP0031: http://www.zorba-xquery.com/errors:ZXQP0031malformed XQueryX XML input: ^ the '^' is wrong To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867214/+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 859968] Re: Using put on an attribute produces an invalid Xdm instance and a segmentation fault
** Changed in: zorba Status: Fix Committed = Fix Released -- 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/859968 Title: Using put on an attribute produces an invalid Xdm instance and a segmentation fault Status in Zorba - The XQuery Processor: Fix Released Bug description: The following query creates an element node with a single children (not attribute). The attribute is then retrievable using child::node() but not attribute::* import module namespace doc = http://www.zorba- xquery.com/modules/store/dynamic/documents; declare function local:dump-types($nodes as node()*) as element()* { for $node in $nodes return if ($node instance of text()) then () else ( element { if ($node instance of element()) then node-name($node) else if ($node instance of attribute()) then concat(attr-,string(node-name($node))) else if ($node instance of text()) then 'text' else if ($node instance of document-node()) then 'document-node' else if ($node instance of comment()) then 'comment' else if ($node instance of processing-instruction()) then 'processing-instruction' else 'unknown' } { for $attr in $node/@* return attributes{local:dump-types($attr)}/attributes, for $elem in $node/node() return children{local:dump-types($elem)}/children } ) }; put(attribute {test}{test},http://www.zorba-xquery.com/b;); count(doc:document(http://www.zorba-xquery.com/b;)/child::node()), local:dump-types(doc:document(http://www.zorba-xquery.com/b;)) Returns: ?xml version=1.0 encoding=UTF-8? 1document-nodechildrenattr-test//children/document-node Segmentation faults then are easy: import module namespace doc = http://www.zorba- xquery.com/modules/store/dynamic/documents; declare function local:dump-types($nodes as node()*) as element()* { for $node in $nodes return if ($node instance of text()) then () else ( element { if ($node instance of element()) then node-name($node) else if ($node instance of attribute()) then concat(attr-,string(node-name($node))) else if ($node instance of text()) then 'text' else if ($node instance of document-node()) then 'document-node' else if ($node instance of comment()) then 'comment' else if ($node instance of processing-instruction()) then 'processing-instruction' else 'unknown' } { for $attr in $node/@* return attributes{local:dump-types($attr)}/attributes, for $elem in $node/node() return children{local:dump-types($elem)}/children } ) }; put(attribute {test}{test},http://www.zorba-xquery.com/b;); replace node doc:document(http://www.zorba-xquery.com/b;)/child::node() with attribute{aaa}{xxx}; To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/859968/+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 859522] Re: Assertion failed with document delete
** Changed in: zorba Status: Fix Committed = Fix Released -- 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/859522 Title: Assertion failed with document delete Status in Zorba - The XQuery Processor: Fix Released Bug description: The following query causes an assertion failure. import module namespace doc = http://www.zorba-xquery.com/modules/store/dynamic/documents;; doc:put(foo, document { foobar/foo }); ( doc:remove(foo), doc:remove(foo) ); To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/859522/+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 859465] Re: Zorba fatal with two deactivate IC
** Changed in: zorba Status: Fix Committed = Fix Released -- 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/859465 Title: Zorba fatal with two deactivate IC Status in Zorba - The XQuery Processor: Fix Released Bug description: This query causes a ZORBA_FATAL. import module namespace m = 'xqueryzorba.org/test/xqddf/ic' at 'ic.xqlib'; import module namespace ddl = http://www.zorba-xquery.com/modules/store/static/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/static/collections/dml;; import module namespace ic_ddl = http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl;; ddl:create($m:empc); ic_ddl:activate(xs:QName(m:ic_simple)); ( ic_ddl:deactivate(xs:QName(m:ic_simple)), ic_ddl:deactivate(xs:QName(m:ic_simple)) ); To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/859465/+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 866987] Re: Error for XTDE1310 should contain picture string
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/866987 Title: Error for XTDE1310 should contain picture string Status in Zorba - The XQuery Processor: Fix Released Bug description: In runtime/numerics/numerics_impl.cpp, the error messages for XTDE1310 should contain the picture string but currently don't. It's not clear to me where to get the entire picture string from; hence this bug. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/866987/+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 859468] Re: Zorba fatal with two activate simple IC
** Changed in: zorba Status: Fix Committed = Fix Released -- 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/859468 Title: Zorba fatal with two activate simple IC Status in Zorba - The XQuery Processor: Fix Released Bug description: This query causes a ZORBA_FATAL import module namespace m = 'xqueryzorba.org/test/xqddf/ic' at 'ic.xqlib'; import module namespace ddl = http://www.zorba-xquery.com/modules/store/static/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/static/collections/dml;; import module namespace ic_ddl = http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl;; ddl:create($m:empc); ( ic_ddl:activate(xs:QName(m:ic_simple)), ic_ddl:activate(xs:QName(m:ic_simple)) ); To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/859468/+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 859467] Re: Zorba fatal with two activate Foreign Key
** Changed in: zorba Status: Fix Committed = Fix Released -- 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/859467 Title: Zorba fatal with two activate Foreign Key Status in Zorba - The XQuery Processor: Fix Released Bug description: This query causes a ZORBA_FATAL import module namespace m = 'xqueryzorba.org/test/xqddf/ic' at 'ic.xqlib'; import module namespace ddl = http://www.zorba-xquery.com/modules/store/static/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/static/collections/dml;; import module namespace ic_ddl = http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl;; ddl:create($m:empc); ddl:create($m:trnc); ( ic_ddl:activate(xs:QName(m:ic_foreignKey)), ic_ddl:activate(xs:QName(m:ic_foreignKey)) ); To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/859467/+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 867221] Re: Nested element constructors cause loss of namespace bindings
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867221 Title: Nested element constructors cause loss of namespace bindings Status in Zorba - The XQuery Processor: Fix Released Bug description: Consider this query: element {QName(http://outer,bind;)} { element {QName(,b)} { inner } } In zorba and all other libraries it creates as expected: ?xml version=1.0 encoding=UTF-8? bind xmlns=http://outer;b xmlns=inner/b/bind Notice that b contains xmlns= Consider this query now: element {QName(http://outer,bind;)} { element {QName(http://named,named:middle;)} { element {QName(,b)} { inner } } } This one in zorba creates: ?xml version=1.0 encoding=UTF-8? bind xmlns=http://outer;named:middle xmlns:named=http://named;binner/b/named:middle/bind Notice that b inherits xmlns=http://outer; I would expect the result that is given by Saxon and BaseX: ?xml version=1.0 encoding=UTF-8? bind xmlns=http://outer; named:middle xmlns:named=http://named; b xmlns=inner/b /named:middle /bind Notice that b contains xmlns= To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867221/+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 925133] Re: replace string restriction with xs:boolean in csv-options.xsd
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/925133 Title: replace string restriction with xs:boolean in csv-options.xsd Status in Zorba - The XQuery Processor: Fix Released Bug description: csv-options.xsd contains these attribute definitions: attribute name=ignore-foreign-input default=false simpleType restriction base=string pattern value=true|false/ /restriction /simpleType /attribute attribute name=accept-all-lines default=false simpleType restriction base=string pattern value=true|false/ /restriction /simpleType /attribute What is the reason it was defined using a string restriction and not xs:boolean? Like this: attribute name=ignore-foreign-input type=xs:boolean default=false/ attribute name=accept-all-lines type=xs:boolean default=false/ To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/925133/+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 918159] Re: Add XQJ to validation queue
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/918159 Title: Add XQJ to validation queue Status in Zorba - The XQuery Processor: Fix Released Bug description: Need JRE/JDK (at least) to get it to build, and then need to download XQJ and run it. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/918159/+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 897825] Re: Wrong PHP library name on macosx
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/897825 Title: Wrong PHP library name on macosx Status in Zorba - The XQuery Processor: Fix Released Bug description: The library prefix of the PHP binding is dynamic. See swig/CMakeLists.txt: # on apple and cmake 2.8, the generated swig libraries are prefixed with lib SET (ZORBA_SWIG_LIB_PREFIX) IF (APPLE AND CMAKE_MINOR_VERSION GREATER 6) SET (ZORBA_SWIG_LIB_PREFIX lib) ENDIF (APPLE AND CMAKE_MINOR_VERSION GREATER 6) However its reference in the PHP wrapper isn't: dl('zorba_api.so') To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/897825/+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 987830] Re: dismiss adding of the functions that do not have a return type
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/987830 Title: dismiss adding of the functions that do not have a return type Status in Zorba - The XQuery Processor: Fix Released Bug description: Even if a sequential function returns (), we should mark it as such. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/987830/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 955574] Re: http-client hangs if following a POST request
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 962255] Re: integrate into XQDoc the module dependency graph generation
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 955170] Re: Catch clause with URILiteral-based wilcard NameTest
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 955040] Re: XSL-FO module test added even if module is not built
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/955040 Title: XSL-FO module test added even if module is not built Status in Zorba - The XQuery Processor: Fix Released Bug description: Here is a CMake output: -- Looking for Java -- Looking for JNI -- Variable XSL_FOP_HOME not defined, trying defaults: /usr/share/java/ /usr/share/java/fop/ -- XSL-FOP HOME :/usr/share/java//usr/share/java/fop/ -- fop.jar and all its dependecies not found skiping data-formating module -- -- End modules -- Added 1 tests in /home/spungi/work/zorba/tmp/zorba_modules/data-formatting/test As you see the test for XSL-FO module is added even if the module is not built because not all dependencies were found. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/955040/+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 928987] Re: XQJ integration with JavaAPI
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/928987 Title: XQJ integration with JavaAPI Status in Zorba - The XQuery Processor: Fix Released Bug description: Users that are using XQJ need access to CollectionManager and DocumentManager. This can be done by adding our own interface, and make our XQPreparedExpression implementation class also implement this new interface. But the user would have to up cast it to this new interface to get access to these new methods. This will need to be well documented. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/928987/+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.
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 925816] Re: URI resolver doesn't support Java URI format
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/925816 Title: URI resolver doesn't support Java URI format Status in Zorba - The XQuery Processor: Fix Released Bug description: URI resolver doesn't support Java URI format, Java URI format is valid without Authority for files: file:/C:/file. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/925816/+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 951016] Re: integer comparison warning in integer.h
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/951016 Title: integer comparison warning in integer.h Status in Zorba - The XQuery Processor: Fix Released Bug description: In file included from /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.cpp:25:0: /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.h: In member function ‘bool zorba::IntegerImplT::is_long() const [with IntType = long long unsigned int]’: /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.cpp:300:16: instantiated from here /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.h:570:52: warning: comparison between signed and unsigned integer expressions /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.h:570:52: warning: comparison between signed and unsigned integer expressions To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/951016/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 921258] Re: URIs for files should be valid with one slash
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921258 Title: URIs for files should be valid with one slash Status in Zorba - The XQuery Processor: Fix Released Bug description: URIs for files should be valid with only one slash. This examples should be valid: file:///C:/file.xq file:/C:/file.xq To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/921258/+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 919747] Re: HTML Styling lost in doxygen documentation
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/919747 Title: HTML Styling lost in doxygen documentation Status in Zorba - The XQuery Processor: Fix Released Bug description: When using the doxygen XML generation, html styling elements are lost. For instance, the following table: table bgcolor=lightcyan tr tdW3C XQuery 1.0 feature/td tdsupported/td /tr /table generates the following XML: table xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; rows=4 cols=2 row entry thead=no paraW3C XQuery Update Facility 1.0 feature /para /entry entry thead=no parasupported /para /entry /row /table Therefore the output is pretty ugly: http://zorba.my28msec.com/html/documentation/latest/zorba/conformance To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/919747/+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 994919] Re: Typos in full-text module documentation and other places
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/994919 Title: Typos in full-text module documentation and other places Status in Zorba - The XQuery Processor: Fix Released Bug description: In full-text.xq: langauage. In json/common.h: supporess. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/994919/+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 986580] Re: fs::lsdir() improvements
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/986580 Title: fs::lsdir() improvements Status in Zorba - The XQuery Processor: Fix Released Bug description: I noticed that this function was added. There are a few of problems with its implementation: 1. It forces the user to use a vector. What if I want to use a list? Or something else? 2. It uses std::string. The majority of the Zorba code base uses zstring. 3. It always reads the entire directory whether you want it or not. (WHat if there are 10,000 files in a directory?) Instead, it ought to provide an iterator that you can stop any time you please. 4. After the initial check for an error from opendir(), the code doesn't check for any subsequent errors, e.g., it does not check closedir() for error. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/986580/+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 996593] Re: http client throws error with no content-type header in http response
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws error with no content-type header in http response Status in Zorba - The XQuery Processor: Fix Released Bug description: in modules/com/zorba-xquery/www/modules/http- client.xq.src/http_response_parser.cpp the function HttpResponseParser::parse() throws an error if the response doesn't contain a content-type. In this case theCurrentCharset is . the surprising part is that in the following code transcode::is_necessary() returns true and an icu_streambuf is created internally with an empty charset: if ( transcode::is_necessary( theCurrentCharset.c_str() ) ) { lStream.reset( new transcode::streamstd::istream( theCurrentCharset.c_str(), theStreamBuffer ) ); } in the constructor of the icu_streambuf (src/util/icu_streambuf.cpp) the following code throws the error: external_conv_( no_conv_ ? nullptr : create_conv( charset ) ) the correct behavior would be if the http-client would not throw an error if the content-type header is missing. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/996593/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 994610] Re: Regex tests fail using latest ICU version
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/994610 Title: Regex tests fail using latest ICU version Status in Zorba - The XQuery Processor: Fix Released Bug description: The regex tests: 22356 - test/rbkt/zorba/string/Regex/regex_err10 (Failed) 22361 - test/rbkt/zorba/string/Regex/regex_err15 (Failed) 22362 - test/rbkt/zorba/string/Regex/regex_err16 (Failed) 22413 - test/rbkt/zorba/string/Regex/regex_m40 (Failed) 22414 - test/rbkt/zorba/string/Regex/regex_m41 (Failed) fail when using ICU 4.8.1 but not 3.8.1. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/994610/+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 992037] Re: Miscellaneous warnings on Windows
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/992037 Title: Miscellaneous warnings on Windows Status in Zorba - The XQuery Processor: Fix Released Bug description: First warning: include\zorba\transcode_stream.h(275) : warning C4355: 'this' : used in base member initializer list Second warning: src\runtime\json\jsonml_array.cpp(201) : warning C4800: 'zorba::whitespace::type' : forcing value to bool 'true' or 'false' (performance warning) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/992037/+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 988412] Re: date:current-dateTime daylight saving
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/988412 Title: date:current-dateTime daylight saving Status in Zorba - The XQuery Processor: Fix Released Bug description: The following query: import module namespace date = http://www.zorba- xquery.com/modules/datetime; (fn:current-dateTime(), , date:current-dateTime()) Returns a different result on some platforms. This bug doesn't happen on some platforms such as in try zorba: http://www.zorba-xquery.com/html/demo#jXPnSRVW8yN7hr7OJnMzztzY34Q= To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/988412/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 905050] Re: Crash on getKind() from TypeIdentifier()
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/905050 Title: Crash on getKind() from TypeIdentifier() Status in Zorba - The XQuery Processor: Fix Released Bug description: crash generated with this code: StaticContext_t staticContext = zorba-createStaticContext(); TypeIdentifier_t typeIdent = staticContext-getContextItemStaticType() typeIdent-getKind(); To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/905050/+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 907624] Re: misleading error message on URIMapper::DENY_ACCESS
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/907624 Title: misleading error message on URIMapper::DENY_ACCESS Status in Zorba - The XQuery Processor: Fix Released Bug description: This error message if a URIMapper returns DENY_ACCESS is always: module import not allowed even if the entity is not a module (e.g. a schema). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/907624/+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 905039] Re: can't redefine Default Element And Type Namespace
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/905039 Title: can't redefine Default Element And Type Namespace Status in Zorba - The XQuery Processor: Fix Released Bug description: using setDefaultElementAndTypeNamespace from the StaticContext instead of redefining I get the error: static error [err:XQST0066]: multiple element/type/function namespace declarations To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/905039/+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 905028] Re: Base URI can't be set to undefined
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/905028 Title: Base URI can't be set to undefined Status in Zorba - The XQuery Processor: Fix Released Bug description: We need a way to set the Base URI to undefined, like sending an empty string. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/905028/+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 889478] Re: doc('') and xml: prefix
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/889478 Title: doc('') and xml: prefix Status in Zorba - The XQuery Processor: Fix Released Bug description: With Zorba 2.0.3 and Win7, I get an exception when running the following query.. doc('id.xml') ..which is supposed to open the following document: id xml:base='http://wow' xml:id='id0'/ To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/889478/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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
[Zorba-coders] [Bug 897004] Re: collection()
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/897004 Title: collection() Status in Zorba - The XQuery Processor: Fix Released Bug description: Zorba 2.0.3 returns an application error if fn:collection() is called without arguments (same on try.zorba-xquery.com). – Hth, C. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/897004/+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 905041] Re: can't redefine Default Function Namespace
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/905041 Title: can't redefine Default Function Namespace Status in Zorba - The XQuery Processor: Fix Released Bug description: Instead I get the error: static error [err:XQST0066]: multiple element/type/function namespace declarations when using StaticContext method: setDefaultFunctionNamespace To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/905041/+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 904650] Re: some tests crash with plan serializer ON
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/904650 Title: some tests crash with plan serializer ON Status in Zorba - The XQuery Processor: Fix Released Bug description: Some tests in zorba testsuite crash with ZORBA_TEST_PLAN_SERIALIZATION. The bug probably affects 2.1 release as well. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/904650/+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 866627] Re: xquery 1.1 conformance: failing schema import tests
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/866627 Title: xquery 1.1 conformance: failing schema import tests Status in Zorba - The XQuery Processor: Fix Released Bug description: 1588:test/rbkt/w3c_testsuite/XQuery/SchemaImport/PathExprSI/step-expr-si-1 1589:test/rbkt/w3c_testsuite/XQuery/SchemaImport/PathExprSI/step-expr-si-2 1590:test/rbkt/w3c_testsuite/XQuery/SchemaImport/PathExprSI/step-expr-si-3 1629:test/rbkt/w3c_testsuite/XQuery/SchemaImport/SeqExprCastSI/notation-cast-3 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/866627/+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 936688] Re: Precompiled Headers on Windows
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/936688 Title: Precompiled Headers on Windows Status in Zorba - The XQuery Processor: Fix Released Bug description: Windows is not compiling with precompiled headers feature, some files are missing to include: #include stdafx.h To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/936688/+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 950616] Re: XQuery 3.0 vs Zorba: has-children#0 not implemented
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/950616 Title: XQuery 3.0 vs Zorba: has-children#0 not implemented Status in Zorba - The XQuery Processor: Fix Released Bug description: ctest -R xquery_3_0 on the branch lp:~zorba-coders/zorba/fn_envvars shows that: - the following functions are still not implemented: has-children#0 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/950616/+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 954724] Re: Resolve PHP bug for Windows on Release 2.2
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/954724 Title: Resolve PHP bug for Windows on Release 2.2 Status in Zorba - The XQuery Processor: Fix Released Bug description: We are just about to release 2.2. Resolve PHP bug for Windows on Release 2.2: [install dir]\share\php\zorba_api_wrapper.php:7 if(!dl('php_zorba_api.dll')) { should be: if(!dl('zorba_api.dll')) { To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/954724/+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 950615] Re: XQuery 3.0 vs Zorba: unparsed-text-lines not implemented
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/950615 Title: XQuery 3.0 vs Zorba: unparsed-text-lines not implemented Status in Zorba - The XQuery Processor: Fix Released Bug description: ctest -R xquery_3_0 on the trunk, i.e. lp:Zorba shows that: The following functions are still not implemented: - unparsed-text-lines#1 - unparsed-text-lines#2 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/950615/+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 950618] Re: XQuery 3.0 vs Zorba: path not implemented
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/950618 Title: XQuery 3.0 vs Zorba: path not implemented Status in Zorba - The XQuery Processor: Fix Released Bug description: ctest -R xquery_3_0 on the branch lp:~zorba-coders/zorba/fn_envvars shows that: - the following functions are still not implemented: path#0 path#1 See http://www.w3.org/TR/xpath-functions-30/#func-path To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/950618/+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 949910] Re: fn:has-children segfaults on comment nodes
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/949910 Title: fn:has-children segfaults on comment nodes Status in Zorba - The XQuery Processor: Fix Released Bug description: When fn:has-children is called (for example) on a comment node, the C++ function zorba::store::Item::getChildren() is called on the parameter item, which leads to an error because this method is not implemented for nodes other than document nodes or element nodes. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/949910/+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 934607] Re: eval + plan serializer + optimizer bug
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/934607 Title: eval + plan serializer + optimizer bug Status in Zorba - The XQuery Processor: Fix Released Bug description: Using eval + plan serializer + optimizer in a query that contains a materialize clause causes a segmentation fault when the deserialized query is executed. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/934607/+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
** Changed in: zorba Status: Fix Committed = Fix Released -- 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: Fix Released 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 937120] Re: Improve error message for ||
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/937120 Title: Improve error message for || Status in Zorba - The XQuery Processor: Fix Released Bug description: (1, 2) || 3 Returns [err:XPTY0004]: sequence of more than one item can not be operand for function fn:concat() The error message should not reference fn:concat() To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/937120/+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 935639] Re: Closing without releasing objects
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/935639 Title: Closing without releasing objects Status in Zorba - The XQuery Processor: Fix Released Bug description: Provide a better solution for any use case where Zorba is closed without releasing in-memory objects. This is very notorious on managed memory languages where you never expect a memory leak, like Java. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/935639/+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 933490] Re: Error ItemFactoryImpl::createBase64Binary with istream
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/933490 Title: Error ItemFactoryImpl::createBase64Binary with istream Status in Zorba - The XQuery Processor: Fix Released Bug description: creating a base64Binary from an ifstream results in the following error caused by the eof bit: type error: #xFF: invalid value for cast/constructor: invalid Base64 character the attached patch fixes the problem by adding an additional check for the eof_bit using good(). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/933490/+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 930924] Re: Modifying Namespaces
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/930924 Title: Modifying Namespaces Status in Zorba - The XQuery Processor: Fix Released Bug description: There is no way to re-define or delete namespaces, a possible approach could be adding an already defined namespace to re-define one, and re-defining to a blank URI to delete it... To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/930924/+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 931580] Re: Upgrade SWIG API
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/931580 Title: Upgrade SWIG API Status in Zorba - The XQuery Processor: Fix Released Bug description: Upgrade SWIG API in order to get enough functionality that XQJ could be supported. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/931580/+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