[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-1180220 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-1180220 into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 -- https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 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-1180220 into lp:zorba
The attempt to merge lp:~zorba-coders/zorba/bug-1180220 into lp:zorba failed. Below is the output from the failed tests. CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:281 (message): Validation queue job bug-1180220-2013-06-01T00-45-21.872Z 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/bug-1180220/+merge/166919 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-1180220 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bug-1180220-2013-06-01T00-45-21.872Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 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-1180220 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-1180220 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 -- https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 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-1180220 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-1180220 into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 -- https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 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-1180220 into lp:zorba
The attempt to merge lp:~zorba-coders/zorba/bug-1180220 into lp:zorba failed. Below is the output from the failed tests. CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:281 (message): Validation queue job bug-1180220-2013-06-01T00-03-25.182Z 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/bug-1180220/+merge/166919 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-1180220 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bug-1180220-2013-06-01T00-03-25.182Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 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-1180220 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug-1180220 into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 -- https://code.launchpad.net/~zorba-coders/zorba/bug-1180220/+merge/166919 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:~paul-lucas/zorba/pjl-misc into lp:zorba
The proposal to merge lp:~paul-lucas/zorba/pjl-misc into lp:zorba has been updated. Description changed to: Removed erroneous (?) ZORBA_ASSERT. Other minor fixes. For more details, see: https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/166601 -- https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/166601 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:~paul-lucas/zorba/pjl-misc into lp:zorba
The proposal to merge lp:~paul-lucas/zorba/pjl-misc into lp:zorba has been updated. Commit Message changed to: Removed erroneous (?) ZORBA_ASSERT. Other minor fixes. For more details, see: https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/166601 -- https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/166601 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-1181360 into lp:zorba
Luis Rodriguez Gonzalez has proposed merging lp:~zorba-coders/zorba/bug-1181360 into lp:zorba. Requested reviews: Luis Rodriguez Gonzalez (kuraru) Cezar Andrei (cezar-andrei) Related bugs: Bug #1181360 in Zorba: "validation leaks exception" https://bugs.launchpad.net/zorba/+bug/1181360 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-1181360/+merge/166890 -- https://code.launchpad.net/~zorba-coders/zorba/bug-1181360/+merge/166890 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'src/diagnostics/diagnostic_en.xml' --- src/diagnostics/diagnostic_en.xml 2013-05-24 22:52:47 + +++ src/diagnostics/diagnostic_en.xml 2013-05-31 20:35:39 + @@ -3676,6 +3676,10 @@ document node has more than one element + + + document node doesn't contain any elements, must contain exactly one element + effective boolean value not defined for sequence of more than one item that starts with "$5" === modified file 'src/diagnostics/pregenerated/dict_en.cpp' --- src/diagnostics/pregenerated/dict_en.cpp 2013-05-24 22:52:47 + +++ src/diagnostics/pregenerated/dict_en.cpp 2013-05-31 20:35:39 + @@ -610,6 +610,7 @@ { "~DivisionNoINF", "division can not have +-INF dividend" }, { "~DivisionNoNaN", "division can not involve NaN" }, { "~DocNodeMultipleElements", "document node has more than one element" }, + { "~DocNodeNoElements", "document node doesn't contain any elements, must contain exactly one element" }, { "~EBVNotDefSeq_5", "effective boolean value not defined for sequence of more than one item that starts with \"$5\"" }, { "~EffectiveBooleanValue", "effective boolean value" }, { "~ElementName", "element name" }, === modified file 'src/diagnostics/pregenerated/dict_zed_keys.h' --- src/diagnostics/pregenerated/dict_zed_keys.h 2013-05-16 22:26:07 + +++ src/diagnostics/pregenerated/dict_zed_keys.h 2013-05-31 20:35:39 + @@ -223,6 +223,7 @@ #define ZED_DivisionNoINF "~DivisionNoINF" #define ZED_DivisionNoNaN "~DivisionNoNaN" #define ZED_DocNodeMultipleElements "~DocNodeMultipleElements" +#define ZED_DocNodeNoElements "~DocNodeNoElements" #define ZED_EBVNotDefSeq_5 "~EBVNotDefSeq_5" #define ZED_EffectiveBooleanValue "~EffectiveBooleanValue" #define ZED_ElementName "~ElementName" === modified file 'src/types/schema/EventSchemaValidator.cpp' --- src/types/schema/EventSchemaValidator.cpp 2013-04-24 21:40:21 + +++ src/types/schema/EventSchemaValidator.cpp 2013-05-31 20:35:39 + @@ -163,7 +163,7 @@ StrX typeName(theSchemaValidatorFilter->getTypeName()); StrX typeUri(theSchemaValidatorFilter->getTypeUri()); - //cout << "esv - : getTypeQName: " << typeName << " @ " << typeUri <<"\n"; std::cout.flush(); + //std::cout << "esv - : getTypeQName: " << typeName << " @ " << typeUri <<"\n"; std::cout.flush(); store::Item_t typeQName; GENV_ITEMFACTORY->createQName(typeQName, === modified file 'src/types/schema/SchemaValidatorFilter.cpp' --- src/types/schema/SchemaValidatorFilter.cpp 2013-04-24 21:40:21 + +++ src/types/schema/SchemaValidatorFilter.cpp 2013-05-31 20:35:39 + @@ -1069,7 +1069,7 @@ if(fValidate || theXsiType) { -//cout << " - getTypeQName: theElemDepth:" << theElemDepth << "\n"; +//std::cout << " - getTypeQName: theElemDepth:" << theElemDepth << "\n"; if (theProcessorStipulatedTypeName && theElemDepth == 0 ) { typeName = theProcessorStipulatedTypeName; @@ -1077,6 +1077,7 @@ else { const ElemStack::StackElem* topElem = fElemStack.topElement(); + DatatypeValidator *currentDV = 0; if(topElem->fThisElement->isDeclared() || theXsiType // this is when there is no schema import but xsiType is used @@ -1084,7 +1085,6 @@ { ComplexTypeInfo *currentTypeInfo = ((XercSchemaValidator*)fValidator)-> getCurrentTypeInfo(); - if(currentTypeInfo) { typeName = currentTypeInfo->getTypeLocalName(); === modified file 'src/types/schema/validate.cpp' --- src/types/schema/validate.cpp 2013-05-21 21:44:25 + +++ src/types/schema/validate.cpp 2013-05-31 20:35:39 + @@ -52,6 +52,7 @@ #include "context/namespace_context.h" #include "diagnostics/assert.h" +#include "diagnostics/util_macros.h" #include "zorba/store_consts.h" //using namespace std; @@ -92,7 +93,6 @@ } } - bool Validator::realValidationValue( store::Item_t& result, const store::Item_t& sourceNode, @@ -125,6 +125,7 @@ if ( child->isNode() && child->getNodeKind() == store::StoreConsts::elementNode) { + std::cout << "The node is a elementNode" << std::endl; if (nr_child_elements) { throw XQUERY_EXCEPTION( @@ -136,6 +137,15 @@ nr_child_elements++; } } +// if nr_child_elements == 0 thow an error since it means there isn't any child element +if(nr_child_elem
[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/166866 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/166866 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-2013-05-31T18-05-56.602Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/166866 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-2013-05-31T18-05-56.602Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/166866 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/166866 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/166866 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/166866 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. Commit message: fixes for bugs 1186114 and 1186110 Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/166866 fixes for bugs 1186114 and 1186110 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/166866 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'src/compiler/translator/translator.cpp' --- src/compiler/translator/translator.cpp 2013-05-30 22:25:30 + +++ src/compiler/translator/translator.cpp 2013-05-31 17:59:29 + @@ -1638,7 +1638,7 @@ // for $fi in argExpr flwor_expr* coersionFlwor = CREATE(flwor)(theRootSctx, theUDF, loc); - for_clause* fiClause = wrap_in_forclause(argExpr, NULL); + for_clause* fiClause = wrap_in_forclause(argExpr, false); var_expr* fiVar = fiClause->get_var(); coersionFlwor->add_clause(fiClause); === modified file 'src/store/naive/simple_store.cpp' --- src/store/naive/simple_store.cpp 2013-02-26 04:12:43 + +++ src/store/naive/simple_store.cpp 2013-05-31 17:59:29 + @@ -92,8 +92,8 @@ std::cerr << "Reference: " << (*iter).second << "is still in the nodes to references map" << std::endl; } - ZORBA_FATAL(0, theNodeToReferencesMap.size() + - " node references still in the nodes to references map"); + + ZORBA_FATAL(0, theNodeToReferencesMap.size() << " node references still in the nodes to references map"); } if (theReferencesToNodeMap.size() > 0) @@ -105,8 +105,8 @@ std::cerr << "Reference: " << (*iter).first << "is still in the references to nodes map" << std::endl; } - ZORBA_FATAL(0, theReferencesToNodeMap.size() + - " node references still in the references to nodes map"); + + ZORBA_FATAL(0, theNodeToReferencesMap.size() << " node references still in the references to nodes map"); } } } -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp