[Zorba-coders] [Bug 854688] Re: Segmentation fault in validated nodes

2011-09-20 Thread Federico Cavalieri
Yes Gabriel, processing instruction cause the same/a very similar problem, since the same assumption is not correct: import schema namespace s = http://www.xqdoc.org/1.0;; let $hostInfo :=xqdoc xmlns=http://www.xqdoc.org/1.0; control date?processinginstruction aaa?TS4J5UJ/date

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
** Attachment added: to reproduce https://bugs.launchpad.net/bugs/854723/+attachment/2431367/+files/testseg.xq -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/854723 Title: Internal Fatal

[Zorba-coders] [Bug 854723] [NEW] Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
*** This bug is a security vulnerability *** Private security bug reported: This bug is due to the same incorrect assumption reported in bug 854688. Invoking schema:validate-in-place creates several UpdSetElementType operations. Their apply method expects that if a node has a typedvalue it

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
import schema namespace s = http://www.xqdoc.org/1.0;; import module namespace schema = http://www.zorba-xquery.com/modules/schema;; variable $hostInfo :=xqdoc xmlns=http://www.xqdoc.org/1.0; control dateTS4J5UJ?processinginstruction aaa?/date versionN/A/version /control

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
The following expression raises a similar error, due to the same assumption: import schema namespace s = http://www.xqdoc.org/1.0;; import module namespace schema = http://www.zorba-xquery.com/modules/schema;; variable $hostInfo :=xqdoc xmlns=http://www.xqdoc.org/1.0; control

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
** Changed in: zorba Importance: Undecided = High -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/854723 Title: Internal Fatal Error with validate-in-place Status in Zorba - The XQuery

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
** Visibility changed to: Public -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/854723 Title: Internal Fatal Error with validate-in-place Status in Zorba - The XQuery Processor: New Bug

[Zorba-coders] [Bug 855314] [NEW] Assertion failed in typemanager with for and el constuctor

2011-09-21 Thread Federico Cavalieri
*** This bug is a security vulnerability *** Public security bug reported: The following query: declare function local:crash() as element()* { for $id in (1,2) return element {a:a}{} }; local:crash() raises this error: /zorba/trunkbuild/src/libzorba_simplestore.so.2.0.1(+0x7c3fcb)

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/accept-pul into lp:zorba

2011-09-22 Thread Federico Cavalieri
Federico Cavalieri has proposed merging lp:~fcavalieri/zorba/accept-pul into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~fcavalieri/zorba/accept-pul/+merge/76613 Introduced accept-pul annotation which allows a function

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/accept-pul into lp:zorba

2011-09-22 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/accept-pul into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/accept-pul/+merge/76613 -- https://code.launchpad.net/~fcavalieri/zorba/accept-pul/+merge/76613 Your

[Zorba-coders] [Bug 857842] [NEW] Assertion failed with simple content element with comments

2011-09-23 Thread Federico Cavalieri
*** This bug is a security vulnerability *** Public security bug reported: The following query causes an assertion failure at line 3465 in node_items.cpp import schema namespace s = http://www.xqdoc.org/1.0;; let $hostInfo :=xqdoc xmlns=http://www.xqdoc.org/1.0; control

[Zorba-coders] [Bug 857842] Re: Assertion failed with simple content element with comments

2011-09-23 Thread Federico Cavalieri
2005: Test command: /zorba/build/markos/test/rbkt/testdriver zorba/misc/validate2.xq 2005: Test timeout computed to be: 1500 2005: test zorba/misc/validate2 2005: === Query: === 2005: 2005: import schema namespace s = http://www.xqdoc.org/1.0;; 2005: 2005: let $hostInfo :=xqdoc

[Zorba-coders] [Bug 859465] [NEW] Zorba fatal with two deactivate IC

2011-09-26 Thread Federico Cavalieri
)), ic_ddl:deactivate(xs:QName(m:ic_simple)) ); ** Affects: zorba Importance: Medium Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) ** Changed in: zorba Importance: Undecided = Medium

[Zorba-coders] [Bug 859468] [NEW] Zorba fatal with two activate simple IC

2011-09-26 Thread Federico Cavalieri
)) ); ** Affects: zorba Importance: Medium Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed in: zorba Importance: Undecided = Medium ** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) ** Visibility changed to: Public -- You

[Zorba-coders] [Bug 859467] [NEW] Zorba fatal with two activate Foreign Key

2011-09-26 Thread Federico Cavalieri
)), ic_ddl:activate(xs:QName(m:ic_foreignKey)) ); ** Affects: zorba Importance: Medium Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) ** Changed in: zorba Importance: Undecided = Medium ** Visibility

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-09-26 Thread Federico Cavalieri
Federico Cavalieri has proposed merging lp:~fcavalieri/zorba/bugs into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/76945 Fixed 859467 and 859468 -- https://code.launchpad.net/~fcavalieri/zorba

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-09-26 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/76945 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/76945 Your team Zorba Coders is

[Zorba-coders] [Bug 859522] Re: Assertion failed with document delete

2011-09-26 Thread Federico Cavalieri
?xml version=1.0 encoding=UTF-8? Zorba API error [zerr:ZAPI0020]: file:///zorba/test/foo: document already exists in store; raised at /zorba/repository/pulprocessing/src/store/naive/simple_store.cpp:1125 battlezone@M1710-linux:/zorba/build/pulprocessing$ bin/zorba -f -q /zorba/test/test13.xq

[Zorba-coders] [Bug 859468] Re: Zorba fatal with two activate simple IC

2011-09-26 Thread Federico Cavalieri
?xml version=1.0 encoding=UTF-8? Zorba Internal Fatal Error in /zorba/repository/trunk/src/store/naive/simple_pul.cpp:1701: 0: condition failed: Unexpected error during application of integrity constraint PUL Aborted -- You received this bug notification because you are a member of Zorba

[Zorba-coders] [Bug 859465] Re: Zorba fatal with two deactivate IC

2011-09-26 Thread Federico Cavalieri
Zorba Internal Fatal Error in /zorba/repository/trunk/src/store/naive/simple_pul.cpp:1701: 0: condition failed: Unexpected error during application of integrity constraint PUL Aborted -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug

[Zorba-coders] [Bug 859467] Re: Zorba fatal with two activate Foreign Key

2011-09-26 Thread Federico Cavalieri
?xml version=1.0 encoding=UTF-8? Zorba Internal Fatal Error in /zorba/repository/trunk/src/store/naive/simple_pul.cpp:1701: 0: condition failed: Unexpected error during application of integrity constraint PUL Aborted -- You received this bug notification because you are a member of Zorba

[Zorba-coders] [Bug 855314] Re: Assertion failed in typemanager with for and el constuctor

2011-09-26 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/855314 Title: Assertion failed in typemanager with for and el constuctor Status in

[Zorba-coders] [Bug 859968] Re: Using put on an attribute produces an invalid Xdm instance

2011-09-26 Thread Federico Cavalieri
** Description changed: The following query creates an element node with a single children (not attribute). The attribute is then retrievable using child::node() but not attribute::* + + import module namespace doc = http://www.zorba- + xquery.com/modules/store/dynamic/documents; + +

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-09-26 Thread Federico Cavalieri
Federico Cavalieri has proposed merging lp:~fcavalieri/zorba/bugs into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/77063 Fixed bug 859465 -- https://code.launchpad.net/~fcavalieri/zorba/bugs

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-09-27 Thread Federico Cavalieri
Federico Cavalieri has proposed merging lp:~fcavalieri/zorba/bugs into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/77162 Fixed bug 859968 -- https://code.launchpad.net/~fcavalieri/zorba/bugs

[Zorba-coders] [Bug 859968] Re: Using put on an attribute produces an invalid Xdm instance and a segmentation fault

2011-09-27 Thread Federico Cavalieri
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/859968 Title: Using put on an attribute produces an invalid Xdm instance and

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-09-27 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/77162 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/77162 Your team Zorba Coders is

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-09-27 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Commit Message changed to: Changed expected test failures: now fn-put-005-fail succeeds and fn-put-005 fails. Fixed bug 859968. For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/77162

[Zorba-coders] [Bug 859522] Re: Assertion failed with document delete

2011-09-27 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/859522 Title: Assertion failed with document delete Status in Zorba - The XQuery

[Zorba-coders] [Bug 859465] Re: Zorba fatal with two deactivate IC

2011-09-27 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/859465 Title: Zorba fatal with two deactivate IC Status in Zorba - The XQuery

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-09-28 Thread Federico Cavalieri
Federico Cavalieri has proposed merging lp:~fcavalieri/zorba/bugs into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/77287 Updated Changelog to reflect fixes in revisions 10470, 10471, 10472, 10473

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-09-28 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/77287 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/77287 Your team Zorba Coders is

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/identifiers into lp:zorba

2011-09-30 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/identifiers into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/identifiers/+merge/77691 -- https://code.launchpad.net/~fcavalieri/zorba/identifiers/+merge/77691 Your

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/identifiers into lp:zorba

2011-09-30 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/identifiers into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/identifiers/+merge/77693 -- https://code.launchpad.net/~fcavalieri/zorba/identifiers/+merge/77693 Your

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/identifiers into lp:zorba

2011-10-01 Thread Federico Cavalieri
In simple_store.cpp:1351, we should be creating a URI item, not a string item, right? Yes, we should always create anyURIs. Missed that when change when we switched from strings to anyURIs. Fixing right now. -- https://code.launchpad.net/~zorba-coders/zorba/identifiers/+merge/77693 Your team

[Zorba-coders] [Bug 868258] [NEW] Assertion failed with collection delete

2011-10-05 Thread Federico Cavalieri
= http://www.zorba-xquery.com/modules/store/dynamic/collections/dml;; ddl:create(xs:QName(ddl:coll),(a/,b/)); ( ddl:delete(xs:QName(ddl:coll)), ddl:delete(xs:QName(ddl:coll)) ); ** Affects: zorba Importance: High Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed

[Zorba-coders] [Bug 868640] [NEW] Node lifetime is shorter than expected due to let variable inlining

2011-10-05 Thread Federico Cavalieri
Public bug reported: A query like let $x:=a/ return by-ref(ref($x)) gets rewritten (in some case, depending on the complexity of the expression and number of references to the variable) as: by-ref(ref(a/)) Thus the node has been destroyed when by-ref is called. The following test named

[Zorba-coders] [Bug 868640] Re: Node lifetime is shorter than expected due to let variable inlining

2011-10-05 Thread Federico Cavalieri
** Changed in: zorba Importance: Medium = High -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/868640 Title: Node lifetime is shorter than expected due to let variable inlining Status in

[Zorba-coders] [Bug 869024] [NEW] Zorba crashes with getReference

2011-10-06 Thread Federico Cavalieri
OrdPathNode*(node); which is not correct when node is a TextNode ** Affects: zorba Importance: Medium Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) ** Changed in: zorba Importance

[Zorba-coders] [Bug 869025] [NEW] Segmentation fault with getReference

2011-10-06 Thread Federico Cavalieri
= http://www.zorba-xquery.com/modules/node-reference;; ddl:create(xs:QName(ddl:coll)); dml:insert-nodes-last(xs:QName(ddl:coll),text {aa}); ref:node-reference(dml:collection(xs:QName(ddl:coll))) ** Affects: zorba Importance: High Assignee: Federico Cavalieri (fcavalieri) Status

[Zorba-coders] [Bug 867195] Re: External updating function illegal here only in debug mode

2011-10-06 Thread Federico Cavalieri
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867195 Title: External updating function illegal here only in debug mode Status

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/structuralrelationships into lp:zorba

2011-10-06 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/structuralrelationships into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/structuralrelationships/+merge/78375 --

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

2011-10-06 Thread Federico Cavalieri
The proposal to merge lp:~zorba-coders/zorba/identifiers into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/identifiers/+merge/78383 -- https://code.launchpad.net/~zorba-coders/zorba/identifiers/+merge/78383

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/identifiers into lp:zorba

2011-10-06 Thread Federico Cavalieri
I think identifies was identities. Fixing again -- https://code.launchpad.net/~zorba-coders/zorba/identifiers/+merge/78383 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 :

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

2011-10-06 Thread Federico Cavalieri
The proposal to merge lp:~zorba-coders/zorba/identifiers into lp:zorba has been updated. Commit Message changed to: Changed the implementation of the reference module. Now the module provides functions to compute an immutable and opaque reference for any node, either temporary or stored in a

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

2011-10-06 Thread Federico Cavalieri
The proposal to merge lp:~zorba-coders/zorba/identifiers into lp:zorba has been updated. Description changed to: Changed the implementation of the reference module. Now the module provides functions to compute an immutable and opaque reference for any node, either temporary or stored in a

Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/structuralrelationships2 into lp:zorba

2011-10-07 Thread Federico Cavalieri
Not mentioned in ChangeLog Fixed function name too long? node-structural-information Any suggestions? node-information node-position node-uri structural-information difference between following-in-document-order-of following-of? Following is always in document order. If we consider

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/identifiers into lp:zorba

2011-10-07 Thread Federico Cavalieri
pPlease see the a href=../../html/data_lifecycle.htmldata lifecycle documentation/a about details on management and manipulation of collections./p = pPlease see the a href=../../html/data_lifecycle.htmldata lifecycle documentation/a about details on storing nodes in collections or as

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/identifiers into lp:zorba

2011-10-07 Thread Federico Cavalieri
More comments on the documentation inside node-reference.xq: 1. I think the definition of immutable should say: i.e. a node identifier does not change during the node lifetime, and cannot be reused for another node after the original node gets deleted. instead of just i.e. a node

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/identifiers into lp:zorba

2011-10-07 Thread Federico Cavalieri
The function returns the empty sequence if the node that is referenced was deleted. = The function returns the empty sequence if the node that is referenced does not exist (e.g. because it was deleted or the temporary node is not available anymore) Done. I wouldn't add the

Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-10-07 Thread Federico Cavalieri
Some tests fail, but I have no idea why. Can you help me? -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/78396 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 :

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/identifiers into lp:zorba

2011-10-07 Thread Federico Cavalieri
Identifiers are useful by themselves, i.e., independently from the PUL- manipulation module. So, this branch should be about identifiers only. Anything that is relevant to PUL-manipulation should be moved to the associated branch. What about the hasIdentifier and similar functions offered in

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/identifiers into lp:zorba

2011-10-07 Thread Federico Cavalieri
YES! I made the same suggestion in one of my other comments. OK. I was in the middle of the process of moving them -- https://code.launchpad.net/~zorba-coders/zorba/identifiers/+merge/78383 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list:

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/identifiers into lp:zorba

2011-10-07 Thread Federico Cavalieri
Federico, on Wednesday, we agreed that you send us an example that shows when you have to copy over the identifier of a node that is being copied. Have you done it? (it's possible that I missed it in the deluge of emails). Done and sent --

Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-10-07 Thread Federico Cavalieri
Some tests fail, but I have no idea why. Can you help me? It seems to be a problem also with other coders merge, es: https://code.launchpad.net/~danielturcanu/zorba/my_conv_module/+merge/78588 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/78396 Your team Zorba Coders is subscribed

Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/structuralrelationships2 into lp:zorba

2011-10-07 Thread Federico Cavalieri
function name too long? node-structural-information Any suggestions? node-information node-position node-uri structural-information I like node-information as name for both - the module and the function. That's at least consistent with the node-reference module and function.

[Zorba-coders] [Bug 871629] [NEW] Assertion failed with insert into in a collection

2011-10-10 Thread Federico Cavalieri
Public bug reported: The following query crashes zorba import module namespace ddl = http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/dynamic/collections/dml;;

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/identifiers into lp:zorba

2011-10-10 Thread Federico Cavalieri
Federico I made some changes to the branch, the most important of which is that I removed from SimpleStore the methods related to copying of identifiers. I guess you will have to put this code back in the branch where it is actually used. OK, Thanks. I am going to fix the arisen merge

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

2011-10-10 Thread Federico Cavalieri
The proposal to merge lp:~zorba-coders/zorba/identifiers into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/identifiers/+merge/78383 -- https://code.launchpad.net/~zorba-coders/zorba/identifiers/+merge/78383

[Zorba-coders] [Bug 871629] Re: Assertion failed with insert into in a collection

2011-10-10 Thread Federico Cavalieri
** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871629 Title: Assertion failed with insert into in a collection

[Zorba-coders] [Bug 871623] Re: Assertion failed with insert after in a collection

2011-10-10 Thread Federico Cavalieri
** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871623 Title: Assertion failed with insert after

Re: [Zorba-coders] [Merge] lp:~markos-za/zorba/bugs2 into lp:zorba

2011-10-10 Thread Federico Cavalieri
Review: Needs Information Hi Markos, i think that the flag haveListType is not reset correctly if the element passes from haveTypedValue haveTypedTypedValue haveListType to haveTypedValue haveTypedTypedValue !haveListType I would add: else textChild-resetHaveListValue(); near line 499

Re: [Zorba-coders] [Merge] lp:~markos-za/zorba/bugs2 into lp:zorba

2011-10-11 Thread Federico Cavalieri
Approved. I am not sure if you also need another vote for starting the merge -- https://code.launchpad.net/~markos-za/zorba/bugs2/+merge/78834 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to :

[Zorba-coders] [Bug 872288] [NEW] XPath expression has unexpected result

2011-10-11 Thread Federico Cavalieri
Public bug reported: Consider the following query variable $x:=ya//y; insert node b/ into $x/a; rename node $x/a/b as a; ( ev { $x } /ev, first { $x//a } /first, correct { $x//* } /correct ) All nodes seem to have the isRecursive flag set to false , thus this query returns: ev   y a   

[Zorba-coders] [Bug 872697] [NEW] Segmentation fault with in validation of NMTOKENS

2011-10-12 Thread Federico Cavalieri
Importance: High Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) ** Changed in: zorba Importance: Undecided = High -- You received this bug notification because you are a member of Zorba

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-10-12 Thread Federico Cavalieri
Federico Cavalieri has proposed merging lp:~fcavalieri/zorba/bugs into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Fixed bug #872697 Updated Changelog for bugs #872697, #871623 and #871629

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-10-12 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Commit Message changed to: Fixed bug #872697 Updated Changelog for bugs #872697, #871623 and #871629 For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 --

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-10-12 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is

[Zorba-coders] [Bug 871623] Re: Assertion failed with insert after in a collection

2011-10-12 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871623 Title: Assertion failed with insert after in a collection Status in Zorba - The

[Zorba-coders] [Bug 869025] Re: Segmentation fault with getReference

2011-10-12 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/869025 Title: Segmentation fault with getReference Status in Zorba - The XQuery Processor:

[Zorba-coders] [Bug 871629] Re: Assertion failed with insert into in a collection

2011-10-12 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871629 Title: Assertion failed with insert into in a collection Status in Zorba - The

[Zorba-coders] [Bug 869024] Re: Zorba crashes with getReference

2011-10-12 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/869024 Title: Zorba crashes with getReference Status in Zorba - The XQuery Processor:

Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-10-12 Thread Federico Cavalieri
Review: Approve -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 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

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba

2011-10-12 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is

Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs2 into lp:zorba

2011-10-12 Thread Federico Cavalieri
Review: Approve -- https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 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

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs2 into lp:zorba

2011-10-12 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/bugs2 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 -- https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 Your team Zorba Coders

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba

2011-10-12 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/setsatundo into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba

2011-10-12 Thread Federico Cavalieri
Federico Cavalieri has proposed merging lp:~fcavalieri/zorba/setsatundo into lp:zorba. Requested reviews: Federico Cavalieri (fcavalieri) Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Implemented undo

[Zorba-coders] [Bug 872796] Re: validate-in-place can break other update primitives

2011-10-12 Thread Federico Cavalieri
The schema xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; targetNamespace=http://www.zorba-xquery.org/schema; xmlns=http://www.zorba-xquery.org/schema; elementFormDefault=qualified xs:element name=item xs:complexType xs:sequence xs:element name=a

[Zorba-coders] [Bug 872796] [NEW] validate-in-place can break other update primitives

2011-10-12 Thread Federico Cavalieri
of node $doc//*:a with new ); variable $res1:=string($doc//*:a); ( replace value of node $doc//*:a with new ); ($res1,string($doc//*:a)) ** Affects: zorba Importance: High Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed in: zorba Assignee: (unassigned

[Zorba-coders] [Bug 872799] [NEW] validate-in-place can set incorrect types

2011-10-12 Thread Federico Cavalieri
/xs:complexType /xs:schema ** Affects: zorba Importance: High Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed in: zorba Importance: Undecided = High ** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) ** Description changed

[Zorba-coders] [Bug 868258] Re: Assertion failed with collection delete

2011-10-12 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/868258 Title: Assertion failed with collection delete Status in Zorba - The XQuery

Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba

2011-10-12 Thread Federico Cavalieri
Review: Approve -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 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 :

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba

2011-10-12 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/setsatundo into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your

[Zorba-coders] [Bug 872697] Re: Segmentation fault with in validation of NMTOKENS

2011-10-12 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872697 Title: Segmentation fault with in validation of NMTOKENS Status in Zorba - The

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba

2011-10-12 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/updrevalidate into lp:zorba has been updated. Commit Message changed to: Reimplemented validate-in-place through a new update primitive UpdRevalidate. This also fixes bugs 872796 and 872799 For more details, see:

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba

2011-10-12 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/updrevalidate into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 -- https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba

2011-10-12 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/updrevalidate into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 -- https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/structuralrelationships2 into lp:zorba

2011-10-13 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/structuralrelationships2 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/structuralrelationships2/+merge/78395 --

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/structuralrelationships2 into lp:zorba

2011-10-13 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/structuralrelationships2 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/structuralrelationships2/+merge/78395 --

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/structuralrelationships2 into lp:zorba

2011-10-13 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/structuralrelationships2 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/structuralrelationships2/+merge/78395 --

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba

2011-10-13 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/updrevalidate into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 -- https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187

[Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba

2011-10-13 Thread Federico Cavalieri
The proposal to merge lp:~fcavalieri/zorba/updrevalidate into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 -- https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/updrevalidate into lp:zorba

2011-10-13 Thread Federico Cavalieri
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/updrevalidate/+merge/79187 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 :

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

2011-10-13 Thread Federico Cavalieri
The proposal to merge lp:~zorba-coders/zorba/updrevalidate into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/updrevalidate/+merge/79187 --

[Zorba-coders] [Bug 872799] Re: validate-in-place can set incorrect types

2011-10-13 Thread Federico Cavalieri
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872799 Title: validate-in-place can set incorrect types Status in Zorba - The XQuery

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/updrevalidate into lp:zorba

2011-10-13 Thread Federico Cavalieri
Sure, but to me it looks like no change has been made at all (Preview Diff contains only the word Empty) and no In a few minutes the diff will be updated. Maybe I just have to wait... Yes I just had to wait -- https://code.launchpad.net/~zorba-coders/zorba/updrevalidate/+merge/79331 Your team

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/updrevalidate into lp:zorba

2011-10-13 Thread Federico Cavalieri
Why variable numUpdates in PULImpl::mergeUpdateList is declared, assigned but never read? Good question :) The easy answer is to just remove it. But I think it can actually be used to replace the myList.size() in the 2 for loops at lines 1289 and 1308. Even though new entries can be

Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/structuralrelationships2 into lp:zorba

2011-10-14 Thread Federico Cavalieri
Renamed the module and function to node-position. How should I replace structural information in the functions comments? node position uri? -- https://code.launchpad.net/~zorba-coders/zorba/structuralrelationships2/+merge/78395 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/updrevalidate into lp:zorba

2011-10-14 Thread Federico Cavalieri
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/updrevalidate/+merge/79331 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 :

  1   2   >