<?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>8193</bug_id>
          
          <creation_ts>2009-11-04 23:16:42 +0000</creation_ts>
          <short_desc>Fragment: Replace mode could be clearer</short_desc>
          <delta_ts>2010-03-17 10:51:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS-Resource Access</product>
          <component>Fragment</component>
          <version>LC</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>REMIND</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="Doug Davis">dug</reporter>
          <assigned_to name="Doug Davis">dug</assigned_to>
          
          
          <qa_contact name="notifications mailing list for WS Resource Access">public-ws-resource-access-notifications</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29323</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-11-04 23:16:42 +0000</bug_when>
    <thetext> </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29324</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-11-04 23:34:08 +0000</bug_when>
    <thetext>Frag says:
--
[Body]/wst:Put/wsf:Fragment/wsf:Expression@Mode=&quot;http://www.w3.org/2009/09/ws-fra/Modes/Replace&quot;

    When the Mode attribute is set to a value of &quot;http://www.w3.org/2009/09/ws-fra/Modes/Replace&quot; the resource representation specified within the Value element MUST replace the entire resource representation referenced by the children of the Expression element, if it exists. 
--

While its implied that if the Expression points to something that doesn&apos;t 
exist it should just add it, we need to make it clear.

Proposal:
Add to the end of the above text add:
--
If it doesn&apos;t exist then the Value is simply added to the resource representation.
--</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32785</commentid>
    <comment_count>2</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2010-03-03 02:30:10 +0000</bug_when>
    <thetext>Resolve on 3/2/2010 with proposal in: 
 http://lists.w3.org/Archives/Public/public-ws-resource-access/2010Feb/0022.html

with the following modifications:
- Keep a &quot;Remove&quot; mode
- &quot;Replace&quot; mode MUST have a Value element
- to &quot;Replace&quot; add something like:
    If the expression is invalid per the xsd, assuming xsd checking, 
    then it MUST generate an invalidExpression fault
- Rename &quot;Insert&quot; to &quot;Add&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>