[Bug 4539] [UPD] Section 2.4.5 Transform: rewording

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4539


chamberl@almaden.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from chamberl@almaden.ibm.com  2007-06-15 21:21 -------
Michael,
Although this bug report is marked as editorial, I do not believe it is
editorial. I believe that it is both substantive and incorrect.

The return clause of a transform is not limited to return only copied nodes.
The expression in the return clause may include references to original,
not-copied nodes, as in this example:

let $oldx := /a/b/x
return
   transform
      copy $newx := $oldx
      modify (do rename $newx as "newx", do replace value of $newx by 47)
      return ($oldx, $newx)

Since I believe this bug report to be substantive, I am marking it "Invalid"
but not closing it. If you agree with my analysis, please close this bug
report.

Regards,
Don Chamberlin (for the Query Working Group)

Received on Friday, 15 June 2007 21:21:58 UTC