[Zorba-coders] [Bug 933284] [NEW] in XQDoc @error is ignored
Public bug reported: Within the description of an @error in XQDoc documentation, the rendered HTML ignores use of ..., for example: the XQDoc: @error err:FTST0009 if ft:current-lang() is unsupported. generates HTML where the ft:current-lang() is rendered in the same font as surrounding text and not in a distinct mono-spaced font. ** Affects: zorba Importance: Low Assignee: William Candillon (wcandillon) Status: New ** Tags: xqdoc -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/933284 Title: in XQDoc @error is ignored Status in Zorba - The XQuery Processor: New Bug description: Within the description of an @error in XQDoc documentation, the rendered HTML ignores use of ..., for example: the XQDoc: @error err:FTST0009 if ft:current-lang() is unsupported. generates HTML where the ft:current-lang() is rendered in the same font as surrounding text and not in a distinct mono-spaced font. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/933284/+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/download-modules into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/download-modules/+merge/93335 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/download-modules into lp:zorba
Chris Hillery has proposed merging lp:~zorba-coders/zorba/download-modules into lp:zorba. Requested reviews: Chris Hillery (ceejatec) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/download-modules/+merge/93335 -- https://code.launchpad.net/~zorba-coders/zorba/download-modules/+merge/93335 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'modules/DownloadModules.cmake' --- modules/DownloadModules.cmake 2011-10-11 22:34:31 + +++ modules/DownloadModules.cmake 2012-02-16 06:05:22 + @@ -77,37 +77,56 @@ # Download if (_getmod) message ("Downloading module '${_modname}'...") - if (${_modvc} STREQUAL "svn") -if (NOT svn) - message (FATAL_ERROR -"Subversion client not found - required for ${_modname} module!") -endif (NOT svn) -# QQQ Ridiculous and slow hack, but Sourceforge has been -# incredibly unreliable lately so this is the best choice I've -# got to make the remote queue semi-stable -foreach (s 1 2) + # We try three times, to account for network weirdnesses + foreach (i 1 2 3) + # First delete the output directory, in case there's a partial + # download from a previous attempt + file (REMOVE_RECURSE "${outdir}/${_modname}") + + set (_status) + + if (${_modvc} STREQUAL "svn") + if (NOT svn) +message (FATAL_ERROR + "Subversion client not found - required for ${_modname} module!") + endif (NOT svn) execute_process (COMMAND "${svn}" checkout "${_modurl}" "${_modname}" -WORKING_DIRECTORY "${outdir}" TIMEOUT 60) -endforeach (s 1 2) - - elseif (${_modvc} STREQUAL "bzr") -if (NOT bzr) - message (FATAL_ERROR -"Bazaar client not found - required for ${_modname} module!") -endif (NOT bzr) - -set (_modtagargs) -if (_modtag AND NOT notags) - set (_modtagargs "-r" "${_modtag}") -endif (_modtag AND NOT notags) -execute_process (COMMAND "${bzr}" branch "${_modurl}" "${_modname}" - ${_modtagargs} WORKING_DIRECTORY "${outdir}" TIMEOUT 60) - - else (${_modvc} STREQUAL "svn") -message (FATAL_ERROR "Unknown vc-type '${_modvc}' for module " - "'${_modname}' in modules/ExternalModules.conf!") - - endif (${_modvc} STREQUAL "svn") +WORKING_DIRECTORY "${outdir}" TIMEOUT 60 RESULT_VARIABLE _status) + + elseif (${_modvc} STREQUAL "bzr") + if (NOT bzr) +message (FATAL_ERROR + "Bazaar client not found - required for ${_modname} module!") + endif (NOT bzr) + + set (_modtagargs) + if (_modtag AND NOT notags) +set (_modtagargs "-r" "${_modtag}") + endif (_modtag AND NOT notags) + execute_process (COMMAND "${bzr}" branch "${_modurl}" "${_modname}" +${_modtagargs} WORKING_DIRECTORY "${outdir}" TIMEOUT 60 + RESULT_VARIABLE _status) + + else (${_modvc} STREQUAL "svn") + message (FATAL_ERROR "Unknown vc-type '${_modvc}' for module " +"'${_modname}' in modules/ExternalModules.conf!") + + endif (${_modvc} STREQUAL "svn") + + if ("${_status}" EQUAL 0) + # Success + break () + else ("${_status}" EQUAL 0) + message (WARNING "Attempt ${i}: Failed to download '${_modname}' (${_status})") + endif ("${_status}" EQUAL 0) + + endforeach (i) endif (_getmod) + +# Ensure we successfully downloaded something good +if (NOT EXISTS "${outdir}/${_modname}/CMakeLists.txt") + message (FATAL_ERROR "Failed to download '${_modname}' after 3 attempts, giving up.") +endif (NOT EXISTS "${outdir}/${_modname}/CMakeLists.txt") + endif (modline) endforeach (modline) -- 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 933271] [NEW] XQDoc should be left-justified
Public bug reported: When including a within a in XQDoc documentation, the text should be left-justified. (It invariably looks better.) ** Affects: zorba Importance: Low Assignee: William Candillon (wcandillon) Status: New ** Tags: xqdoc -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/933271 Title: XQDoc should be left-justified Status in Zorba - The XQuery Processor: New Bug description: When including a within a in XQDoc documentation, the text should be left-justified. (It invariably looks better.) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/933271/+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 933257] [NEW] XQDoc should have cell borders
Public bug reported: When including a in XQDoc documentation, the resulting HTML should render the table such that there are very thin, light gray lines between the table cells. Additionally, the table header cells should have a background cell color of a light gray as well. ** Affects: zorba Importance: Low Assignee: William Candillon (wcandillon) Status: New ** Tags: xqdoc -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/933257 Title: XQDoc should have cell borders Status in Zorba - The XQuery Processor: New Bug description: When including a in XQDoc documentation, the resulting HTML should render the table such that there are very thin, light gray lines between the table cells. Additionally, the table header cells should have a background cell color of a light gray as well. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/933257/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 867159] Re: fn:match fails if the string is non-utf8
** 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/867159 Title: fn:match fails if the string is non-utf8 Status in Zorba - The XQuery Processor: Fix Committed Bug description: I have a query that reads a lot of files and apply fn:match on them. Some files have non-utf8 characters, and file:read-text reads with no problem. fn:matches calls to_string to convert to ICU string, but that fails. So fn:matches returns false, although I think it should raise an error. Actually to_string should raise an error, otherwise the non-utf8 problem gets unnoticed. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867159/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 933255] [NEW] XQDoc should be centered
Public bug reported: When including a in XQDoc documentation, the resulting HTML should have the table centered. ** Affects: zorba Importance: Low Assignee: William Candillon (wcandillon) Status: New ** Tags: xqdoc -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/933255 Title: XQDoc should be centered Status in Zorba - The XQuery Processor: New Bug description: When including a in XQDoc documentation, the resulting HTML should have the table centered. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/933255/+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] [Merge] lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba has been updated. Status: Approved => Merged For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
Validation queue job feature-transcode_streambuf-2012-02-16T03-54-11Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/feature-transcode_streambuf-2012-02-16T03-54-11Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/feature-transcode_streambuf-2012-02-16T03-12-11.256Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba has been updated. Commit Message changed to: - Added transcode_streambuf - file:read-text now respects encodings - http:send-request now respects encodings For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/93327 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions. -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
Attempt to merge into lp:zorba failed due to conflicts: text conflict in src/unit_tests/unit_test_list.h text conflict in src/unit_tests/unit_tests.cpp -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
The proposal to merge lp:~zorba-coders/zorba/http-client-module-fix1 into lp:zorba/http-client-module has been updated. Status: Needs review => Merged For more details, see: https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/feature-transcode_streambuf into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
The proposal to merge lp:~zorba-coders/zorba/http-client-module-fix1 into lp:zorba/http-client-module has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
The attempt to merge lp:~zorba-coders/zorba/http-client-module-fix1 into lp:zorba/http-client-module failed. Below is the output from the failed tests. CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message): Validation queue job http-client-module-fix1-2012-02-16T00-54-45.972Z is finished. The final status was: 1 tests did not succeed - changes not commited. Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 878508] Re: JSON Module not escaping escape characters
** Changed in: zorba Status: In Progress => 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/878508 Title: JSON Module not escaping escape characters Status in Zorba - The XQuery Processor: Fix Committed Bug description: The module doesn't convert escaped characters as you would expect. You instead get a string containing the string with it's unescaped value. A conversion needs to be implemented, something such as: JSON <-> XML \"<-> " \\<-> \ \/<-> / \b<-> \f<-> \n<-> *actual newline* \r<-> *actual carriage return* \t<-> ' ' \u<-> or #$; with the correct hex-decimal conversion < <-> < > <-> > & <-> & ' <-> ' This proposition might create a regresion related to bug #866757. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/878508/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/http-client-module-fix1 into lp:zorba/http-client-module
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/http-client-module-fix1-2012-02-16T00-54-45.972Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/feature-json_parser into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-json_parser into lp:zorba has been updated. Status: Approved => Merged For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-json_parser into lp:zorba
Validation queue job feature-json_parser-2012-02-16T00-25-35.097Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-json_parser into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/feature-json_parser-2012-02-16T00-25-35.097Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
The proposal to merge lp:~zorba-coders/zorba/http-client-module-fix1 into lp:zorba/http-client-module has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/feature-json_parser into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-json_parser into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
The proposal to merge lp:~zorba-coders/zorba/http-client-module-fix1 into lp:zorba/http-client-module has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
The attempt to merge lp:~zorba-coders/zorba/http-client-module-fix1 into lp:zorba/http-client-module failed. Below is the output from the failed tests. CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message): Validation queue job http-client-module-fix1-2012-02-16T00-16-40.255Z is finished. The final status was: No tests were run - build or configure step must have failed. Not commiting changes. Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/http-client-module-fix1-2012-02-16T00-16-40.255Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
The proposal to merge lp:~zorba-coders/zorba/http-client-module-fix1 into lp:zorba/http-client-module has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. -- 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/http-client-module-fix1 into lp:zorba/http-client-module
Paul J. Lucas has proposed merging lp:~zorba-coders/zorba/http-client-module-fix1 into lp:zorba/http-client-module. Requested reviews: Paul J. Lucas (paul-lucas) Matthias Brantner (matthias-brantner) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Added charset=utf-8 -- https://code.launchpad.net/~zorba-coders/zorba/http-client-module-fix1/+merge/93323 Your team Zorba Coders is subscribed to branch lp:zorba/http-client-module. === modified file 'test/Queries/http2-read-svg.xq' --- test/Queries/http2-read-svg.xq 2011-08-23 07:11:49 + +++ test/Queries/http2-read-svg.xq 2012-02-16 00:14:17 + @@ -7,7 +7,8 @@ auth-method="Basic" send-authorization="true" username="zorba" - password="blub"/>; + password="blub" + override-media-type="application/xml; charset=utf-8"/>; variable $http-res := http:send-request($req, ()); -- 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] [Bug 931816] Re: New way of classpath and JVM Singleton handling
I guess, although you can also just call DECLARE_ZORBA_JAR multiple times for the same effect. I didn't want to directly accept a path because I wasn't sure how to handle : vs ; path separators. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/931816 Title: New way of classpath and JVM Singleton handling Status in Zorba - The XQuery Processor: New Bug description: This bug is to track work related to makeing Zorba modules implemented in Java be robust and working all together. It was decided that a few things need to happen: Critical: 1. (chris) add cmake macros to let build know a module is using java 2. (chris) cmake macros that define it's own jar implementation 3. (chris) cmake macros that define external dependencies (like xmlbeans.jar, xsl-fo.jar) 4. (cezar) add zorba classpath option, and CLASSPATH environment 5. (chris) add core module that can resolve a known (by URI) external module 6. (chris) add external java-helper module that provides concatenation of classpathes - the order on calsspath is: ModuleOwnPath, ModuleDependecy, zorba -cp, env CLASSPATH 7. (chris) make sure binary packages set up classpathes correctly 8. (cezar) add code to external java-helper module to create a singleton JVM 9. (cezar) refactor xmlbeans and xsl-fo modules to make use of external java-helper module Nice to have, not critical: 10. Have a generic way to implement modules directly in Java, Python etc, using swig extension. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/931816/+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 928146] Re: Proving Full Zorba EBNF
See https://code.launchpad.net/~zorba-coders/zorba/ebnf ** Changed in: zorba Assignee: (unassigned) => William Candillon (wcandillon) ** Changed in: zorba Status: New => In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/928146 Title: Proving Full Zorba EBNF Status in Zorba - The XQuery Processor: In Progress Bug description: Zorba should provides the full EBNF of the specification it implements. A first step would be to add in comment for each parser rule either ebnf rule number of the corresponding specification. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/928146/+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 931816] Re: New way of classpath and JVM Singleton handling
Along side of DECLARE_ZORBA_JAR(FILE /foo.jar EXTERNAL), can you also make a macro that adds a PATH list not only one jar? Maybe: DECLARE_ZORBA_JAR(PATH /foo.jar:../bar.jar:etc EXTERNAL) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/931816 Title: New way of classpath and JVM Singleton handling Status in Zorba - The XQuery Processor: New Bug description: This bug is to track work related to makeing Zorba modules implemented in Java be robust and working all together. It was decided that a few things need to happen: Critical: 1. (chris) add cmake macros to let build know a module is using java 2. (chris) cmake macros that define it's own jar implementation 3. (chris) cmake macros that define external dependencies (like xmlbeans.jar, xsl-fo.jar) 4. (cezar) add zorba classpath option, and CLASSPATH environment 5. (chris) add core module that can resolve a known (by URI) external module 6. (chris) add external java-helper module that provides concatenation of classpathes - the order on calsspath is: ModuleOwnPath, ModuleDependecy, zorba -cp, env CLASSPATH 7. (chris) make sure binary packages set up classpathes correctly 8. (cezar) add code to external java-helper module to create a singleton JVM 9. (cezar) refactor xmlbeans and xsl-fo modules to make use of external java-helper module Nice to have, not critical: 10. Have a generic way to implement modules directly in Java, Python etc, using swig extension. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/931816/+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] [Merge] lp:~zorba-coders/zorba/feature-json_parser into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-json_parser into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-json_parser into lp:zorba
The attempt to merge lp:~zorba-coders/zorba/feature-json_parser into lp:zorba failed. Below is the output from the failed tests. CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message): Validation queue job feature-json_parser-2012-02-15T17-27-26.321Z is finished. The final status was: 41 tests did not succeed - changes not commited. Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-json_parser into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/feature-json_parser-2012-02-15T17-27-26.321Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-json_parser into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-json_parser into lp:zorba has been updated. Commit Message changed to: New JSON parser and module. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-json_parser into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-json_parser into lp:zorba has been updated. Commit Message changed to: I think I've finally got it. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
The attempt to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba failed. Below is the output from the failed tests. CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message): Validation queue job feature-transcode_streambuf-2012-02-15T16-29-00.272Z is finished. The final status was: 1 tests did not succeed - changes not commited. Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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 932884] [NEW] empty tags in XHTML serialization
Public bug reported: Spec sections: http://www.w3.org/TR/xhtml1/#h-4.3 In SGML-based HTML 4 certain elements were permitted to omit the end tag; with the elements that followed implying closure. XML does not allow end tags to be omitted. All elements other than those declared in the DTD as EMPTY must have an end tag. Elements that are declared in the DTD as EMPTY can have an end tag or can use empty element shorthand (see Empty Elements). http://www.w3.org/TR/xhtml1/#h-4.6 Empty elements must either have an end tag or the start tag must end with />. For instance, or . See HTML Compatibility Guidelines for information on ways to ensure this is backward compatible with HTML 4 user agents. http://www.w3.org/TR/xhtml1/#C_3 Given an empty instance of an element whose content model is not EMPTY (for example, an empty title or paragraph) do not use the minimized form (e.g. use and not ). In other words: There are only 10 legal XHTML empty tags. A quick search for “empty” on the XHTML 1.0 DTD returns the following list of tags that can legally use the empty element shorthand: All the other elements must use . ** Affects: zorba Importance: High Assignee: Chris Hillery (ceejatec) Status: New -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/932884 Title: empty tags in XHTML serialization Status in Zorba - The XQuery Processor: New Bug description: Spec sections: http://www.w3.org/TR/xhtml1/#h-4.3 In SGML-based HTML 4 certain elements were permitted to omit the end tag; with the elements that followed implying closure. XML does not allow end tags to be omitted. All elements other than those declared in the DTD as EMPTY must have an end tag. Elements that are declared in the DTD as EMPTY can have an end tag or can use empty element shorthand (see Empty Elements). http://www.w3.org/TR/xhtml1/#h-4.6 Empty elements must either have an end tag or the start tag must end with />. For instance, or . See HTML Compatibility Guidelines for information on ways to ensure this is backward compatible with HTML 4 user agents. http://www.w3.org/TR/xhtml1/#C_3 Given an empty instance of an element whose content model is not EMPTY (for example, an empty title or paragraph) do not use the minimized form (e.g. use and not ). In other words: There are only 10 legal XHTML empty tags. A quick search for “empty” on the XHTML 1.0 DTD returns the following list of tags that can legally use the empty element shorthand: All the other elements must use . To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/932884/+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] [Merge] lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-transcode_streambuf into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-transcode_streambuf into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/feature-transcode_streambuf-2012-02-15T16-29-00.272Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/92113 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-json_parser into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-json_parser into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-json_parser into lp:zorba
Review: Approve The reported bugs were fixed, the documentation also looks good. As far as William's last remark, IMO building the XQDoc documentation and looking at the 'json-options' schema solves the problem. -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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 919757] Re: Add documentation from old zorba releases
** Changed in: zorba Status: In Progress => Fix Committed ** Changed in: zorba Status: Fix Committed => Invalid ** Changed in: zorba Status: Invalid => 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/919757 Title: Add documentation from old zorba releases Status in Zorba - The XQuery Processor: Fix Committed Bug description: Add documentation from old zorba releases in the new Zorba website. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/919757/+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/feature-json_parser into lp:zorba
Why can't you just look at the json-options schema? There are only two options. -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/feature-json_parser into lp:zorba
If you give/write a good overview of the possible options for parse/serialize I can definitely do that. Right know I have no clue of what's possible or not which is gonna the case of our users too. -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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 932808] Re: global vars can be overwritten by local vars (serialization and eval involved)
** 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/932808 Title: global vars can be overwritten by local vars (serialization and eval involved) Status in Zorba - The XQuery Processor: Invalid Bug description: working on it. But I need the bug number to create a branch. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/932808/+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/feature-json_parser into lp:zorba
As far as I can tell, I've already given examples. Since you're so picky and only you seem to know what you want, why don't you just add the documentation you want yourself? -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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 932808] [NEW] global vars can be overwritten by local vars (serialization and eval involved)
Public bug reported: working on it. But I need the bug number to create a branch. ** Affects: zorba Importance: Undecided Status: New -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/932808 Title: global vars can be overwritten by local vars (serialization and eval involved) Status in Zorba - The XQuery Processor: New Bug description: working on it. But I need the bug number to create a branch. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/932808/+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] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has been updated. Status: Approved => Merged For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93188 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93188 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/markos-scratch into lp:zorba
Validation queue job markos-scratch-2012-02-15T12-01-14.321Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93188 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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 Importance: Medium => Low ** Changed in: zorba Assignee: Markos Zaharioudakis (markos-za) => Matthias Brantner (matthias-brantner) ** 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/866627 Title: xquery 1.1 conformance: failing schema import tests Status in Zorba - The XQuery Processor: Fix Committed 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 867266] Re: Unexpected updating expression illegal here
Fixed in r10661 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867266 Title: Unexpected updating expression illegal here Status in Zorba - The XQuery Processor: Fix Committed Bug description: This raises an error: 4,1: update static error [err:XUST0001]: updating expression illegal here; raised at /zorba/trunksrc/src/compiler/expression/fo_expr.cpp:222 variable $x:=; for $y in $x return replace value of node $x with "x" This doesn't: variable $x:=; for $y in $x return replace value of node $y with "x" To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867266/+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 867266] Re: Unexpected updating expression illegal here
** 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/867266 Title: Unexpected updating expression illegal here Status in Zorba - The XQuery Processor: Fix Committed Bug description: This raises an error: 4,1: update static error [err:XUST0001]: updating expression illegal here; raised at /zorba/trunksrc/src/compiler/expression/fo_expr.cpp:222 variable $x:=; for $y in $x return replace value of node $x with "x" This doesn't: variable $x:=; for $y in $x return replace value of node $y with "x" To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867266/+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] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/markos-scratch-2012-02-15T12-01-14.321Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93188 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/markos-scratch into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93188 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93188 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/markos-scratch into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93188 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/markos-scratch into lp:zorba
Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93188 fix for bug #867266 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93188 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'src/compiler/expression/fo_expr.cpp' --- src/compiler/expression/fo_expr.cpp 2012-01-11 17:30:25 + +++ src/compiler/expression/fo_expr.cpp 2012-02-15 12:00:11 + @@ -27,6 +27,8 @@ #include "functions/udf.h" #include "diagnostics/assert.h" +#include "diagnostics/util_macros.h" + namespace zorba { @@ -153,7 +155,9 @@ const function* func = get_func(); csize numArgs = num_args(); - if (func->getKind() == FunctionConsts::OP_CONCATENATE_N) + switch (func->getKind()) + { + case FunctionConsts::OP_CONCATENATE_N: { bool vacuous = true; @@ -175,16 +179,14 @@ { if (is_updating() && !(argKind & UPDATING_EXPR) && argKind != VACUOUS_EXPR) { - throw XQUERY_EXCEPTION(err::XUST0001, - ERROR_PARAMS(ZED(XUST0001_CONCAT)), - ERROR_LOC(theArgs[i]->get_loc())); + RAISE_ERROR(err::XUST0001, theArgs[i]->get_loc(), + ERROR_PARAMS(ZED(XUST0001_CONCAT))); } if (i > 0 && !is_updating() && !is_vacuous() && (argKind & UPDATING_EXPR)) { - throw XQUERY_EXCEPTION(err::XUST0001, - ERROR_PARAMS(ZED(XUST0001_CONCAT)), - ERROR_LOC(theArgs[i]->get_loc())); + RAISE_ERROR(err::XUST0001, theArgs[i]->get_loc(), + ERROR_PARAMS(ZED(XUST0001_CONCAT))); } } @@ -201,8 +203,16 @@ theScriptingKind &= ~SIMPLE_EXPR; checkScriptingKind(); - } - else + +break; + } + case FunctionConsts::OP_HOIST_1: + case FunctionConsts::OP_UNHOIST_1: + { +theScriptingKind = theArgs[0]->get_scripting_detail(); +break; + } + default: { theScriptingKind = func->getScriptingKind(); @@ -217,9 +227,8 @@ if (arg->is_updating()) { -throw XQUERY_EXCEPTION(err::XUST0001, - ERROR_PARAMS(ZED(XUST0001_Generic)), - ERROR_LOC(theArgs[i]->get_loc())); +RAISE_ERROR(err::XUST0001, theArgs[i]->get_loc(), +ERROR_PARAMS(ZED(XUST0001_Generic))); } short argKind = arg->get_scripting_detail(); @@ -243,6 +252,7 @@ checkScriptingKind(); } + } } === modified file 'src/compiler/rewriter/rules/hoist_rules.cpp' --- src/compiler/rewriter/rules/hoist_rules.cpp 2011-09-07 17:27:11 + +++ src/compiler/rewriter/rules/hoist_rules.cpp 2012-02-15 12:00:11 + @@ -491,7 +491,8 @@ is_enclosed_expr(e) || e->containsRecursiveCall() || e->is_nondeterministic() || - e->is_sequential()) + e->is_sequential() || + e->is_updating()) { return true; } === modified file 'src/runtime/core/flwor_iterator.cpp' --- src/runtime/core/flwor_iterator.cpp 2012-02-15 10:25:02 + +++ src/runtime/core/flwor_iterator.cpp 2012-02-15 12:00:11 + @@ -711,7 +711,7 @@ { PlanIteratorState::init(planState); - ulong numVars = (ulong)forletClauses.size(); + csize numVars = forletClauses.size(); std::vector v(numVars, 0); theVarBindingState.swap(v); assert(theVarBindingState.size() > 0); @@ -775,7 +775,7 @@ assert(theVarBindingState.size() > 0); - size_t size = theVarBindingState.size(); + csize size = theVarBindingState.size(); ::memset(&theVarBindingState[0], 0, size * sizeof(long)); @@ -805,9 +805,9 @@ / void FlworState::clearSortTable() { - ulong numTuples = (ulong)theSortTable.size(); + csize numTuples = theSortTable.size(); - for (ulong i = 0; i < numTuples; ++i) + for (csize i = 0; i < numTuples; ++i) { theSortTable[i].clear(); } === added file 'test/rbkt/ExpQueryResults/zorba/updates/no_hoist.xml.res' --- test/rbkt/ExpQueryResults/zorba/updates/no_hoist.xml.res 1970-01-01 00:00:00 + +++ test/rbkt/ExpQueryResults/zorba/updates/no_hoist.xml.res 2012-02-15 12:00:11 + @@ -0,0 +1,2 @@ + +x === added file 'test/rbkt/Queries/zorba/updates/no_hoist.xq' --- test/rbkt/Queries/zorba/updates/no_hoist.xq 1970-01-01 00:00:00 + +++ test/rbkt/Queries/zorba/updates/no_hoist.xq 2012-02-15 12:00:11 + @@ -0,0 +1,8 @@ + +variable $x:=; + +(for $y in $x +return +replace value of node $x with "x"); + +$x -- 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 931816] Re: New way of classpath and JVM Singleton handling
OK, I've completed #2 and #3. There's a new macro, which needs some better documentation once we understand exactly what the whole Java story is: # Inform Zorba of a .jar file that should be made available on the CLASSPATH # of the JVM, should the JVM be started. QQQ more doc needed # # Args: FILE - path to file (must be absolute) # EXTERNAL - (optional) FILE specifies a path that should be added # to CLASSPATH as-is # TEST_ONLY - (optional) Jar file is for testcases only and should not # be installed MACRO (DECLARE_ZORBA_JAR) There's also a test case in test/rbkt/modules/java. For the time being this doesn't do anything module-ish; it just creates a .jar file and uses DECLARE_ZORBA_JAR() on it. Also note that the test case depends on CMake 2.8.6, which has significantly improved support for Java. DECLARE_ZORBA_JAR(FILE /foo.jar) will put foo.jar into the directory "jars/" on Zorba's library path (ie, LIB_PATH/jars in your build directory, or lib/zorba/core/2.1.0/jars (Zorba core module) or lib/zorba/jars (non-core module) in your installed Zorba). DECLARE_ZORBA_JAR(FILE /foo.jar EXTERNAL) will cause a file called -jars.txt to be created in the same "jars/" directories as above, with the full path to foo.jar listed in it. (Multiple external jars for the same project will be listed on separate lines in that file.) The upshot is that when Zorba needs to create a classpath for the JVM, all it needs to do is: 1. Step through each directory on the Library Path until it finds a "jars" directory; call this JARS_DIR. 2. Add each .jar file in JARS_DIR to the classpath. 3. For each -jars.txt file in JARS_DIR, add each line of the file to the classpath. ** Branch linked: lp:~zorba-coders/zorba/install-jars -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/931816 Title: New way of classpath and JVM Singleton handling Status in Zorba - The XQuery Processor: New Bug description: This bug is to track work related to makeing Zorba modules implemented in Java be robust and working all together. It was decided that a few things need to happen: Critical: 1. (chris) add cmake macros to let build know a module is using java 2. (chris) cmake macros that define it's own jar implementation 3. (chris) cmake macros that define external dependencies (like xmlbeans.jar, xsl-fo.jar) 4. (cezar) add zorba classpath option, and CLASSPATH environment 5. (chris) add core module that can resolve a known (by URI) external module 6. (chris) add external java-helper module that provides concatenation of classpathes - the order on calsspath is: ModuleOwnPath, ModuleDependecy, zorba -cp, env CLASSPATH 7. (chris) make sure binary packages set up classpathes correctly 8. (cezar) add code to external java-helper module to create a singleton JVM 9. (cezar) refactor xmlbeans and xsl-fo modules to make use of external java-helper module Nice to have, not critical: 10. Have a generic way to implement modules directly in Java, Python etc, using swig extension. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/931816/+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 931816] Re: New way of classpath and JVM Singleton handling
One problem I thought of: The Library Path I mentioned above is actually a feature of the static context. When Zorba needs to launch the JVM, the only static context it would be reasonable to look at would be the root static context. However, this is not the static context which gets populated by zorbacmd's --lib-path argument; zorbacmd creates a child static context for executing the query, and populates that static context's library path. So, a user could not use --lib-path (or --module-path) to point to an alternate module library installation directory and then invoke a query using a Java-based module. I'm not sure yet what the right answer here is. Perhaps zorbacmd could just directly modify the root static context rather than the child. Also, we will need to document for C++ API users that only the root static context's library path will be used for the JVM classpath. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/931816 Title: New way of classpath and JVM Singleton handling Status in Zorba - The XQuery Processor: New Bug description: This bug is to track work related to makeing Zorba modules implemented in Java be robust and working all together. It was decided that a few things need to happen: Critical: 1. (chris) add cmake macros to let build know a module is using java 2. (chris) cmake macros that define it's own jar implementation 3. (chris) cmake macros that define external dependencies (like xmlbeans.jar, xsl-fo.jar) 4. (cezar) add zorba classpath option, and CLASSPATH environment 5. (chris) add core module that can resolve a known (by URI) external module 6. (chris) add external java-helper module that provides concatenation of classpathes - the order on calsspath is: ModuleOwnPath, ModuleDependecy, zorba -cp, env CLASSPATH 7. (chris) make sure binary packages set up classpathes correctly 8. (cezar) add code to external java-helper module to create a singleton JVM 9. (cezar) refactor xmlbeans and xsl-fo modules to make use of external java-helper module Nice to have, not critical: 10. Have a generic way to implement modules directly in Java, Python etc, using swig extension. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/931816/+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 867022] Re: XPTY0004 needs error parameters or location
Fixed in r10660 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867022 Title: XPTY0004 needs error parameters or location Status in Zorba - The XQuery Processor: Fix Committed Bug description: There are a few places in the code where error XPTY0004 had no parameters: constructors.cpp:828,840 dynamic_fncall_iterator.cpp:163 numerics_impl.cpp:913 The original code didn't have them either, so there was nothing for me to migrate to the new error code. Please ensure these have a good error message with parameters. Some places in the code have no error location: flwor_iterator.cpp:1341 orderby_iterator.cpp:401 and it wasn't clear to me how to obtain it. Please add it. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867022/+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 867022] Re: XPTY0004 needs error parameters or location
** 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/867022 Title: XPTY0004 needs error parameters or location Status in Zorba - The XQuery Processor: Fix Committed Bug description: There are a few places in the code where error XPTY0004 had no parameters: constructors.cpp:828,840 dynamic_fncall_iterator.cpp:163 numerics_impl.cpp:913 The original code didn't have them either, so there was nothing for me to migrate to the new error code. Please ensure these have a good error message with parameters. Some places in the code have no error location: flwor_iterator.cpp:1341 orderby_iterator.cpp:401 and it wasn't clear to me how to obtain it. Please add it. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867022/+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] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
Validation queue job markos-scratch-2012-02-15T10-41-04.422Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93175 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/markos-scratch into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/markos-scratch-2012-02-15T10-41-04.422Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93175 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/markos-scratch into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93175 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93175 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/markos-scratch into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93175 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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/markos-scratch into lp:zorba
Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93175 Fixed bug #867022 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/93175 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'src/compiler/translator/translator.cpp' --- src/compiler/translator/translator.cpp 2012-02-10 10:48:40 + +++ src/compiler/translator/translator.cpp 2012-02-15 10:32:20 + @@ -3848,7 +3848,7 @@ { TRACE_VISIT_OUT(); - bool recognised = false; + //bool recognised = false; store::Item_t lExpandedQName; expand_function_qname(lExpandedQName, v.get_qname().getp(), loc); @@ -3869,7 +3869,7 @@ + ":" + lExpandedQName->getLocalName(; } -recognised = true; +//recognised = true; } std::vector > lLiterals; === modified file 'src/diagnostics/diagnostic_en.xml' --- src/diagnostics/diagnostic_en.xml 2011-12-21 14:40:33 + +++ src/diagnostics/diagnostic_en.xml 2012-02-15 10:32:20 + @@ -51,6 +51,11 @@ by the matching rules in 2.5.4 SequenceType Matching. $1 + + +"the first parameter to the format-number() function is of type $2, which is not allowed + + === modified file 'src/diagnostics/pregenerated/dict_en.cpp' --- src/diagnostics/pregenerated/dict_en.cpp 2011-12-21 14:40:33 + +++ src/diagnostics/pregenerated/dict_en.cpp 2012-02-15 10:32:20 + @@ -657,6 +657,7 @@ { "~VariabledUndeclared", "undeclared variable" }, { "~WindowClause11", "\"window\" clause only available in XQuery 1.1 or later" }, { "~XMLSchema", "XML schema" }, + { "~XPTY0004_FormatNumber_2", "\"the first parameter to the format-number() function is of type $2, which is not allowed" }, { "~XQST0106_CONFLICTING", "conflicting" }, { "~XQST0106_THE_SAME", "the same" }, { "~XQueryVersionAtLeast10_2", "\"$2\": XQuery version must be at least 1.0" }, === modified file 'src/runtime/core/constructors.cpp' --- src/runtime/core/constructors.cpp 2012-01-11 17:30:25 + +++ src/runtime/core/constructors.cpp 2012-02-15 10:32:20 + @@ -147,8 +147,7 @@ if (child->getNodeKind() == store::StoreConsts::attributeNode) { -RAISE_ERROR(err::XPTY0004, loc, -ERROR_PARAMS(ZED(NoAttrNodesInDocument))); +RAISE_ERROR(err::XPTY0004, loc, ERROR_PARAMS(ZED(NoAttrNodesInDocument))); } if (child->getParent() != result.getp()) @@ -846,8 +845,10 @@ try { if (!consumeNext(lItem, theChild0, planState)) - // TODO: needs type in error message - throw XQUERY_EXCEPTION(err::XPTY0004, ERROR_LOC(loc)); +{ + // translator places a cast to xs:NCName op + ZORBA_ASSERT(false); +} } catch (ZorbaException const& e) { @@ -858,10 +859,11 @@ } if (consumeNext(temp, theChild0, planState)) -// TODO: needs type in error message -throw XQUERY_EXCEPTION(err::XPTY0004, ERROR_LOC(loc)); + { +// translator places a cast to xs:NCName op +ZORBA_ASSERT(false); + } - // TODO: check if lItem is string, raise XPTY0004 if not lItem->getStringValue2(target); if (target.empty()) @@ -1320,19 +1322,13 @@ if (!consumeNext(result, theChild.getp(), planState)) { -throw XQUERY_EXCEPTION( - err::XPTY0004, - ERROR_PARAMS( ZED( EmptySeqNoCastToQName ) ), - ERROR_LOC( loc ) -); +RAISE_ERROR(err::XPTY0004, loc, ERROR_PARAMS(ZED(EmptySeqNoCastToQName))); } valid = true; if (consumeNext(temp, theChild, planState)) { -throw XQUERY_EXCEPTION( - err::XPTY0004, ERROR_PARAMS( ZED( SeqNoCastToQName ) ), ERROR_LOC( loc ) -); +RAISE_ERROR(err::XPTY0004, loc, ERROR_PARAMS(ZED(SeqNoCastToQName))); } try @@ -1355,19 +1351,13 @@ // this needs to be checked and thrown here as the optimizer // might try to fold a const expression and would return a different error code if (theIsAttrName) - throw XQUERY_EXCEPTION( -err::XQDY0044, ERROR_PARAMS(name), ERROR_LOC(loc) - ); + RAISE_ERROR(err::XQDY0044, loc, ERROR_PARAMS(name)); else - throw XQUERY_EXCEPTION( -err::XQDY0096, ERROR_PARAMS(name), ERROR_LOC(loc) - ); + RAISE_ERROR(err::XQDY0096, loc, ERROR_PARAMS(name)); } else // the returned error codes are wrong for name casting => they must be changed -throw XQUERY_EXCEPTION( - err::XQDY0074, ERROR_PARAMS( "item" ), ERROR_LOC( loc ) -); +RAISE_ERROR(err::XQDY0074, loc, ERROR_PARAMS("item")); } else { === modified file 'src/runtime/core/flwor_iterator.cpp' --- src/runtime/core/flwor_iterator.cpp 2012-01-11 17:30:25 + +++ src/runtime/core/flwor_iterator.cpp 2012-02-15 10:32:20 +00
[Zorba-coders] [Bug 928631] Re: wrong static context in built-in function in full-text module
The original bug (for which this report was opened) has been fixed. The test ft-module-tokenize-1.xq fails due to a bug in the TokenizeIterator::nextImpl(). I assume this is Paul's code, so Paul should take a look. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/928631 Title: wrong static context in built-in function in full-text module Status in Zorba - The XQuery Processor: In Progress Bug description: The error isn't raised if the schema is actually imported in the module that invokes the function which does the validation. This probably means that the static context of the function is the static context resulting from compiling the importing module (instead the static context of the full-text module itself). Alternatively, the in-scope element declarations could also become part of all the static contexts of the query. I think we have had this discussion a couple of times and I keep forgetting what we decided. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/928631/+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:~nbrinza/zorba/parse-fragment into lp:zorba
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/91657 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking
The problem is that I'm not able to make the query to finish but I seem to be the only one with that problem? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: New Bug description: I wrote the following query: import module namespace file ="http://expath.org/ns/file";; for $line at $i in file:read-text-lines("doc.xml") return if($i lt 1104869) then () else concat($line, " ") Where doc.xml is a large document. The result of the query seems to never end and its memory footprint is huge. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/921458/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking
I cannot find the patch you're mentioning, where can I find it? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: New Bug description: I wrote the following query: import module namespace file ="http://expath.org/ns/file";; for $line at $i in file:read-text-lines("doc.xml") return if($i lt 1104869) then () else concat($line, " ") Where doc.xml is a large document. The result of the query seems to never end and its memory footprint is huge. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/921458/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/feature-json_parser into lp:zorba
The intro is great! There are examples missing for each function description. Also I would like to understand the best practice for documenting XML parameters. Currently it's pretty confusing. Matthias what's your take on it? -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/92900 Your team Zorba Coders is subscribed to branch lp:zorba. -- 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