cdml:delete-nodes should only remove root nodes
Bug #867253 reported by
Matthias Brantner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Matthias Brantner |
Bug Description
The following example shouldn't remove the root node from the collection.
>>> variable $n;
>>>
>>> cddl:create(
>>>
>>> $n := cdml:apply-
>>>
>>> fn:trace(
>>>
>>> cdml:delete-
>>>
>>> fn:trace(
Related branches
lp:~zorba-coders/zorba/bug-867253
- Matthias Brantner: Approve
- David Graf (community): Approve
-
Diff: 182 lines (+49/-27)7 files modifiedChangeLog (+1/-0)
include/zorba/pregenerated/diagnostic_list.h (+6/-4)
modules/com/zorba-xquery/www/modules/pregenerated/errors.xq (+12/-8)
src/diagnostics/diagnostic_en.xml (+11/-8)
src/diagnostics/pregenerated/diagnostic_list.cpp (+9/-6)
src/diagnostics/pregenerated/dict_en.cpp (+1/-0)
src/runtime/collections/collections_impl.cpp (+9/-1)
Changed in zorba: | |
milestone: | none → 2.5 |
status: | New → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.