[Bug 8183] Transfer: be clear on fault for bad representation

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8183


Ram Jeyaraman <ram.jeyaraman@microsoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ram.jeyaraman@microsoft.com




--- Comment #2 from Ram Jeyaraman <ram.jeyaraman@microsoft.com>  2010-01-02 18:24:46 ---
I like to suggest a slightly modified proposal below. This allows the
implementation to decide whether or not to do schema validation. 

Transfer.Put():

From:

Implementations MAY use the fault code wst:InvalidRepresentation if the
presented representation is invalid for the target resource. 

To:

Implementations MUST use the fault code wst:InvalidRepresentation if they
detect that the presented representation is invalid for the target resource. 

Transfer.Create():

From:

In addition to the standard fault codes defined in WS-Addressing,
implementations MAY use the fault code wst:InvalidRepresentation if the
presented representation is invalid for the target resource. 

To:

An implementation MUST use the fault code wst:InvalidRepresentation if it
detects that the presented representation is invalid for the target resource.

Transfer.Delete :

Remove:
Implementations MAY respond with a fault message using the standard fault codes
defined in WS-Addressing (e.g., wsa:ActionNotSupported).


-- 
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 Saturday, 2 January 2010 18:24:47 UTC