← Back to team overview

zorba-coders team mailing list archive

[Bug 867266] Re: Unexpected updating expression illegal here

 

** Changed in: zorba
    Milestone: None => 2.2

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867266

Title:
  Unexpected updating expression illegal here

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  This raises an error:
  4,1: update static error [err:XUST0001]: updating expression illegal here; raised at /zorba/trunksrc/src/compiler/expression/fo_expr.cpp:222
  variable $x:=<a/>;
  for $y in $x
  return
  replace value of node $x with "x"

  This doesn't:
  variable $x:=<a/>;
  for $y in $x
  return
  replace value of node $y with "x"

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867266/+subscriptions