Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/fix_typo_email_module into lp:zorba/email-module
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/fix_typo_email_module/+merge/103374 Your team Zorba Coders is subscribed to branch lp:zorba/email-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/fix_typo_email_module into lp:zorba/email-module
The proposal to merge lp:~zorba-coders/zorba/fix_typo_email_module into lp:zorba/email-module has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_typo_email_module/+merge/103374 -- https://code.launchpad.net/~zorba-coders/zorba/fix_typo_email_module/+merge/103374 Your team Zorba Coders is subscribed to branch lp:zorba/email-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/fix_typo_email_module into lp:zorba/email-module
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/fix_typo_email_module-2012-04-25T07-54-43.602Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/fix_typo_email_module/+merge/103374 Your team Zorba Coders is subscribed to branch lp:zorba/email-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/bug-928135_Seg_Fault_Python into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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/bug-928135_Seg_Fault_Python into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-928135_Seg_Fault_Python into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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/bug-914955 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-914955 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-914955/+merge/103272 -- https://code.launchpad.net/~zorba-coders/zorba/bug-914955/+merge/103272 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/bug925143 into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug925143/+merge/102791 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/bug-914955 into lp:zorba
The failed test succeeds locally. Attempting merge again. -- https://code.launchpad.net/~zorba-coders/zorba/bug-914955/+merge/103272 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/bug925143 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug925143 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug925143/+merge/102791 -- https://code.launchpad.net/~zorba-coders/zorba/bug925143/+merge/102791 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/fix_typo_email_module into lp:zorba/email-module
Validation queue job fix_typo_email_module-2012-04-25T07-54-43.602Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/fix_typo_email_module/+merge/103374 Your team Zorba Coders is subscribed to branch lp:zorba/email-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/fix_typo_email_module into lp:zorba/email-module
The proposal to merge lp:~zorba-coders/zorba/fix_typo_email_module into lp:zorba/email-module has been updated. Status: Approved => Merged For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_typo_email_module/+merge/103374 -- https://code.launchpad.net/~zorba-coders/zorba/fix_typo_email_module/+merge/103374 Your team Zorba Coders is subscribed to branch lp:zorba/email-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/bug-928135_Seg_Fault_Python into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bug-928135_Seg_Fault_Python-2012-04-25T08-33-57.507Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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 947064] Re: FOTS: FunctionCall tests Seg Fault
Assigned to Nicolai because AFAIK he's working on HOF. ** Changed in: zorba Assignee: (unassigned) => Nicolae Brinza (nbrinza) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/947064 Title: FOTS: FunctionCall tests Seg Fault Status in Zorba - The XQuery Processor: New Bug description: The following tests from the prod/FunctionCall.xml test-set result in a Segmentation Fault : - "FunctionCall-020" xquery version '3.0'; declare namespace o = 'http://www.zorba-xquery.com/options/features'; declare option o:enable 'hof'; let $q := function ($prefix as xs:string, $local as xs:string) as xs:QName { {$prefix}:{$local} } return $q('fn', 'abs') To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/947064/+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 947130] Re: FOTS: generate-id tests results in Seg Fault
Assigned to Nicolai because AFAIK he's working on the HOF. ** Changed in: zorba Assignee: (unassigned) => Nicolae Brinza (nbrinza) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/947130 Title: FOTS: generate-id tests results in Seg Fault Status in Zorba - The XQuery Processor: New Bug description: The following test from the fn/generate-id.xml results in a Segmentation Fault : - "generate-id-901" xquery version '3.0'; declare namespace o = 'http://www.zorba-xquery.com/options/features'; declare option o:enable 'hof'; let $f := function() {generate-id()} return $f() Expected result is XPDY0002. - "generate-id-902" xquery version '3.0'; declare namespace o = 'http://www.zorba-xquery.com/options/features'; declare option o:enable 'hof'; let $f := function($x as item()) {generate-id($x)} return $f(3) Expected result is XPTY0004. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/947130/+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 862971] Re: No error upon (almost) duplicate function declarations
** Changed in: zorba Status: New => 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/862971 Title: No error upon (almost) duplicate function declarations Status in Zorba - The XQuery Processor: Incomplete Bug description: If you declare two XQuery functions that have the same name and signature (arity) in the same file, but the first is declared "external" and the second one isn't, Zorba allows the second declaration. It should be reported as an error. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/862971/+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/bug-928135_Seg_Fault_Python into lp:zorba
Validation queue job bug-928135_Seg_Fault_Python-2012-04-25T08-33-57.507Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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/bug-928135_Seg_Fault_Python into lp:zorba
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 1 Approve, 1 Pending. -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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/bug-914955 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bug-914955-2012-04-25T09-06-10.144Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/bug-914955/+merge/103272 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/bug-928135_Seg_Fault_Python into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-928135_Seg_Fault_Python into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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/bug-914955 into lp:zorba
Validation queue job bug-914955-2012-04-25T09-06-10.144Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/bug-914955/+merge/103272 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/serializer into lp:zorba
Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/serializer into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/103436 put back --compile-plan and --execute-plan options -- https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/103436 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/bug-914955 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bug-914955-2012-04-25T09-55-56.409Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/bug-914955/+merge/103272 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/103438 put back --compile-plan and --execute-plan options -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'bin/zorbacmd.cpp' --- bin/zorbacmd.cpp 2012-04-24 12:39:38 + +++ bin/zorbacmd.cpp 2012-04-25 10:13:21 + @@ -177,7 +177,7 @@ theStopWordsMapper.addMapping(lIter->uri, lIter->value); } -if (props.serializePlan()) +if (props.serializePlan() || props.loadPlan()) { theSerializationCallback.addURIMapper(&theStopWordsMapper); } @@ -195,7 +195,7 @@ theThesaurusMapper.addMapping(lIter->uri, lIter->value); } -if (props.serializePlan()) +if (props.serializePlan() || props.loadPlan()) { theSerializationCallback.addURIMapper(&theStopWordsMapper); } @@ -551,6 +551,8 @@ bool lIndent = properties.indent(); bool doTiming = properties.timing(); bool serializePlan = properties.serializePlan(); + bool savePlan = properties.savePlan(); + bool loadPlan = properties.loadPlan(); std::ostringstream lOut; Zorba_CompilerHints lHints; @@ -559,6 +561,12 @@ if (serializePlan) { +if (savePlan || loadPlan) +{ + std::cerr << "The --serialize-plan option cannot be used together with the --compile-plan or --execute-plan options" << std::endl; + exit(1); +} + std::string planFilePath = qfilepath; planFilePath += ".plan"; planFile.reset(new std::fstream(planFilePath.c_str(), @@ -570,6 +578,12 @@ assert(planFilep->good()); } + if (savePlan && loadPlan) + { +std::cerr << "The --compile-plan and --execute-plan options cannot be used together" << std::endl; +exit(1); + } + // default is O1 in the Zorba_CompilerHints constructor if (properties.optimizationLevel() == "O0") { @@ -629,17 +643,24 @@ query->registerDiagnosticHandler(&diagnosticHandler); query->setFileName(qfilepath); -query->compile(qfile, staticContext, lHints); - -// Serialize the execution plan, if requested -if (serializePlan) -{ - planFilep->clear(); - planFilep->seekp(0); - - query->saveExecutionPlan(*planFilep, ZORBA_USE_BINARY_ARCHIVE); - - planFilep->flush(); +if (loadPlan) +{ + query->loadExecutionPlan(qfile, &theSerializationCallback); +} +else +{ + query->compile(qfile, staticContext, lHints); + + // Serialize the execution plan, if requested + if (serializePlan) + { +planFilep->clear(); +planFilep->seekp(0); + +query->saveExecutionPlan(*planFilep, ZORBA_USE_BINARY_ARCHIVE); + +planFilep->flush(); + } } // stop the compilation timer @@ -705,6 +726,12 @@ { query->executeSAX(); } +else if (savePlan) +{ + query->saveExecutionPlan(outputStream, + ZORBA_USE_BINARY_ARCHIVE, + SAVE_UNUSED_FUNCTIONS); +} else { query->execute(outputStream, &lSerOptions); === modified file 'bin/zorbacmdproperties_base.h' --- bin/zorbacmdproperties_base.h 2012-04-24 12:39:38 + +++ bin/zorbacmdproperties_base.h 2012-04-25 10:13:21 + @@ -29,9 +29,9 @@ class ZorbaCMDPropertiesBase : public ::zorba::PropertiesBase { protected: - const char **get_all_options () const + const char** get_all_options () const { -static const char *result [] = { +static const char* result [] = { "--timing", "--output-file", "--serialization-parameter", "--serialize-html", "--serialize-text", "--indent", "--print-query", "--print-errors-as-xml", "--byte-order-mark", "--omit-xml-declaration", @@ -42,7 +42,7 @@ "--no-serializer", "--debug", "--debug-host", "--debug-port", "--no-logo", "--timeout", "--uri-path", "--lib-path", "--module-path", "--classpath", "--option", "--trailing-nl", "--stop-words", "--thesaurus", - "--compile-plan", "--execute-plan", NULL }; + "--compile-plan", "--execute-plan --serialize-plan", NULL }; return result; } @@ -85,6 +85,8 @@ std::vector theStopWords; std::vector theThesaurus; bool theSerializePlan; + bool theSavePlan; + bool theLoadPlan; void initialize () { @@ -110,6 +112,8 @@ theTimeout = -1; theTrailingNl = false; theSerializePlan = false; +theSavePlan = false; +theLoadPlan = false; } public: @@ -152,6 +156,8 @@ const std::vector &stopWords () const { return theStopWords; } const std::vector &thesaurus () const { return
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/103438 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/103438 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 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/sorting-chained-tests into lp:zorba
Ghislain Fourny has proposed merging lp:~zorba-coders/zorba/sorting-chained-tests into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) Matthias Brantner (matthias-brantner) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 Added an instruction to sort chained tests for deterministic order. -- https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'test/rbkt/Queries/CMakeLists.txt' --- test/rbkt/Queries/CMakeLists.txt 2012-04-24 12:39:38 + +++ test/rbkt/Queries/CMakeLists.txt 2012-04-25 10:21:40 + @@ -54,6 +54,8 @@ SET(PARAM 0) + LIST(SORT CHAINED_TESTFILES) + # create a list with the folders containg *.cxq files FOREACH(CHAINED_TESTFILE ${CHAINED_TESTFILES}) GET_FILENAME_COMPONENT(TF_PATH ${CHAINED_TESTFILE} PATH) -- 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/sorting-chained-tests into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/sorting-chained-tests into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 -- https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 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/bug-914955 into lp:zorba
Validation queue job bug-914955-2012-04-25T09-55-56.409Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/bug-914955/+merge/103272 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/bug-914955 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-914955 into lp:zorba has been updated. Status: Approved => Merged For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-914955/+merge/103272 -- https://code.launchpad.net/~zorba-coders/zorba/bug-914955/+merge/103272 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/bug925143 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bug925143-2012-04-25T10-29-31.939Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/bug925143/+merge/102791 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/bug925143 into lp:zorba
The attempt to merge lp:~zorba-coders/zorba/bug925143 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 bug925143-2012-04-25T10-29-31.939Z 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/bug925143/+merge/102791 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/bug925143 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug925143 into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug925143/+merge/102791 -- https://code.launchpad.net/~zorba-coders/zorba/bug925143/+merge/102791 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/sorting-chained-tests into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/sorting-chained-tests-2012-04-25T11-01-15.305Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 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 988090] Re: data-formatting should build without util-jvm
Same problem for EXI module and probably schema-tools. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/988090 Title: data-formatting should build without util-jvm Status in Zorba - The XQuery Processor: New Bug description: The data-formatting module currently marks util-jvm as REQUIRED, and fails with a somewhat mysterious message if it is not there. We should (a) make it build without util-jvm (albeit without including the xsl- fo module), and (b) improve the error message to point to the util-jvm module. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/988090/+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 988090] Re: data-formatting should build without util-jvm
(Although it's less critical for those module packages since they each contain only one module, and that one module depends on util-jvm, so util-jvm really is required for those. Still the error message should be improved.) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/988090 Title: data-formatting should build without util-jvm Status in Zorba - The XQuery Processor: New Bug description: The data-formatting module currently marks util-jvm as REQUIRED, and fails with a somewhat mysterious message if it is not there. We should (a) make it build without util-jvm (albeit without including the xsl- fo module), and (b) improve the error message to point to the util-jvm module. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/988090/+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/sorting-chained-tests into lp:zorba
Validation queue job sorting-chained-tests-2012-04-25T11-01-15.305Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 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-04-25T11-33-08.688Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 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/sorting-chained-tests into lp:zorba
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 3 Pending. -- https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 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/sorting-chained-tests into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/sorting-chained-tests into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 -- https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 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/bug-966706 into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-966706/+merge/101498 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:~nbrinza/zorba/parse-fragment into lp:zorba
Nicolae Brinza has proposed merging lp:~nbrinza/zorba/parse-fragment into lp:zorba. Requested reviews: David Graf (davidagraf) For more details, see: https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/103453 Small optimization in the serializer to avoid a repeated string comparison -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/103453 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'src/api/serialization/serializer.cpp' --- src/api/serialization/serializer.cpp 2012-04-24 12:39:38 + +++ src/api/serialization/serializer.cpp 2012-04-25 12:02:26 + @@ -100,7 +100,6 @@ } } - //// // Default emitter // @@ -194,7 +193,7 @@ unicode::code_point cp = utf8::next_char(temp); // raise an error iff (1) the serialization format is XML 1.0 and (2) the given character is an invalid XML 1.0 character - if (ser && ser->method == PARAMETER_VALUE_XML && ser->version == "1.0" && !xml::is_valid(cp)) + if (ser && ser->method == PARAMETER_VALUE_XML && ser->version == PARAMETER_VALUE_VERSION_1_0 && !xml::is_valid(cp)) throw XQUERY_EXCEPTION( err::FOCH0001, ERROR_PARAMS( cp ) ); if (cp >= 0x1 && cp <= 0x10) @@ -219,7 +218,7 @@ // raise an error iff (1) the serialization format is XML 1.0 and (2) the given character is an invalid XML 1.0 character if (ser && ser->method == PARAMETER_VALUE_XML && -ser->version == "1.0" && !xml::is_valid(static_cast(*chars))) +ser->version == PARAMETER_VALUE_VERSION_1_0 && !xml::is_valid(static_cast(*chars))) throw XQUERY_EXCEPTION( err::XQST0090, ERROR_PARAMS( static_cast( *chars ), xml::v1_0 ) @@ -431,7 +430,7 @@ } else if (item->getNodeKind() == store::StoreConsts::attributeNode) { -throw XQUERY_EXCEPTION(err::SENR0001, +throw XQUERY_EXCEPTION(err::SENR0001, ERROR_PARAMS(item->getStringValue(), ZED(AttributeNode))); } else @@ -858,7 +857,7 @@ emitter::emit_declaration(); if (ser->omit_xml_declaration == PARAMETER_VALUE_NO) { -tr << "version; +tr << "version_string; switch (ser->encoding) { case PARAMETER_VALUE_UTF_8: case PARAMETER_VALUE_UTF_16: @@ -1218,7 +1217,7 @@ // an element written as or in an XSLT stylesheet MUST // be output as . if (is_html_empty_content_model_element(item) && -ztd::equals(ser->version, "4.0", 3)) +ser->version == PARAMETER_VALUE_VERSION_4_0) tr << ">"; else tr << "/>"; @@ -2004,7 +2003,8 @@ undeclare_prefixes = PARAMETER_VALUE_NO; - version = "1.0"; + version = PARAMETER_VALUE_VERSION_1_0; + version_string = "1.0"; version_has_default_value = true; indent = PARAMETER_VALUE_NO; @@ -2119,8 +2119,18 @@ } else if (!strcmp(aName, "version")) { -version = aValue; +version_string = aValue; version_has_default_value = false; +if (version_string == "1.0") + version = PARAMETER_VALUE_VERSION_1_0; +else if (version_string == "1.1") + version = PARAMETER_VALUE_VERSION_1_1; +else if (version_string == "4.0") + version = PARAMETER_VALUE_VERSION_4_0; +else if (version_string == "4.01") + version = PARAMETER_VALUE_VERSION_4_01; +else + version = PARAMETER_VALUE_VERSION_OTHER; } else if (!strcmp(aName, "doctype-system")) { @@ -2156,51 +2166,52 @@ void serializer::validate_parameters(void) { - if (method == PARAMETER_VALUE_XML || method == PARAMETER_VALUE_XHTML) + if (method == PARAMETER_VALUE_XML || method == PARAMETER_VALUE_XHTML) { // XML-only validation -if (method == PARAMETER_VALUE_XML) +if (method == PARAMETER_VALUE_XML) { - if (version != "1.0" && version != "1.1") + if (version != PARAMETER_VALUE_VERSION_1_0 && version != PARAMETER_VALUE_VERSION_1_1) throw XQUERY_EXCEPTION( err::SESU0013, ERROR_PARAMS( version, "XML", "\"1.0\", \"1.1\"" ) ); } // XHTML-only validation -if (method == PARAMETER_VALUE_XHTML) +if (method == PARAMETER_VALUE_XHTML) { } // XML and XHTML validation -if (omit_xml_declaration == PARAMETER_VALUE_YES) +if (omit_xml_declaration == PARAMETER_VALUE_YES) { if (standalone != PARAMETER_VALUE_OMIT) throw XQUERY_EXCEPTION( err::SEPM0009, ERROR_PARAMS( ZED( SEPM0009_NotOmit ) ) ); - if (version != "1.0" && !doctype_system.empty()) + if (version != PARAMETER_VALUE_VERSION_1_0 && !doctype_system.empty()) throw XQUERY_EXCEPTION( err::SEPM0009, ERROR_PARAMS( ZED( SEPM0009_Not10 ) ) ); } -if (undeclare_prefixes == PARAMETER_VALUE_YES &&
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
Validation queue job markos-scratch-2012-04-25T11-33-08.688Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 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:~nbrinza/zorba/parse-fragment into lp:zorba
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/103453 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-04-25T12-23-00.43Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 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:~nbrinza/zorba/parse-fragment into lp:zorba
The proposal to merge lp:~nbrinza/zorba/parse-fragment into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/103453 -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/103453 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
The attempt to merge lp:~zorba-coders/zorba/markos-scratch 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 markos-scratch-2012-04-25T12-23-00.43Z 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/markos-scratch/+merge/103438 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: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 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/103438 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 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-04-25T13-18-54.951Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 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/sorting-chained-tests into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/sorting-chained-tests/+merge/103440 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/bug-966706 into lp:zorba
Review: Needs Fixing It seems that automatic indexes are not maintained if a node is deleted. The following example shows this: library module: module namespace seq = "http://www.foo.com/default";; 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 iddl = "http://www.zorba-xquery.com/modules/store/static/indexes/ddl";; import module namespace idml = "http://www.zorba-xquery.com/modules/store/static/indexes/dml";; declare namespace an = "http://www.zorba-xquery.com/annotations";; declare collection seq:counters as node()*; declare %an:automatic %an:unique %an:value-equality index seq:counters-by-uri on nodes dml:collection(xs:QName("seq:counters")) by xs:string(@uri) as xs:string; declare %an:sequential function seq:init() { ddl:create(xs:QName("seq:counters")); iddl:create(xs:QName("seq:counters-by-uri")); dml:insert-nodes(xs:QName("seq:counters"), ); }; declare function seq:index () { idml:probe-index-point-value(xs:QName("seq:counters-by-uri"), "1") }; declare %an:sequential function seq:reset () { dml:delete-nodes(idml:probe-index-point-value(xs:QName("seq:counters-by-uri"), "1")); }; main module: import module namespace seq = "http://www.foo.com/default"; at "default.xq"; seq:init(); variable $foo := seq:index(); seq:reset(); variable $bar := seq:index(); $foo, $bar The expected result is '' but should be ''. -- https://code.launchpad.net/~zorba-coders/zorba/bug-966706/+merge/101498 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-04-25T13-18-54.951Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 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 906481] Re: empty elements & xhtml serialization
zorba -z method=xhtml -q '' returns ** 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/906481 Title: empty elements & xhtml serialization Status in Zorba - The XQuery Processor: Invalid Bug description: According to http://www.w3.org/TR/xhtml1/guidelines.html#C_2, the xhtml serialization should output empty tags including a space before the trailing / and the >. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/906481/+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:~nbrinza/zorba/bugs2 into lp:zorba
The proposal to merge lp:~nbrinza/zorba/bugs2 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~nbrinza/zorba/bugs2/+merge/103322 -- https://code.launchpad.net/~nbrinza/zorba/bugs2/+merge/103322 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: Approved => Merged For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/103438 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:~nbrinza/zorba/bugs2 into lp:zorba
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/bugs2/+merge/103322 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 866987] Re: Error for XTDE1310 should contain picture string
** Changed in: zorba Milestone: None => 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/866987 Title: Error for XTDE1310 should contain picture string Status in Zorba - The XQuery Processor: New 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
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-986580 into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103408 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_fots into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/feature_fots into lp:zorba. Requested reviews: Zorba Coders (zorba-coders) Related bugs: Bug #918156 in Zorba: "fots driver for Zorba" https://bugs.launchpad.net/zorba/+bug/918156 Bug #956460 in Zorba: "Zorba FOTS driver: assert-serialization bug" https://bugs.launchpad.net/zorba/+bug/956460 Bug #967173 in Zorba: "Zorba FOTS driver: assert-any-of bug" https://bugs.launchpad.net/zorba/+bug/967173 Bug #973410 in Zorba: "Zorba FOTS driver: assert-deep-eq bug" https://bugs.launchpad.net/zorba/+bug/973410 Bug #973412 in Zorba: "Zorba FOTS driver: assert-permutation bug" https://bugs.launchpad.net/zorba/+bug/973412 Bug #973416 in Zorba: "Zorba FOTS driver: assert-assert bug" https://bugs.launchpad.net/zorba/+bug/973416 Bug #973417 in Zorba: "Zorba FOTS driver: assert-serialization-error bug" https://bugs.launchpad.net/zorba/+bug/973417 Bug #973434 in Zorba: "Zorba FOTS driver: assert-error bug" https://bugs.launchpad.net/zorba/+bug/973434 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature_fots/+merge/103494 Added the Zorba FOTS Driver. -- https://code.launchpad.net/~zorba-coders/zorba/feature_fots/+merge/103494 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/feature_fots into lp:zorba. === added directory 'test/fots_driver' === added file 'test/fots_driver/README.TXT' --- test/fots_driver/README.TXT 1970-01-01 00:00:00 + +++ test/fots_driver/README.TXT 2012-04-25 14:58:22 + @@ -0,0 +1,23 @@ +In order to use the FOTS driver for Zorba, one should follow these steps: + +1) Download the FOTS testsuite from W3C +Since currently there is no official release, a simple CVS get will do: + + $ export CVSROOT=":pserver:anonym...@dev.w3.org:/sources/public" + $ cvs login +(Logging in to anonym...@dev.w3.org) +CVS password: anonymous + $ cvs get 2011/QT3-test-suite + +2) Check out the examples in the ZORBA_FOLDER/test/fots_driver/fots.xq for: +- listing the available test sets in the FOTS (see function fots:list-test-sets) +- running all test cases in the test sets (see fots:run-fots functions) +- running a single test set if you are a module developer (see fots:run-test-set function) +- running a single test case (see fots:test function) + +3) run +./zorba -f +-q ../../test/fots_driver/fots.xq +-e fotsPath:="/home/spungi/work/zorba/w3c_repo/2011/QT3-test-suite" +-o failures.xml +--indent === added file 'test/fots_driver/fots-check.xqy' --- test/fots_driver/fots-check.xqy 1970-01-01 00:00:00 + +++ test/fots_driver/fots-check.xqy 2012-04-25 14:58:22 + @@ -0,0 +1,332 @@ +xquery version "3.0"; + +module namespace check = "http://www.w3.org/2010/09/qt-fots-catalog/check";; +declare namespace err="http://www.w3.org/2005/xqt-errors";; + +import module namespace xqxq= "http://www.zorba-xquery.com/modules/xqxq";; +import module namespace schema = "http://www.zorba-xquery.com/modules/schema";; +import schema namespace output = "http://www.w3.org/2010/xslt-xquery-serialization";; + +import module namespace ser = "http://www.w3.org/2010/09/qt-fots-catalog/serialize"; at "serialize.xqy"; + +declare namespace ann = "http://www.zorba-xquery.com/annotations";; +declare namespace features = "http://www.zorba-xquery.com/options/features";; +declare option features:enable "hof"; + +(:~ + : Errors namespace URI. +:) +declare variable $check:errNS as xs:string := "http://www.w3.org/2010/09/qt-fots-catalog/check";; + +(:~ + : xs:QName with namespace URI="http://www.w3.org/2010/09/qt-fots-catalog/check"; and local name "check:errNA" +:) +declare variable $check:errNA as xs:QName := fn:QName($check:errNS, "check:errNA"); + +declare %private function check:is-value-in-sequence + ( $value as xs:anyAtomicType?, +$seqas xs:anyAtomicType*) as xs:boolean { + $value = $seq + } ; + +(:~ + : The serialization parameters for XML serialization. + :) +declare %private variable $check:serParamXml := + + + + + ; + +declare %private %ann:sequential function check:res( + $resultas item()*, + $expResult as element() +) as xs:string* { + let $test := local-name($expResult) + return switch($test) +case 'all-of' + return +for $tmp in $expResult/* +return check:res($result, $tmp) +case 'any-of' + return + let $results := for $tmp in $expResult/* + return empty(check:res($result, $tmp)) + return + if (check:is-value-in-sequence(fn:true(), (for $result in $results return $result))) + then () + else concat("'any-of' assertion returned: ", + string-join(for $result in $results return fn:string($result),', ')) +case 'assert' + return check:assert($result, $expResult) +case 'assert-count' + return +l
[Zorba-coders] [Bug 918156] Re: fots driver for Zorba
These are the latest conformance numbers reported by the Zorba FOTS driver. ** Attachment added: "Failures.xml report." https://bugs.launchpad.net/zorba/+bug/918156/+attachment/3103580/+files/failures.tar.gz -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/918156 Title: fots driver for Zorba Status in Zorba - The XQuery Processor: In Progress Bug description: There is no FOTS driver for Zorba yet. FOTS stands for XQuery/XPath/XSLT 3.* Test Suite, please see summary at: http://dev.w3.org/cvsweb/~checkout~/2011/QT3-test- suite/Overview.html?rev=1.5;content-type=text%2Fhtml For details about FOTS please see: http://dev.w3.org/cvsweb/2011/QT3 -test-suite/. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/918156/+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_fots into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/feature_fots/+merge/103494 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/bug-928135_Seg_Fault_Python into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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/bug-928135_Seg_Fault_Python into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-928135_Seg_Fault_Python into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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 988372] [NEW] try.zorba-xquery.com does not show information about Zorba
Public bug reported: Now that try.zorba-xquery.com si pointing to: http://www.zorba-xquery.com/html/demo I would have a question/feature request: Can we add information about: - what Zorba version is used (Zorba trunk revision or perhaps a released version of Zorba) - a list of Zorba configuration parameters used (for instance a link to the CMakeCache.txt would help) I think this information is really useful for the users: what do you think? ** Affects: zorba Importance: Medium Assignee: William Candillon (wcandillon) 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/988372 Title: try.zorba-xquery.com does not show information about Zorba Status in Zorba - The XQuery Processor: New Bug description: Now that try.zorba-xquery.com si pointing to: http://www.zorba-xquery.com/html/demo I would have a question/feature request: Can we add information about: - what Zorba version is used (Zorba trunk revision or perhaps a released version of Zorba) - a list of Zorba configuration parameters used (for instance a link to the CMakeCache.txt would help) I think this information is really useful for the users: what do you think? To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/988372/+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: 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/928629 Title: XMLBeans module Status in Zorba - The XQuery Processor: Fix Committed 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 928626] Re: no setting classpath in xsl-fo module
** 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/928626 Title: no setting classpath in xsl-fo module Status in Zorba - The XQuery Processor: Fix Committed 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] [Merge] lp:~zorba-coders/zorba/bug-928135_Seg_Fault_Python into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bug-928135_Seg_Fault_Python-2012-04-25T15-15-04.752Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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/bug-928135_Seg_Fault_Python into lp:zorba
Validation queue job bug-928135_Seg_Fault_Python-2012-04-25T15-15-04.752Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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/bug-928135_Seg_Fault_Python into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-928135_Seg_Fault_Python into lp:zorba has been updated. Status: Approved => Merged For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 -- https://code.launchpad.net/~zorba-coders/zorba/bug-928135_Seg_Fault_Python/+merge/103390 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/fix_bug_962216 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/fix_bug_962216 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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/fix_bug_962216 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/fix_bug_962216-2012-04-25T16-24-21.034Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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/fix_bug_962216 into lp:zorba
The attempt to merge lp:~zorba-coders/zorba/fix_bug_962216 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 fix_bug_962216-2012-04-25T16-24-21.034Z is finished. The final status was: Undetermined, probably an error - please email chill...@lambda.nu with the number of this job! Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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/fix_bug_962216 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/fix_bug_962216 into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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/fix_bug_962216 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/fix_bug_962216 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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/fix_bug_962216 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/fix_bug_962216-2012-04-25T16-40-03.024Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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 862971] Re: No error upon (almost) duplicate function declarations
I cannot reproduce the problem. What I did was add thie follwoing function: declare function ext:bar3($i as xs:integer) { $i + 2 }; in ext_mod.xq file (in test/unit) and then run the external_function unit test. I did get the expected error of duplicate function declaration. Can you provide a complete specific test that shows the 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/862971 Title: No error upon (almost) duplicate function declarations Status in Zorba - The XQuery Processor: Incomplete Bug description: If you declare two XQuery functions that have the same name and signature (arity) in the same file, but the first is declared "external" and the second one isn't, Zorba allows the second declaration. It should be reported as an error. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/862971/+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] [NEW] date:current-dateTime daylight saving
Public bug reported: 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= ** 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/988411 Title: date:current-dateTime daylight saving Status in Zorba - The XQuery Processor: New 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 988412] [NEW] date:current-dateTime daylight saving
Public bug reported: 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= ** Affects: zorba Importance: Undecided Assignee: Matthias Brantner (matthias-brantner) Status: New ** Changed in: zorba Assignee: (unassigned) => Matthias Brantner (matthias-brantner) -- 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: New 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 988417] [NEW] block internal modules
Public bug reported: If on 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 a not resolved via the usual resolution mechanism. ** Affects: zorba Importance: High Assignee: Till Westmann (tillw) 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/988417 Title: block internal modules Status in Zorba - The XQuery Processor: New Bug description: If on 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 a 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 862971] Re: No error upon (almost) duplicate function declarations
// foo.xq module namespace foo = "http://www.foo.com";; declare function foo:f( $i as xs:integer ) external; declare function foo:f( $i as xs:integer ) { $i + 2 }; // test.xq import module namespace foo = "http://www.foo.com"; at "/tmp/foo.xq"; foo:f(1) // result :3,9: Zorba error [zerr:ZXQP0008]: "{http://www.foo.com}f#1": function implementation not found; raised at /Users/pjl/src/flwor/zorba/repo/trunk/zorba/src/compiler/translator/translator.cpp:3328 If you reverse the order of the function declarations (put the external one last), the query runs to completion without error and produces the expected result of "3". In either case, it should instead complain that the same function has been multiply defined. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/862971 Title: No error upon (almost) duplicate function declarations Status in Zorba - The XQuery Processor: Incomplete Bug description: If you declare two XQuery functions that have the same name and signature (arity) in the same file, but the first is declared "external" and the second one isn't, Zorba allows the second declaration. It should be reported as an error. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/862971/+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/bug-986580 into lp:zorba
Review: Needs Fixing Looks good, please do remove the dirent.h copyright/license from NOTICE.txt/xml files since you removed dirent.h. -- https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103408 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/fix_bug_962216 into lp:zorba
The attempt to merge lp:~zorba-coders/zorba/fix_bug_962216 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 fix_bug_962216-2012-04-25T16-40-03.024Z is finished. The final status was: 19 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/fix_bug_962216/+merge/103281 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/fix_bug_962216 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/fix_bug_962216 into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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/fix_bug_962216 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/fix_bug_962216 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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/bug-986580 into lp:zorba
Paul J. Lucas has proposed merging lp:~zorba-coders/zorba/bug-986580 into lp:zorba. Requested reviews: Rodolfo Ochoa (rodolfo-ochoa) Cezar Andrei (cezar-andrei) Related bugs: Bug #986580 in Zorba: "fs::lsdir() improvements" https://bugs.launchpad.net/zorba/+bug/986580 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103520 Better implementation of listing files in a directory. -- https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103520 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'CMakeLists.txt' --- CMakeLists.txt 2012-04-24 12:39:38 + +++ CMakeLists.txt 2012-04-25 17:20:26 + @@ -309,6 +309,13 @@ MESSAGE (STATUS "") # +# shlwapi +# +IF(WIN32) +SET(requiredlibs ${requiredlibs} "shlwapi") +ENDIF(WIN32) + +# # SWIG # IF (NOT ZORBA_SUPPRESS_SWIG) === modified file 'NOTICE.txt' --- NOTICE.txt 2012-04-18 15:34:39 + +++ NOTICE.txt 2012-04-25 17:20:26 + @@ -459,24 +459,6 @@ suitability of this software for any purpose. It is provided "as is" without express or implied warranty. - - -src/util/win32/dirent.h - -Copyright: 2006 Toni Ronkko - - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - ``Software''), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - External libraries used by this project: === modified file 'NOTICE.xml' --- NOTICE.xml 2012-04-24 12:39:38 + +++ NOTICE.xml 2012-04-25 17:20:26 + @@ -423,22 +423,6 @@ without express or implied warranty. - -src/util/win32/dirent.h -2006 Toni Ronkko - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - ``Software''), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - LIBXML2 === modified file 'include/zorba/util/file.h' --- include/zorba/util/file.h 2012-04-24 12:39:38 + +++ include/zorba/util/file.h 2012-04-25 17:20:26 + @@ -85,7 +85,6 @@ void mkdir(); void deep_mkdir(); void rmdir(bool ignore = true); - void lsdir(std::vector &list); #ifndef _WIN32_WCE void chdir(); #endif === modified file 'src/api/fileimpl.cpp' --- src/api/fileimpl.cpp 2012-04-24 12:39:38 + +++ src/api/fileimpl.cpp 2012-04-25 17:20:26 + @@ -29,44 +29,33 @@ #ifdef WIN32 #include #endif -#include #include "util/uri_util.h" #include "zorbaimpl.h" namespace zorba { -DirectoryIteratorImpl::DirectoryIteratorImpl(std::string const& aPath) -{ - theInternalDirIter = new dir_iterator(aPath); -} - -DirectoryIteratorImpl::~DirectoryIteratorImpl() -{ - delete theInternalDirIter; +DirectoryIteratorImpl::DirectoryIteratorImpl(std::string const& aPath) : + theInternalDirIter( aPath.c_str() ) +{ } bool DirectoryIteratorImpl::next(std::string& aPathStr) const { - if (theInternalDirIter->end()) { + if (!theInternalDirIter.next()) { return false; } // get the current pointed entry - aPathStr = *(*theInternalDirIter); - - // advance to the next entry - ++(*theInternalDirIter); + aPathStr = theInternalDirIter.entry_name(); return true; } void DirectoryIteratorImpl::reset() { - std::string aPath = theInternalDirIter->dirpath; - delete theInternalDirIter; - theInternalDirIter = new dir_iterator(aPath); + theInternalDirIter.reset(); } FileImpl::FileImpl(std::string const& path) === modified file 'src/api/fileimpl.h' --- src/api/fileimpl.h 2012-04-24 12:39:38 + +++ src/api/fileimpl.h 2012-04-25 17:20:26 + @@ -20,10 +20,11 @@ #include #include +#include "util/fs_util.h" + namespace zorba { class file; - class dir_iterator; class DiagnosticHandler; @@ -31,14 +32,12 @@ { private: - dir_iterator* theInternalDirIter; + mutable fs::iterator theInternalDirIter; public: DirectoryIteratorImpl(std::string const& aPath); - ~DirectoryIteratorImpl(); - bool nex
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/fix_bug_962216 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/fix_bug_962216-2012-04-25T17-20-57.631Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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/bug-986580 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-986580 into lp:zorba has been updated. Commit Message changed to: Better implementation of listing files in a directory. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103520 -- https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103520 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/bug-986580 into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103520 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/bug-986580 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-986580 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103520 -- https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103520 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 988412] Re: date:current-dateTime daylight saving
** Changed in: zorba Milestone: None => 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/988412 Title: date:current-dateTime daylight saving Status in Zorba - The XQuery Processor: In Progress 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] [Merge] lp:~zorba-coders/zorba/bug-988412 into lp:zorba
Matthias Brantner has proposed merging lp:~zorba-coders/zorba/bug-988412 into lp:zorba. Requested reviews: Matthias Brantner (matthias-brantner) William Candillon (wcandillon) Related bugs: Bug #988412 in Zorba: "date:current-dateTime daylight saving " https://bugs.launchpad.net/zorba/+bug/988412 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-988412/+merge/103523 fix for bug #988412 (date:current-dateTime daylight saving) -- https://code.launchpad.net/~zorba-coders/zorba/bug-988412/+merge/103523 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'ChangeLog' --- ChangeLog 2012-04-24 12:39:38 + +++ ChangeLog 2012-04-25 17:27:26 + @@ -30,6 +30,7 @@ * Fixed performance problem with the findNodeSources function of the no-copy rule * Fixed bug #872234 (prevent a rewritting to take place in case of sequential expr) * Fixed bug #906494 (default compile with D_FILE_OFFSET_BITS=64) + * Fixed bug #988412 (date:current-dateTime daylight saving) * Fixed bug #912586, #912593 and #912722 (assertion failures with lax validation) * Fixed bug #921458 (file:read-text-lines() blocking) * Fixed bug #981405 (do not hoist expr containing try-catch variables out of the === modified file 'modules/com/zorba-xquery/www/modules/datetime.xq.src/datetime.cpp' --- modules/com/zorba-xquery/www/modules/datetime.xq.src/datetime.cpp 2012-04-24 12:39:38 + +++ modules/com/zorba-xquery/www/modules/datetime.xq.src/datetime.cpp 2012-04-25 17:27:26 + @@ -32,21 +32,23 @@ long& timezone, unsigned short& millitm) { + int lSummerTimeShift = 0; #if defined (WIN32) struct _timeb timebuffer; _ftime_s( &timebuffer ); localtime_s(&gmtm, &timebuffer.time); //thread safe localtime on Windows + lSummerTimeShift = -timebuffer.timezone * 60; + if (gmtm.tm_isdst != 0) +lSummerTimeShift += 3600; #else struct timeb timebuffer; ftime( &timebuffer ); localtime_r(&timebuffer.time, &gmtm); //thread safe localtime on Linux + localtime_r(&timebuffer.time, &gmtm); //thread safe localtime on Linux + lSummerTimeShift = gmtm.tm_gmtoff; #endif - int lSummerTimeShift = 0; - if (gmtm.tm_isdst != 0) -lSummerTimeShift = 3600; - - timezone = -timebuffer.timezone * 60 + lSummerTimeShift; // in seconds + timezone = lSummerTimeShift; // in seconds millitm = timebuffer.millitm; } -- 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/bug-988412 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-988412 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-988412/+merge/103523 -- https://code.launchpad.net/~zorba-coders/zorba/bug-988412/+merge/103523 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 988412] Re: date:current-dateTime daylight saving
** Changed in: zorba Status: New => In Progress ** Changed in: zorba Importance: Undecided => 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/988412 Title: date:current-dateTime daylight saving Status in Zorba - The XQuery Processor: In Progress 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 988412] Re: date:current-dateTime daylight saving
** Branch linked: lp:~zorba-coders/zorba/bug-988412 -- 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: In Progress 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
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-988412 into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-988412/+merge/103523 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/bug-986580 into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-986580/+merge/103520 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/fix_bug_962216 into lp:zorba
The attempt to merge lp:~zorba-coders/zorba/fix_bug_962216 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 fix_bug_962216-2012-04-25T17-20-57.631Z is finished. The final status was: 19 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/fix_bug_962216/+merge/103281 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/fix_bug_962216 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/fix_bug_962216 into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_962216/+merge/103281 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/bug-988412 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bug-988412-2012-04-25T17-54-01.991Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/bug-988412/+merge/103523 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/bug-988412 into lp:zorba
Validation queue job bug-988412-2012-04-25T17-54-01.991Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/bug-988412/+merge/103523 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