Re: 8192 discussion

Sounds good to me.

thanks
-Doug
______________________________________________________
STSM |  Standards Architect  |  IBM Software Group
(919) 254-6905  |  IBM 444-6905  |  dug@us.ibm.com
The more I'm around some people, the more I like my dog.



Ram Jeyaraman <Ram.Jeyaraman@microsoft.com> 
Sent by: public-ws-resource-access-request@w3.org
12/15/2009 01:33 PM

To
"public-ws-resource-access@w3.org" <public-ws-resource-access@w3.org>
cc

Subject
8192 discussion






http://www.w3.org/Bugs/Public/show_bug.cgi?id=8192 
 
I agree that there is no need for a top-level wsf:InvalidFragment fault if 
the following were true: If there is anything wrong with either of the 
children of wsf:Fragment, namely wsf:Expression or wsf:Value, an 
wsf:InvalidExpression fault or wst:InvalidRepresentation fault would be 
generated.
 
WS-Fragment Put defines three modes: Insert, Replace, and Remove. The 
wsf:Fragment/wsf:Value element applies only to Insert and Replace, and it 
contains the fragment resource representation. Since the 
wsf:Fragment/wsf:Value element always contains  the fragment resource 
representation, it seems reasonable to generate a 
wst:InvalidRepresentation fault if the content/representation is 
incorrect.
 
Summary:
1.        Remove ?If the contents of this element are invalid a 
wsf:InvalidFragment fault MUST be generated? from [1] and the 
corresponding fault definition.
2.       Add ?If the contents of this element are invalid, a 
wst:InvalidRepresentation fault MUST be generated? to first paragraph in 
[2].
 
Thanks.
 
[1]
 
[Body]/wst:Put/wsf:Fragment 
This element contains an expression that identifies the location of a 
fragment in the resource and a value for the fragment. If the contents of 
this element are invalid a wsf:InvalidFragment fault MUST be generated. 
[2]
 
[Body]/wst:Put/wsf:Fragment/wsf:Value 
This OPTIONAL element contains the fragment resource representation 
corresponding to the subset of the resource identified by the 
wsf:Expression element. 
When Mode is "http://www.w3.org/2009/09/ws-fra/Modes/Insert" or "
http://www.w3.org/2009/09/ws-fra/Modes/Replace", any optional values 
(element or attributes) within this subset that are not specified in the 
Value element will be set to a resource-specific default value. 
This element MUST NOT be present if the Mode attribute has a value of "
http://www.w3.org/2009/09/ws-fra/Modes/Remove". This element MUST be 
present if the Mode attribute has a value of either "
http://www.w3.org/2009/09/ws-fra/Modes/Replace" or "
http://www.w3.org/2009/09/ws-fra/Modes/Insert". When present, this element 
can either be empty or non-empty. 
 

Received on Wednesday, 16 December 2009 17:58:57 UTC