zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #01988
[Bug 867183] Re: Adding a node to a collection causes out of bound in vector
** Changed in: zorba
Status: Fix Released => Fix Committed
** Changed in: zorba
Milestone: None => 2.1
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867183
Title:
Adding a node to a collection causes out of bound in vector
Status in Zorba - The XQuery Processor:
Fix Committed
Bug description:
Adding a node in a collection after the last one causes out of bound
error in simple_collection.cpp around line 211 in memmove:
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";
ddl:create-collection(xs:QName("ddl:test2"),(<center1/>,<center2/>));
dml:insert-nodes-after(xs:QName("ddl:test2"), dml:collection(xs:QName("ddl:test2"))[2], (<c1/>,<c2/>));
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867183/+subscriptions