W3C home > Mailing lists > Public > public-ws-resource-access-notifications@w3.org > June 2009

[Bug 6924] Transfer: behavior unspecified for Put failure

From: <bugzilla@wiggum.w3.org>
Date: Thu, 11 Jun 2009 22:53:23 +0000
To: public-ws-resource-access-notifications@w3.org
Message-Id: <E1MEt99-0005Lk-Qa@wiggum.w3.org>

Robert Freund <bob@freunds.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Robert Freund <bob@freunds.com>  2009-06-11 22:53:23 ---
Change the exposition of Put as follows:

A Put request MUST be targeted at the resource whose representation is 
desired to be replaced, as described in 2 Terminology and Notation 
of this specification.

Implementations MAY use the fault code wst:InvalidRepresentation if the 
presented representation is invalid for the target resource. The 
replacement representation may be considered to be invalid if it does 
not conform to the schema(s) for the target resource or otherwise 
violates some cardinality or type constraint. If an implementation 
detects that the presented representation is invalid it MUST generate a 
wst:InvalidRepresentation fault.

The replacement representation may contain within it element or 
attribute values that are different than their corresponding values in 
the current representation. Such changes may affect elements or 
attributes that, for whatever reason, the implementation does wish to 
allow the client to change. An implementation MAY choose to ignore such 
elements or attributes, or it MAY generate a wst:PutDenied fault. See 
5 Faults <http://www.w3.org/2002/ws/ra/edcopies/wst.html#Faults>.

Other components of the outline above are not further constrained by 
this specification.

A successful Put operation updates the current representation associated 
with the targeted resource.  An unsuccessful Put operation does not affect the

Add the following fault definition to Section 5:

5.2 wst:PutDenied

*[Code]*        s:Sender
        One or more elements or attributes cannot be updated.
        An optional list of the QNames of the elements or attributes that are 
not allowed to be updated.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 11 June 2009 22:53:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:06:34 UTC