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

Comments on WS-Fragment editor's draft

From: Ram Jeyaraman <Ram.Jeyaraman@microsoft.com>
Date: Tue, 16 Mar 2010 00:26:39 +0000
To: Doug Davis <dug@us.ibm.com>
CC: "public-ws-resource-access@w3.org" <public-ws-resource-access@w3.org>
Message-ID: <503546C5699C1144BDEA0D0DFFE7F8812D0A7618@TK5EX14MBXC112.redmond.corp.microsoft.com>
Based on the resolution to issues 8185 and 8193, I suggest the following changes [1] to WS-Fragment. Thanks.

[1]

[Body]/wst:Put/wsf:Fragment/wsf:Expression@Mode="http://www.w3.org/2002/ws/ra/edcopies/ws-fra/Modes/Replace"
This Mode value indicates that the children of the Value element MUST be added to the resource representation in place of the fragment referenced by the children of the Expression element.
This Mode value has the net effect of doing a "delete" on the referenced fragment, followed by an "insert" on the fragment's parent. If the referenced fragment is already absent then the "insert" operation is still performed.
If the Value element is not present then this Mode MUST simply remove the referenced fragment. If the fragment is already absent, or if the Expression evaluates to an empty fragment, then this operation MUST have no effect. If the implementation is schema aware and it detects that the Expression is not valid per the schema then a wsf:InvalidExpression fault MUST be generated.
When this Mode value is used the Value element MUST be present.
Received on Tuesday, 16 March 2010 00:27:12 GMT

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