<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2988</bug_id>
          
          <creation_ts>2006-03-07 01:51:22 +0000</creation_ts>
          <short_desc>[Update] side-effect of deletion on the value of external variables</short_desc>
          <delta_ts>2006-08-01 17:32:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Update Facility</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jim Melton">jim.melton</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8612</commentid>
    <comment_count>0</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2006-03-07 01:51:22 +0000</bug_when>
    <thetext>(Originally reported by .)

Let&apos;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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10944</commentid>
    <comment_count>1</comment_count>
    <who name="Daniela Florescu">dflorescu</who>
    <bug_when>2006-08-01 16:57:24 +0000</bug_when>
    <thetext>The latest update document already includes the resolution 
for this question. A deleted node is simply detached from its
parent and has no impact on the binding of external variables.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10946</commentid>
    <comment_count>2</comment_count>
    <who name="Daniela Florescu">dflorescu</who>
    <bug_when>2006-08-01 16:59:15 +0000</bug_when>
    <thetext>The latest update document already includes the resolution 
for this question. A deleted node is simply detached from its
parent and this operation has no impact on the binding of 
external variables.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>