<?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>5314</bug_id>
          
          <creation_ts>2007-12-11 11:38:09 +0000</creation_ts>
          <short_desc>[UPD] fn:put: multiple invocations on the same URI</short_desc>
          <delta_ts>2008-03-05 12:04:59 +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>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</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="Frans Englich">frans.englich</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>18035</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2007-12-11 11:38:09 +0000</bug_when>
    <thetext>Invoking fn:put on the same URI twice or more, with nodes that have the same node identity or not, is currently not discussed in the 2007/August draft.

This topic has been raised twice on the w3c-xml-query-wg@w3.org list, by John Snelson &quot;Multiple invocations of fn:put() with the same URI&quot;(2007-06-06) and by me, &quot;fn:put: multiple invocations on the same URI&quot;(2007-11-27). Member-only links:

http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2007Jun/0006.html
http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2007Nov/0079.html

One way to implement it would be to let fn:put be an update primitive(it&apos;s already required to be invoked at the end of the query, for instance). Report #4167 is related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18320</commentid>
    <comment_count>1</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2008-01-15 18:19:29 +0000</bug_when>
    <thetext>On 15 Jan 2008 the working group considered this bug report. Since the semantics of fn:put() are implementation-defined, the group decided that it would be inappropriate to specify its error behavior. Error conditions, like the rest of fn:put() semantics, can be defined by the implementation.

Frans, if you are satisfied with this resolution, please mark this bug report as &quot;Closed&quot;.

--Don Chamberlin (for the Query Working Group)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18430</commentid>
    <comment_count>2</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-01-21 11:26:44 +0000</bug_when>
    <thetext>I would appreciate some insight into why this particularly area wasn&apos;t made to not be implementation defined.

The gain this behavior has is that implementations can define something meaningful of having multiple invocations on a URI. Since the order of those invocations is undefined/arbitrary, I wonder what possible usage scenarios this could have.

The cost is, of course, reduced interoperability.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18773</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2008-02-05 16:21:44 +0000</bug_when>
    <thetext>Since we do not define the external semantics of fn:put() when invoked once in a snapshot, we can&apos;t really clarify the external semantics of fn:put() when invoked more than once.

Jonathan Robie (for the XQuery Working Group)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>