<?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>2990</bug_id>
          
          <creation_ts>2006-03-07 10:11:38 +0000</creation_ts>
          <short_desc>[Update] Possible inconsistency in compatibility of update primitives</short_desc>
          <delta_ts>2006-06-23 09:52:30 +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>All</rep_platform>
          <op_sys>Windows 2000</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="Avinash Vyas">avyas</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>8614</commentid>
    <comment_count>0</comment_count>
    <who name="Avinash Vyas">avyas</who>
    <bug_when>2006-03-07 10:11:38 +0000</bug_when>
    <thetext>The current compatibility table invalidates certain possibilities of update primitives when the target node is the same. Apart from the equality relation between the target nodes, parent relationship among the target nodes of certain primitives operations can also create problems (one which compatibility table wants to avoid). For e.g. 
should insAft(t1, r1) be incompatible with insAsLast(t2, r2) and insInto(t2, r2) if t1 is the last child of t2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10210</commentid>
    <comment_count>1</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2006-06-23 09:52:05 +0000</bug_when>
    <thetext>Avinash,
This issue has been overtaken by some changes to the compatibility rules. The rules will no longer be described by a table of conflicts between primitives, but by a simpler set of rules at the expression level. The specific example in this comment will not be considered a conflict. Precedence rules will be provided to make the outcome deterministic. In the example, the outcome will be that r1 will be immediately after t1, and r2 will be the last child of t2. The new rules will be published within the next few days in a new working draft. Since the old compatibility table is gone, I have closed this comment. When you see the new working draft, if you are not satisfied with the resolution of your issue, please open a new Bugzilla comment.
Regards,
Don Chamberlin (for the Query Working Group)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>