[Zorba-coders] [Bug 952829] [NEW] Nondeterministic annotation doesn't seem to be checked

2012-03-12 Thread William Candillon
Public bug reported:

Nondeterministic annotation doesn't seem to be checked.
xqdoc:xqdoc() is documented as nondeterministic: 
http://www.zorba-xquery.com/html/modules/zorba/xqdoc/xqdoc
However the following query works fine:
http://www.zorba-xquery.com/html/demo#fH5/YOkiBfsXkzjq8DBGLBKhT5Y=

It seems that the excepted result should have been an error, it was
certainly the case in previous zorba versions.

** 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/952829

Title:
  Nondeterministic annotation doesn't seem to be checked

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Nondeterministic annotation doesn't seem to be checked.
  xqdoc:xqdoc() is documented as nondeterministic: 
http://www.zorba-xquery.com/html/modules/zorba/xqdoc/xqdoc
  However the following query works fine:
  http://www.zorba-xquery.com/html/demo#fH5/YOkiBfsXkzjq8DBGLBKhT5Y=

  It seems that the excepted result should have been an error, it was
  certainly the case in previous zorba versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/952829/+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 952829] Re: Nondeterministic annotation doesn't seem to be checked

2012-03-12 Thread William Candillon
I assign it to you for dispatching.

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/952829

Title:
  Nondeterministic annotation doesn't seem to be checked

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Nondeterministic annotation doesn't seem to be checked.
  xqdoc:xqdoc() is documented as nondeterministic: 
http://www.zorba-xquery.com/html/modules/zorba/xqdoc/xqdoc
  However the following query works fine:
  http://www.zorba-xquery.com/html/demo#fH5/YOkiBfsXkzjq8DBGLBKhT5Y=

  It seems that the excepted result should have been an error, it was
  certainly the case in previous zorba versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/952829/+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 952829] Re: Nondeterministic annotation doesn't seem to be checked

2012-03-12 Thread Matthias Brantner
I verified the problem. It only appears in Release mode (not even in
RelWithDebInfo)

** Changed in: zorba
 Assignee: Matthias Brantner (matthias-brantner) => Markos Zaharioudakis 
(markos-za)

** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
Milestone: None => 2.2

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/952829

Title:
  Nondeterministic annotation doesn't seem to be checked

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Nondeterministic annotation doesn't seem to be checked.
  xqdoc:xqdoc() is documented as nondeterministic: 
http://www.zorba-xquery.com/html/modules/zorba/xqdoc/xqdoc
  However the following query works fine:
  http://www.zorba-xquery.com/html/demo#fH5/YOkiBfsXkzjq8DBGLBKhT5Y=

  It seems that the excepted result should have been an error, it was
  certainly the case in previous zorba versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/952829/+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-952829 into lp:zorba

2012-03-12 Thread Matthias Brantner
Matthias Brantner has proposed merging lp:~zorba-coders/zorba/bug-952829 into 
lp:zorba.

Requested reviews:
  William Candillon (wcandillon)
Related bugs:
  Bug #952829 in Zorba: "Nondeterministic annotation doesn't seem to be checked"
  https://bugs.launchpad.net/zorba/+bug/952829

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065

Fixed bug #952829 (Nondeterministic annotation doesn't seem to be checked). 
Internally, the xqdoc:content wasn't annotated as nondeterministic.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'ChangeLog'
--- ChangeLog	2012-03-11 03:23:49 +
+++ ChangeLog	2012-03-12 17:15:25 +
@@ -13,6 +13,7 @@
   * Added truncate function to the collection modules for efficient deletion of all nodes in a collection.
   * Fixed bug 917923 (bug in copying outer var values into the eval dynamic context)
   * Fixed bug 867509 (Can not handle largest xs:unsignedLong values)
+  * Fixed bug 952829 (Nondeterministic annotation doesn't seem to be checked)
   * Fixed bug 924063 (sentence is incorrectly incremented when token characters end without sentence terminator)
   * New URI module providing percent-decoding functions.
   * Optimization: change the implementation of the free-vars annotation and got rid

=== modified file 'bin/zorbacmd.cpp'
--- bin/zorbacmd.cpp	2012-02-28 20:45:43 +
+++ bin/zorbacmd.cpp	2012-03-12 17:15:25 +
@@ -197,8 +197,8 @@
   zorba::DynamicContext* aDynamicContext,
   const ZorbaCMDProperties& aProperties)
 {
-  XmlDataManager* lXmlMgr = zorba->getXmlDataManager();
   if ( aProperties.contextItem().size() != 0 ) {
+XmlDataManager* lXmlMgr = zorba->getXmlDataManager();
 std::ifstream lInStream(aProperties.contextItem().c_str());
 Item lDoc = lXmlMgr->parseXML(lInStream);
 aDynamicContext->setContextItem(lDoc);
@@ -214,6 +214,7 @@
 {
   if ((*lIter).inline_file)
   {
+XmlDataManager* lXmlMgr = zorba->getXmlDataManager();
 std::ifstream lInStream((*lIter).var_value.c_str());
 Item lDoc = lXmlMgr->parseXML(lInStream);
 aDynamicContext->setVariable((*lIter).var_name, lDoc);

=== modified file 'src/functions/pregenerated/func_xqdoc.h'
--- src/functions/pregenerated/func_xqdoc.h	2012-01-11 17:30:25 +
+++ src/functions/pregenerated/func_xqdoc.h	2012-03-12 17:15:25 +
@@ -46,6 +46,7 @@
 : 
 function(sig, kind)
   {
+setDeterministic(false);
 
   }
 

=== modified file 'src/runtime/spec/xqdoc/xqdoc.xml'
--- src/runtime/spec/xqdoc/xqdoc.xml	2010-11-09 22:35:09 +
+++ src/runtime/spec/xqdoc/xqdoc.xml	2012-03-12 17:15:25 +
@@ -18,7 +18,7 @@
 
   zorba:XQDoc
 
-  
+  
 
   xs:string
   element()

-- 
Mailing list: https://launchpad.net/~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 952829] Re: Nondeterministic annotation doesn't seem to be checked

2012-03-12 Thread Launchpad Bug Tracker
** Branch linked: lp:~zorba-coders/zorba/bug-952829

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/952829

Title:
  Nondeterministic annotation doesn't seem to be checked

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Nondeterministic annotation doesn't seem to be checked.
  xqdoc:xqdoc() is documented as nondeterministic: 
http://www.zorba-xquery.com/html/modules/zorba/xqdoc/xqdoc
  However the following query works fine:
  http://www.zorba-xquery.com/html/demo#fH5/YOkiBfsXkzjq8DBGLBKhT5Y=

  It seems that the excepted result should have been an error, it was
  certainly the case in previous zorba versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/952829/+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 952829] Re: Nondeterministic annotation doesn't seem to be checked

2012-03-12 Thread Matthias Brantner
The problem is related to the fact that internally the xqdoc:content
function is not annotated as nondeterministic. This behavior is
overwritten by the content of the .xq file in debug mode. However, in
release mode this wasn't the case.

** Changed in: zorba
 Assignee: Markos Zaharioudakis (markos-za) => 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/952829

Title:
  Nondeterministic annotation doesn't seem to be checked

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Nondeterministic annotation doesn't seem to be checked.
  xqdoc:xqdoc() is documented as nondeterministic: 
http://www.zorba-xquery.com/html/modules/zorba/xqdoc/xqdoc
  However the following query works fine:
  http://www.zorba-xquery.com/html/demo#fH5/YOkiBfsXkzjq8DBGLBKhT5Y=

  It seems that the excepted result should have been an error, it was
  certainly the case in previous zorba versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/952829/+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-952829 into lp:zorba

2012-03-12 Thread William Candillon
Review: Approve

Works great in release mode.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065
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-952829 into lp:zorba

2012-03-12 Thread William Candillon
The proposal to merge lp:~zorba-coders/zorba/bug-952829 into lp:zorba has been 
updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065
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-952829 into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-952829-2012-03-12T17-30-12.508Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065
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/simplestore-api into lp:zorba

2012-03-12 Thread Ghislain Fourny
The proposal to merge lp:~zorba-coders/zorba/simplestore-api into lp:zorba has 
been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/simplestore-api/+merge/96360
-- 
https://code.launchpad.net/~zorba-coders/zorba/simplestore-api/+merge/96360
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/simplestore-api into lp:zorba

2012-03-12 Thread Ghislain Fourny
Hi Matthias, thanks for your comments. The pushed revisions address comments 1, 
3, and 4. Comment 2 was considered but not implemented, as discussed with you 
over the phone.
-- 
https://code.launchpad.net/~zorba-coders/zorba/simplestore-api/+merge/96360
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-952829 into lp:zorba

2012-03-12 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065
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:~28msec/zorba/get-descendant-node-by-ordpath into lp:zorba

2012-03-12 Thread Ghislain Fourny
Thanks Markos for these useful comments. The new revision addresses all three 
of them.

-- 
https://code.launchpad.net/~28msec/zorba/get-descendant-node-by-ordpath/+merge/95902
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-952829 into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue job bug-952829-2012-03-12T17-30-12.508Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065
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/simplestore-api into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/simplestore-api-2012-03-12T18-02-52.82Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/simplestore-api/+merge/96360
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-952829 into lp:zorba

2012-03-12 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/bug-952829 into lp:zorba has been 
updated.

Status: Approved => Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-952829/+merge/97065
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/simplestore-api into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue job simplestore-api-2012-03-12T18-02-52.82Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/simplestore-api/+merge/96360
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/simplestore-api into lp:zorba

2012-03-12 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, 
Needs Fixing < 1, Pending < 1. Got: 1 Needs Information, 2 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/simplestore-api/+merge/96360
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/simplestore-api into lp:zorba

2012-03-12 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/simplestore-api into lp:zorba has 
been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/simplestore-api/+merge/96360
-- 
https://code.launchpad.net/~zorba-coders/zorba/simplestore-api/+merge/96360
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:~28msec/zorba/get-descendant-node-by-ordpath into lp:zorba

2012-03-12 Thread Markos Zaharioudakis
Review: Approve

The numAttrs and numChildren local vars should also be csize instead of ulong, 
but I approve anyway.

-- 
https://code.launchpad.net/~28msec/zorba/get-descendant-node-by-ordpath/+merge/95902
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/module-schema-tools into lp:~zorba-coders/zorba/zorba-experimental

2012-03-12 Thread Cezar Andrei
The proposal to merge lp:~zorba-coders/zorba/module-schema-tools into 
lp:~zorba-coders/zorba/zorba-experimental has been updated.

Commit Message changed to:

Testing schema-tools which includes xmlbeans. Take 4. Updated documentation.

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/module-schema-tools/+merge/97092
-- 
https://code.launchpad.net/~zorba-coders/zorba/module-schema-tools/+merge/97092
Your team Zorba Coders is subscribed to branch 
lp:~zorba-coders/zorba/module-schema-tools.

-- 
Mailing list: https://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/module-schema-tools into lp:~zorba-coders/zorba/zorba-experimental

2012-03-12 Thread Cezar Andrei
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/module-schema-tools/+merge/97092
Your team Zorba Coders is subscribed to branch 
lp:~zorba-coders/zorba/module-schema-tools.

-- 
Mailing list: https://launchpad.net/~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/zorba-2.2-prep into lp:zorba

2012-03-12 Thread Matthias Brantner
Matthias Brantner has proposed merging lp:~zorba-coders/zorba/zorba-2.2-prep 
into lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/zorba-2.2-prep/+merge/97095

2.2 release preparations
-- 
https://code.launchpad.net/~zorba-coders/zorba/zorba-2.2-prep/+merge/97095
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt	2012-02-15 10:25:02 +
+++ CMakeLists.txt	2012-03-12 20:05:45 +
@@ -417,7 +417,7 @@
 
 # zorba versioning
 SET(ZORBA_MAJOR_NUMBER "2")
-SET(ZORBA_MINOR_NUMBER "1")
+SET(ZORBA_MINOR_NUMBER "2")
 SET(ZORBA_PATCH_NUMBER "0")
 SET(ZORBA_VERSION ${ZORBA_MAJOR_NUMBER}.${ZORBA_MINOR_NUMBER}.${ZORBA_PATCH_NUMBER})
 MESSAGE(STATUS "Zorba version number: ${ZORBA_VERSION}")

=== modified file 'ChangeLog'
--- ChangeLog	2012-03-12 17:11:35 +
+++ ChangeLog	2012-03-12 20:05:45 +
@@ -2,69 +2,76 @@
 
 version 2.2
 
+New Features:
   * Add --compile-plan (-c) and --execute-plan (-e) options to zorba command line.
   * Add XQuery 3.0 concat operator (http://www.w3.org/TR/xquery-30/#id-string-concat-expr) 
-  * Fixed bug 923015 (clone() not implemented for full-text expressions)
+  * New URI module providing percent-decoding functions.
+  * Added index management function to the C++ api's StaticCollectionManager.
+  * Added createDayTimeDuration, createYearMonthDuration, createDocumentNode, createCommentNode, createPiNode to api's ItemFactory.
+  * Fixed bug #905050 (setting and getting the context item type via the c++ api).
+  * Added split function to the string module that allows for streamable tokenization but doesn't have regular expression
+  * Add new XQuery interface for the PHP bindings.
+  * Added two API methods StaticContext::getFunctions to introspect the functions of a static context
+  * Added API method Item::getNamespaceBindings().
+  * Added a transcoding streambuffer to the API which allows transcoding arbitrary encodings
+from and to UTF-8
+  * file:read-text is able to handle arbitrary encodings (fixes bug #867159)
+  * http:send-request is able to handle arbitrary encodings
+  * Added API method StaticContext::getNamespaceBindings() (see bug #905035)
+  * New version of the JSON converter module in the core of Zorba (no external dependencies anymore)
+  * Added truncate function to the collection modules for efficient deletion of all nodes in a collection.
+
+
+Optimization:
   * No-copy optimization: avoids copying nodes during node-constructor expressions.
   * Added external function annotations %ann:propagates-input-nodes and 
 %ann:must-copy-input-nodes to be used by the no-copy optimization.
   * Caching of results for recursive functions with atomic parameter and return types.
   * Added %ann:cache and %ann:no-cache to enable or disable caching of results of functions with atomic parameter and return types.
-  * Added truncate function to the collection modules for efficient deletion of all nodes in a collection.
+  * Types-related optimizations for runtime operators (comparisons, FnBoolean, Or, And,
+Compare, instance-of, cast, castable, treat, promote).
+  * More efficient implementation for base64Binary items
+  * Preallocate and reuse temp sequence iterator for LetVarITerator
+and CtxVarIterator.
+  * Enhanced push-down of positional predicate into LetVarITerator
+and CtxVarIterator.
+  * Change the implementation of the free-vars annotation and got rid
+of the annotations map in expressions.
+
+Bug Fixes/Other Changes:
+  * Fixed bug 923015 (clone() not implemented for full-text expressions)
   * Fixed bug 917923 (bug in copying outer var values into the eval dynamic context)
   * Fixed bug 867509 (Can not handle largest xs:unsignedLong values)
-  * Fixed bug 952829 (Nondeterministic annotation doesn't seem to be checked)
   * Fixed bug 924063 (sentence is incorrectly incremented when token characters end without sentence terminator)
-  * New URI module providing percent-decoding functions.
-  * Optimization: change the implementation of the free-vars annotation and got rid
-of the annotations map in expressions.
   * Fixed bug 909126 (bug in cloning of var_expr)
   * Fixed bug in destruction of exit_catcher_expr
   * Fixed bug #867024 (error messages)
-  * Types-related optimizations for runtime operators (comparisons, FnBoolean, Or, And,
-Compare, instance-of, cast, castable, treat, promote).
   * Fixed bug #911585 (management of variables during eval)
-  * Fixed bug #951772 (Comment node crashes serialization)
   * Fixed bug #866423 (fn:empty and fn:exists iterators must reset their input in
 case of early-out)
-  * More efficient implementation for base64Binary items
-  * Added index management function to the C++ api's StaticCollectionManager.
   * Fixed bug #945241 (StaticCollectionManager::declaredIndexes() and temporary indexes)
   * Fixed bug #872288 (reset recursive flag d

[Zorba-coders] [Merge] lp:~zorba-coders/zorba/zorba-2.2-prep into lp:zorba

2012-03-12 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/zorba-2.2-prep into lp:zorba has 
been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/zorba-2.2-prep/+merge/97095
-- 
https://code.launchpad.net/~zorba-coders/zorba/zorba-2.2-prep/+merge/97095
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/zorba-2.2-prep into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/zorba-2.2-prep-2012-03-12T20-07-19.422Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/zorba-2.2-prep/+merge/97095
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/zorba-2.2-prep into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue job zorba-2.2-prep-2012-03-12T20-07-19.422Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/zorba-2.2-prep/+merge/97095
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/zorba-2.2-prep into lp:zorba

2012-03-12 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, 
Needs Fixing < 1, Pending < 1. Got: 1 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/zorba-2.2-prep/+merge/97095
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/zorba-2.2-prep into lp:zorba

2012-03-12 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/zorba-2.2-prep into lp:zorba has 
been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/zorba-2.2-prep/+merge/97095
-- 
https://code.launchpad.net/~zorba-coders/zorba/zorba-2.2-prep/+merge/97095
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 952829] Re: Nondeterministic annotation doesn't seem to be checked

2012-03-12 Thread Zorba Build Bot
** Changed in: zorba
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/952829

Title:
  Nondeterministic annotation doesn't seem to be checked

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  Nondeterministic annotation doesn't seem to be checked.
  xqdoc:xqdoc() is documented as nondeterministic: 
http://www.zorba-xquery.com/html/modules/zorba/xqdoc/xqdoc
  However the following query works fine:
  http://www.zorba-xquery.com/html/demo#fH5/YOkiBfsXkzjq8DBGLBKhT5Y=

  It seems that the excepted result should have been an error, it was
  certainly the case in previous zorba versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/952829/+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/bug935639 into lp:zorba

2012-03-12 Thread Rodolfo Ochoa
The proposal to merge lp:~zorba-coders/zorba/bug935639 into lp:zorba has been 
updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug935639/+merge/94900
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug935639/+merge/94900
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/bug935639 into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug935639-2012-03-12T23-14-08.66Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug935639/+merge/94900
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/bug935639 into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue job bug935639-2012-03-12T23-14-08.66Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug935639/+merge/94900
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/bug935639 into lp:zorba

2012-03-12 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/bug935639 into lp:zorba has been 
updated.

Status: Approved => Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug935639/+merge/94900
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug935639/+merge/94900
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 935639] Re: Closing without releasing objects

2012-03-12 Thread Rodolfo Ochoa
** 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/935639

Title:
  Closing without releasing objects

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  Provide a better solution for any use case where Zorba is closed without 
releasing in-memory objects.
  This is very notorious on managed memory languages where you never expect a 
memory leak, like Java.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/935639/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 930924] Re: Modifying Namespaces

2012-03-12 Thread Rodolfo Ochoa
** 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/930924

Title:
  Modifying Namespaces

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  There is no way to re-define or delete namespaces,
  a possible approach could be adding an already defined namespace to re-define 
one, and re-defining to a blank URI to delete it...

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/930924/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/windowing-tests into lp:zorba

2012-03-12 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/windowing-tests into lp:zorba has 
been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/windowing-tests/+merge/97135
-- 
https://code.launchpad.net/~zorba-coders/zorba/windowing-tests/+merge/97135
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/windowing-tests into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/windowing-tests-2012-03-13T03-03-11.597Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/windowing-tests/+merge/97135
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

2012-03-12 Thread Nicolae Brinza
I have merged Matthias' example and added another one. Resubmitting.
-- 
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/96380
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/windowing-tests into lp:zorba

2012-03-12 Thread Zorba Build Bot
Validation queue job windowing-tests-2012-03-13T03-03-11.597Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/windowing-tests/+merge/97135
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/windowing-tests into lp:zorba

2012-03-12 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, 
Needs Fixing < 1, Pending < 1. Got: 1 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/windowing-tests/+merge/97135
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/windowing-tests into lp:zorba

2012-03-12 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/windowing-tests into lp:zorba has 
been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/windowing-tests/+merge/97135
-- 
https://code.launchpad.net/~zorba-coders/zorba/windowing-tests/+merge/97135
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