[Bug 2988] [Update] side-effect of deletion on the value of external variables

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

           Summary: [Update] side-effect of deletion on the value of
                    external variables
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: jim.melton@acm.org
         QAContact: public-qt-comments@w3.org


(Originally reported by .)

Let's assume the following situation. Let n1 be an element and n2 be its
parent. Let the external variables $x1 being bound to n1, and $x2 being bound
to n2.

What should be effect of the following update program

delete $x2/*

What should be the value of the variable $x1 after the deletion? Should it
contain the node n1 (that was just deleted) or not ?


------- Comment #1 From Daniela Florescu 2005-12-06 17:30 [reply] -------

This is also related to bug 2729
(http://www.w3.org/Bugs/Public/show_bug.cgi?id=2979).

Received on Tuesday, 7 March 2006 02:01:52 UTC