** 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.

  validate-in-place can break other update primitives

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The validate-in-place function can make other update primitives

  The following query should return new new but it returns old new.

  import module namespace schema = "http://www.zorba-xquery.com/modules/schema";;
  import schema namespace d="http://www.example.com/doc"; at "test24.xsd";
  import module namespace file = "http://expath.org/ns/file";;
  declare revalidation lax;

  variable $doc:=<item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

    replace value of node $doc//*:a with "new"

  variable $res1:=string($doc//*:a);

    replace value of node $doc//*:a with "new"


To manage notifications about this bug go to:

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