zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #07540
[Bug 867253] Re: cdml:delete-nodes should only remove root nodes
** Branch linked: lp:~zorba-coders/zorba/bug-867253
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867253
Title:
cdml:delete-nodes should only remove root nodes
Status in Zorba - The XQuery Processor:
In Progress
Bug description:
The following example shouldn't remove the root node from the
collection.
>>> variable $n;
>>>
>>> cddl:create(xs:QName("foo:coll"));
>>>
>>> $n := cdml:apply-insert-nodes(xs:QName("foo:coll"), <a><b/></a>);
>>>
>>> fn:trace(fn:count(cdml:collection(xs:QName("foo:coll"))), "#nodes after insert");
>>>
>>> cdml:delete-nodes($n/b);
>>>
>>> fn:trace(fn:count(cdml:collection(xs:QName("foo:coll"))), "#nodes after delete");
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867253/+subscriptions