[Zorba-coders] [Bug 1014984] [NEW] Website needs front-page news section
Public bug reported: http://www.zorba-xquery.com/ needs a separate "News" section where we can link to release announcements, blog entries, and so on. ** Affects: zorba Importance: Medium Assignee: William Candillon (wcandillon) Status: Confirmed ** Changed in: zorba Assignee: (unassigned) => William Candillon (wcandillon) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1014984 Title: Website needs front-page news section Status in Zorba - The XQuery Processor: Confirmed Bug description: http://www.zorba-xquery.com/ needs a separate "News" section where we can link to release announcements, blog entries, and so on. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1014984/+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 1014983] [NEW] Zorba website must publish API docs
Public bug reported: Currently the Zorba documentation on http://www.zorba-xquery.com/ mentions that C++, C, Java, XQJ, PHP, Python, and Ruby APIs exist. As of Zorba 2.5 we provide full API documentation for these (possibly not C), so we need to make it easy for website visitors to find and use this documentation. Rodolfo was primarily involved in creating the language-binding documentation. ** Affects: zorba Importance: Medium Assignee: William Candillon (wcandillon) Status: New ** Changed in: zorba Assignee: (unassigned) => William Candillon (wcandillon) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1014983 Title: Zorba website must publish API docs Status in Zorba - The XQuery Processor: New Bug description: Currently the Zorba documentation on http://www.zorba-xquery.com/ mentions that C++, C, Java, XQJ, PHP, Python, and Ruby APIs exist. As of Zorba 2.5 we provide full API documentation for these (possibly not C), so we need to make it easy for website visitors to find and use this documentation. Rodolfo was primarily involved in creating the language-binding documentation. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1014983/+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 1014981] [NEW] Make default thesaurus available as Ubuntu package
Public bug reported: Right now, if you install the Zorba 2.5 Ubuntu packages, there is no default thesaurus. In fact, the only way to get this thesaurus is to build Zorba from source and execute a custom shell script, then manually copy the file into place. We should either package the thesaurus file (wordnet-en.zth) with the primary Zorba Ubuntu package, or (probably better) provide a separate zorba-default-thesaurus Ubuntu package since this file is 6 megs. ** Affects: zorba Importance: High Assignee: Juan Zacarias (juan457) Status: Confirmed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1014981 Title: Make default thesaurus available as Ubuntu package Status in Zorba - The XQuery Processor: Confirmed Bug description: Right now, if you install the Zorba 2.5 Ubuntu packages, there is no default thesaurus. In fact, the only way to get this thesaurus is to build Zorba from source and execute a custom shell script, then manually copy the file into place. We should either package the thesaurus file (wordnet-en.zth) with the primary Zorba Ubuntu package, or (probably better) provide a separate zorba-default-thesaurus Ubuntu package since this file is 6 megs. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1014981/+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 1014979] [NEW] Make thesaurus optional component on Windows
Public bug reported: As of Zorba 2.5, the default Wordnet thesaurus (wordnet-en.zth) is included in the Windows installer, and is installed as part of core Zorba. It should continue to be installed going forward; however, it would be nice if it were a selectable component, much like the non-core modules are, since it takes up 6 megs of space on disk. ** Affects: zorba Importance: Medium Assignee: Juan Zacarias (juan457) Status: Confirmed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1014979 Title: Make thesaurus optional component on Windows Status in Zorba - The XQuery Processor: Confirmed Bug description: As of Zorba 2.5, the default Wordnet thesaurus (wordnet-en.zth) is included in the Windows installer, and is installed as part of core Zorba. It should continue to be installed going forward; however, it would be nice if it were a selectable component, much like the non-core modules are, since it takes up 6 megs of space on disk. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1014979/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1014977] [NEW] Feature: C# language binding
Public bug reported: We should support C# language on Windows. As yet we do not believe we need to also support C# using Mono on other platforms. ** Affects: zorba Importance: Medium Assignee: Rodolfo Ochoa (rodolfo-ochoa) Status: Confirmed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1014977 Title: Feature: C# language binding Status in Zorba - The XQuery Processor: Confirmed Bug description: We should support C# language on Windows. As yet we do not believe we need to also support C# using Mono on other platforms. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1014977/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1014975] Re: Reworked Plan serializer
Markos, is this feature in fact complete? I'm not sure I have the whole story. Also, if there is a Launchpad branch for these changes, please associate it with this bug or let me know what branch it is. Thanks. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1014975 Title: Reworked Plan serializer Status in Zorba - The XQuery Processor: Confirmed Bug description: This is a tracking bug for a new feature. Markos has rewritten the plan serializer; I believe that work is complete but not yet merged. Matthias is writing tests and use cases in preparation to merge this onto Zorba trunk. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1014975/+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 1014975] [NEW] Reworked Plan serializer
Public bug reported: This is a tracking bug for a new feature. Markos has rewritten the plan serializer; I believe that work is complete but not yet merged. Matthias is writing tests and use cases in preparation to merge this onto Zorba trunk. ** Affects: zorba Importance: High Assignee: Matthias Brantner (matthias-brantner) Status: Confirmed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1014975 Title: Reworked Plan serializer Status in Zorba - The XQuery Processor: Confirmed Bug description: This is a tracking bug for a new feature. Markos has rewritten the plan serializer; I believe that work is complete but not yet merged. Matthias is writing tests and use cases in preparation to merge this onto Zorba trunk. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1014975/+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 867105] Re: 60 Higher Order Functions tests fail in XQuery 3.0
Status from Nicolae as of Jun 12: W3C testsuite tests. To fix those, the following would need to be done: a) HOF coercion: automatic wrapping of HOFs when they are passed as parameters to ensure type checking -- this is implemented. b) Local variables scoping and binding: this appears to be the largest task. -- I have partially implemented it -- some tests are passing. This is the task I'm currently working on. c) Partial apply. -- Not implemented yet. It should be easier to do once b) is fully finished. d) The rest of tests. There are a few small issues that need to be fixed to have the rest of the tests passing. -- I have fixed some of those, e.g. the serializer no longer crashes when function items are encountered, several crashes in the typesystem are fixed. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867105 Title: 60 Higher Order Functions tests fail in XQuery 3.0 Status in Zorba - The XQuery Processor: New Bug description: The conformance reports for XQuery 3.0 can be found at : http://www.zorba-xquery.org/dokuwiki/doku.php?id=conformance_xquery_3.0 Can you please take a look and mention if any of them should be fixed for Zorba 2.0 release. Thanks, Sorin To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867105/+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 1001474] Re: Need Windows validation queue
** Branch linked: lp:~zorba-coders/zorba/bug1001474 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1001474 Title: Need Windows validation queue Status in Zorba - The XQuery Processor: New Bug description: In order to truly support our goal of having the trunk always be releasable, we need the validation queue to build and test all changes on Windows as well. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1001474/+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/jsoniq into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/jsoniq into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 -- https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/jsoniq into 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/jsoniq into lp:zorba
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 5 Pending. -- https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/jsoniq into 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/jsoniq into lp:zorba
Validation queue job jsoniq-2012-06-18T16-09-08.381Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/jsoniq into 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/jsoniq into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/jsoniq into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 -- https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/jsoniq into 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/jsoniq into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/jsoniq into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 -- https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/jsoniq into 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/jsoniq into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/jsoniq into lp:zorba has been updated. Commit Message changed to: Enhancements in JSONiq. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 -- https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/jsoniq into 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/jsoniq into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/jsoniq-2012-06-18T16-09-08.381Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/jsoniq into 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/jsoniq into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/jsoniq into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 -- https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171 Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/jsoniq into 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/builtin-qnames-in-pool-fix into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/builtin-qnames-in-pool-fix into lp:zorba has been updated. Status: Approved => Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/builtin-qnames-in-pool-fix/+merge/110805 -- https://code.launchpad.net/~zorba-coders/zorba/builtin-qnames-in-pool-fix/+merge/110805 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/builtin-qnames-in-pool-fix 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/builtin-qnames-in-pool-fix/+merge/110805 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/builtin-qnames-in-pool-fix into lp:zorba
Validation queue job builtin-qnames-in-pool-fix-2012-06-18T12-47-01.732Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/builtin-qnames-in-pool-fix/+merge/110805 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/builtin-qnames-in-pool-fix into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/builtin-qnames-in-pool-fix-2012-06-18T12-47-01.732Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/builtin-qnames-in-pool-fix/+merge/110805 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/builtin-qnames-in-pool-fix into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/builtin-qnames-in-pool-fix into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/builtin-qnames-in-pool-fix/+merge/110805 -- https://code.launchpad.net/~zorba-coders/zorba/builtin-qnames-in-pool-fix/+merge/110805 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/builtin-qnames-in-pool-fix into lp:zorba
Ghislain Fourny has proposed merging lp:~zorba-coders/zorba/builtin-qnames-in-pool-fix into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) Matthias Brantner (matthias-brantner) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/builtin-qnames-in-pool-fix/+merge/110805 The builtin schema type names, in the store, are now created directly from the pool (this is to prevent a cyclic dependency if another item factory than the simple item factory needs to access the store to produce the QNames, because at this point the store has not been initialized yet). -- https://code.launchpad.net/~zorba-coders/zorba/builtin-qnames-in-pool-fix/+merge/110805 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'src/store/naive/store.cpp' --- src/store/naive/store.cpp 2012-06-15 21:31:03 + +++ src/store/naive/store.cpp 2012-06-18 12:46:32 + @@ -185,77 +185,73 @@ void Store::initTypeNames() { const char* ns = XS_URI; - BasicItemFactory* f = static_cast(theItemFactory); theSchemaTypeNames.resize(store::XS_LAST); #ifdef ZORBA_WITH_JSON - f->createQName(JDM_NULL_QNAME, JDM_URI, "jdm", "null"); - f->createQName(JDM_OBJECT_QNAME, JDM_URI, "jdm", "object"); - f->createQName(JDM_ARRAY_QNAME, JDM_URI, "jdm", "array"); + JDM_NULL_QNAME = theQNamePool->insert(JDM_URI, "jdm", "null"); + JDM_OBJECT_QNAME = theQNamePool->insert(JDM_URI, "jdm", "object"); + JDM_ARRAY_QNAME = theQNamePool->insert(JDM_URI, "jdm", "array"); #endif - f->createQName(XS_UNTYPED_QNAME, ns, "xs", "untyped"); - - f->createQName(XS_ANY_QNAME, ns, "xs", "anyType"); - - f->createQName(XS_ANY_SIMPLE_QNAME, ns, "xs", "anySimpleType"); - - f->createQName(theSchemaTypeNames[store::XS_ANY_ATOMIC], ns, "xs", "anyAtomicType"); - - f->createQName(theSchemaTypeNames[store::XS_UNTYPED_ATOMIC], ns, "xs", "untypedAtomic"); - - f->createQName(theSchemaTypeNames[store::XS_ANY_URI],ns, "xs", "anyURI"); - - f->createQName(theSchemaTypeNames[store::XS_QNAME], ns, "xs", "QName"); - - f->createQName(theSchemaTypeNames[store::XS_NOTATION], ns, "xs", "NOTATION"); - - f->createQName(theSchemaTypeNames[store::XS_STRING], ns, "xs", "string"); - f->createQName(theSchemaTypeNames[store::XS_NORMALIZED_STRING], ns, "xs", "normalizedString"); - f->createQName(theSchemaTypeNames[store::XS_TOKEN], ns, "xs", "token"); - f->createQName(theSchemaTypeNames[store::XS_NMTOKEN],ns, "xs", "NMTOKEN"); - f->createQName(theSchemaTypeNames[store::XS_LANGUAGE], ns, "xs", "language"); - f->createQName(theSchemaTypeNames[store::XS_NAME], ns, "xs", "Name"); - f->createQName(theSchemaTypeNames[store::XS_NCNAME], ns, "xs", "NCName"); - f->createQName(theSchemaTypeNames[store::XS_ID], ns, "xs", "ID"); - f->createQName(theSchemaTypeNames[store::XS_IDREF], ns, "xs", "IDREF"); - f->createQName(theSchemaTypeNames[store::XS_ENTITY], ns, "xs", "ENTITY"); - - f->createQName(theSchemaTypeNames[store::XS_DATETIME], ns, "xs", "dateTime"); - f->createQName(theSchemaTypeNames[store::XS_DATE], ns, "xs", "date"); - f->createQName(theSchemaTypeNames[store::XS_TIME], ns, "xs", "time"); - f->createQName(theSchemaTypeNames[store::XS_GYEAR_MONTH],ns, "xs", "gYearMonth"); - f->createQName(theSchemaTypeNames[store::XS_GYEAR], ns, "xs", "gYear"); - f->createQName(theSchemaTypeNames[store::XS_GMONTH_DAY], ns, "xs", "gMonthDay"); - f->createQName(theSchemaTypeNames[store::XS_GDAY], ns, "xs", "gDay"); - f->createQName(theSchemaTypeNames[store::XS_GMONTH], ns, "xs", "gMonth"); - - f->createQName(theSchemaTypeNames[store::XS_DURATION], ns, "xs", "duration"); - f->createQName(theSchemaTypeNames[store::XS_DT_DURATION],ns, "xs", "dayTimeDuration"); - f->createQName(theSchemaTypeNames[store::XS_YM_DURATION],ns, "xs", "yearMonthDuration"); - - f->createQName(theSchemaTypeNames[store::XS_FLOAT], ns, "xs", "float"); - f->createQName(theSchemaTypeNames[store::XS_DOUBLE], ns, "xs", "double"); - f->createQName(theSchemaTypeNames[store::XS_DECIMAL],ns, "xs", "decimal"); - f->createQName(theSchemaTypeNames[store::XS_INTEGER],ns, "xs", "integer"); - f->createQName(theSchemaTypeNames[store::XS_NON_POSITIVE_INTEGER], ns, "xs", "nonPositiveInteger"); - f->createQName(theSchemaTypeNames[store::XS_NON_NEGATIVE_INTEGER], ns, "xs", "nonNegativeInteger"); - f->createQName(theSchemaTypeNames[store::XS_NEGATIVE_INTEGER], ns, "xs", "negativeInteger"); - f->createQName(theSchemaTypeNames[store::XS_POSITIVE_INTEGER], ns, "xs", "positiveInteger"); - - f->createQName(theSchemaTypeNames[store::XS_LONG], ns, "xs", "long"); - f->createQName(theSchemaTypeNames[store::XS_INT],ns, "xs", "int"); - f->createQName(theSchemaTypeNames[store::XS_SHORT], ns, "xs", "short"); - f->createQName(theSchemaTypeNam
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-971782 into lp:zorba
I think that this bug was marked as "Fix Released" because it was raised against Sausalito, and this code is already in Sausalito. -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 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-971782 into lp:zorba
I think that the existing code could lead the tree structure (attribute/element types) to an inconsistent state that led to windows crashes. As far as I can remember, it was originally because of QName comparison using == instead of equals. This merge proposal (i) brings more encapsulation to the node/tree classes by enforcing some invariants on accessible states w.r.t. types (in debug mode) to be on the safe side and (ii) fixes the code so that these invariants always hold outside of the type-handling functions. In particular, invariants should hold before and after calling setTree, so that the the consumer of this function does not need to worry about it. -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 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/no-expr-serialization into lp:zorba
This should be fixed now, and I have added a small test in test/unit/test_static_context.cpp > I have done some testing of this branch. If merged into Sausalito, I get an > assertion failure if a function is disabled in the static context. The > assertion fails while trying to serialize a disabled function. > > (gdb) where > #0 0xb4c600e5 in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6 > #1 0xb6fee1ca in zorba::assertion_failed (condition=0xb791ec8f > "!isBuiltin()", file=0xb791ec44 > "/home/mbrantner/sausalito/sandbox/runtime/zorba/src/functions/function.cpp", > line=68, msg=0x0) > at > /home/mbrantner/sausalito/sandbox/runtime/zorba/src/diagnostics/assert.cpp:72 > #2 0xb7178693 in zorba::function::serialize (this=0x810e4e0, ar=...) at > /home/mbrantner/sausalito/sandbox/runtime/zorba/src/functions/function.cpp:68 > #3 0xb717857e in zorba::function::serialize_internal (this=0x810e4e0, ar=...) > at > /home/mbrantner/sausalito/sandbox/runtime/zorba/src/functions/function.cpp:54 > #4 0xb6fbd5e6 in zorba::serialization::operator& (ar=..., > obj=@0xbfffe82c) at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/zorbas > erialization/serialize_template_types.h:139 > #5 0xb6fb4422 in zorba::serialization::operator& (ar=..., > obj=...) at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/zorbaserializa > tion/serialize_template_types.h:268 > #6 0xb6fa6923 in zorba::FunctionInfo::serialize (this=0x81459e8, ar=...) at / > home/mbrantner/sausalito/sandbox/runtime/zorba/src/context/static_context.cpp: > 163 > #7 0xb6fa6588 in zorba::FunctionInfo::serialize_internal (this=0x81459e8, > ar=...) at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/context/static_ > context.cpp:95 > #8 0xb6fc06e2 in zorba::serialization::operator& > (ar=..., obj=...) at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/zorba > serialization/serialize_template_types.h:85 > #9 0xb6fb774f in zorba::serialization::operator& zorba::FunctionInfo, zorba::HashMapItemPointerCmp> (ar=..., obj=@0x8131394) > at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/zorbaserialization/ > serialize_template_types.h:763 > #10 0xb6fa93ad in zorba::static_context::serialize (this=0x8131308, ar=...) at > /home/mbrantner/sausalito/sandbox/runtime/zorba/src/context/static_context.cpp > :982 > #11 0xb6fa663c in zorba::static_context::serialize_internal (this=0x8131308, > ar=...) at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/context/static_ > context.cpp:101 > #12 0xb6ccfe29 in zorba::serialization::operator& > (ar=..., obj=@0xbfffec3c) at /home/mbrantner/sausalito/sandbox/runtime/zorba/s > rc/zorbaserialization/serialize_template_types.h:139 > #13 0xb6ccd41f in zorba::serialization::operator& > (ar=..., obj=...) at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/zorba > serialization/serialize_template_types.h:268 > #14 0xb6f19b85 in zorba::serialization::operator& zorba::rchandle, std::less > (ar=..., > obj=...) > at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/zorbaserialization/ > serialize_template_types.h:636 > #15 0xb6f19609 in zorba::CompilerCB::serialize (this=0x8131680, ar=...) at /ho > me/mbrantner/sausalito/sandbox/runtime/zorba/src/compiler/api/compilercb.cpp:1 > 88 > #16 0xb6f18ee2 in zorba::CompilerCB::serialize_internal (this=0x8131680, > ar=...) at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/compiler/api/co > mpilercb.cpp:36 > #17 0xb6cccb98 in zorba::serialization::operator& (ar=..., > obj=@0x8149d14) at /home/mbrantner/sausalito/sandbox/runtime/zorba/src/zorbase > rialization/serialize_template_types.h:139 > #18 0xb6cc6343 in zorba::XQueryImpl::serialize (this=0x8149cf8, ar=...) at > /home/mbrantner/sausalito/sandbox/runtime/zorba/src/api/xqueryimpl.cpp:200 > #19 0xb6cc8f47 in zorba::XQueryImpl::saveExecutionPlan (this=0x8149cf8, > os=..., archive_format=ZORBA_USE_BINARY_ARCHIVE, > save_options=SAVE_UNUSED_FUNCTIONS) at > /home/mbrantner/sausalito/sandbox/runtime/zorba/src/api/xqueryimpl.cpp:940 > > I'm not sure if the problem still exists because disabling of functions has > been changed in the Zorba trunk. -- https://code.launchpad.net/~zorba-coders/zorba/no-expr-serialization/+merge/104856 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:~davidagraf/zorba/trace_without_debug_info into lp:zorba
- Extended serializer to print attributes - storing serializer in the trace state object -- https://code.launchpad.net/~davidagraf/zorba/trace_without_debug_info/+merge/110377 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