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

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 UTC