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

Title:
  Namespace lost after update

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In the following query the namespace binding on d,e,f are lost after the 
delete node operation evaluation.
  I believe the problem is in detach.

  variable $x:=<a><a1 xmlns="http://aaa.com"; c1="d1"><d 
xmlns="http://ddd.com"/><e:e xmlns:e="http://eee";><f:f 
xmlns:f="f">g</f:f></e:e></a1></a>;
  variable $z:=$x/*;
  delete node $x/*;
  $z

  The query outputs:
  <a1 xmlns="http://aaa.com"; c1="d1"><d/><e:e><f:f>g</f:f></e:e></a1>

  The query should output:
  <a1 xmlns="http://aaa.com"; c1="d1"><d xmlns="http://ddd.com"/><e:e 
xmlns:e="http://eee";><f:f xmlns:f="f">g</f:f></e:e></a1>

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

Reply via email to