<?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>8185</bug_id>
          
          <creation_ts>2009-11-04 18:52:57 +0000</creation_ts>
          <short_desc>Frag: fragment Put @Mode=&quot;Insert&quot; underspecified</short_desc>
          <delta_ts>2010-03-17 11:17: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>All</rep_platform>
          <op_sys>All</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="Gilbert Pilz">gilbert.pilz</reporter>
          <assigned_to name="Gilbert Pilz">gilbert.pilz</assigned_to>
          <cc>dug</cc>
          
          <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>29314</commentid>
    <comment_count>0</comment_count>
    <who name="Gilbert Pilz">gilbert.pilz</who>
    <bug_when>2009-11-04 18:52:57 +0000</bug_when>
    <thetext>The description of /wst:Put/wsf:Fragment/wsf:Expression@Mode=&quot;http://www.w3.org/2009/09/ws-fra/Modes/Insert&quot; reads as follows:

&quot;When the Mode attribute is set to a value of &quot;http://www.w3.org/2009/09/ws-fra/Modes/Insert&quot; the resource representation specified within the Value element MUST be added to the resource representation. If the expression targets a repeated element (maxOccurs &gt; 1), the fragment MUST be added at the end. If the expression targets a non-repeated element (maxOccurrs = 1) that already exists, the resource MUST generate a wst:InvalidRepresentation fault. If the expression targets an existing item of a repeated element, the fragment MUST be added before the existing item.&quot;

The above text seems to assume that Value will always target an element, however it is possible for Value to target an attribute or set of attributes, etc. It seems that not all @Modes make sense for all target Values.

Strawman Proposal: In each language section (Sections 5, 6, and 7) clearly identify which targets support which @Modes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32784</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2010-03-03 02:29:51 +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>