W3C home > Mailing lists > Public > public-ws-resource-access@w3.org > January 2010

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

From: Ram Jeyaraman <Ram.Jeyaraman@microsoft.com>
Date: Tue, 5 Jan 2010 18:28:32 +0000
To: Ram Jeyaraman <Ram.Jeyaraman@microsoft.com>, "public-ws-resource-access@w3.org" <public-ws-resource-access@w3.org>
Message-ID: <503546C5699C1144BDEA0D0DFFE7F881181B460A@TK5EX14MBXC119.redmond.corp.microsoft.com>
I like to present a slightly reworded proposal [1] for clarity sake:

[1] Modified proposal

If an implementation which performs schema validation on a presented representation detects that the presented representation ..., then the implementation MUST generate

Transfer.Put():

From:

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

To:

An implementation that performs schema validation on a presented representation detects that the presented representation is invalid for the target resource MUST use the fault code wst:InvalidRepresentation. 

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 that performs schema validation on a presented representation detects that the presented representation is invalid for the target resource MUST use the fault code wst:InvalidRepresentation.

Transfer.Delete :

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

-----Original Message-----
From: public-ws-resource-access-request@w3.org [mailto:public-ws-resource-access-request@w3.org] On Behalf Of Ram Jeyaraman
Sent: Saturday, January 02, 2010 10:30 AM
To: public-ws-resource-access@w3.org
Subject: RE: [Bug 8183] Transfer: be clear on fault for bad representation

Forwarding to the WG DL.

-----Original Message-----
From: public-ws-resource-access-notifications-request@w3.org [mailto:public-ws-resource-access-notifications-request@w3.org] On Behalf Of bugzilla@wiggum.w3.org
Sent: Saturday, January 02, 2010 10:25 AM
To: public-ws-resource-access-notifications@w3.org
Subject: [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 Tuesday, 5 January 2010 18:29:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:18:22 GMT