<?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>6712</bug_id>
          
          <creation_ts>2009-03-17 15:21:57 +0000</creation_ts>
          <short_desc>Transfer: Create is ambiguous</short_desc>
          <delta_ts>2009-08-18 21:15:09 +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>Transfer</component>
          <version>FPWD</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>hasProposal</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>24291</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-03-17 15:21:57 +0000</bug_when>
    <thetext>Current Transfer.Create states:
- - - - - -
/s:Envelope/s:Body/Create
    If this REQUIRED element contains children then the first child MUST be the literal resource representation, a representation of the constructor for the resource, or other instructions for creating the resource. All other children SHOULD be ignored by the service. If this element does not contain any children then the resource will be created using default values. 
- - - - - -
This is a bit ambiguous because its not clear how the service knows whether
or not the child of Create is the actual representation, a list of
instructions or something else.  There needs to be a very clear flag
to indicate what&apos;s in the Create element.

Proposal:
Add a &apos;Dialect&apos; attribute - not unlike the Mode attribute that we
see on the Delivery element in eventing - that explicitly tells the
service how to interpret the children of the Create element.

&lt;wst:Create Dialect=&quot;xs:anyURI&quot;? ...&gt;
  xs:any *
&lt;/wst:Create&gt;

Define a &quot;http://.../ws-t/XMLRepresentation&quot; dialect/uri and make
the absence of a Dialect attribute default to this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24895</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-04-21 20:08:00 +0000</bug_when>
    <thetext>discussed on 2009-04-21 (Action-59)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25207</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-05-19 20:51:33 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/public-ws-resource-access/2009May/0010.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25467</commentid>
    <comment_count>3</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-06-04 23:24:28 +0000</bug_when>
    <thetext>Latest proposal:  http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Jun/0009.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25528</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-06-09 19:00:33 +0000</bug_when>
    <thetext>OPTIONAL Hint that describes the content, CONTENT DESCRIPTION. If the service needs a hint and the CONTENT DESCRIPTION is not known, then service MUST generate a fault (to be defined). If the service does not need a hint then may ignore the CONTENT DESCRIPTION and MAY NOT generate a fault. Type(CONTENT DESCRIPTION) = xs:anyURI

resolved as a directional decision on 2009-06-09</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25537</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-06-10 20:07:04 +0000</bug_when>
    <thetext>detailed proposal at http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Jun/att-0031/wst-6712.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25538</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-06-10 20:30:08 +0000</bug_when>
    <thetext>When this OPTIONAL attribute is present it conveys additional information that can be used by the service to process this message. If the service can determine how to process the message it MAY choose to ignore this attribute, even if the URI provided is not known. However, if the service needs this information, for example to determine if the child elements of the wst:Create are the literal resource representation or an instruction, but the attribute is not present or the URI is not known, then the service MUST generate an invalidContentDescription fault. There is no default value.

n.b.
modify fault to correspond with this language</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>