W3C home > Mailing lists > Public > public-ws-resource-access@w3.org > September 2009

Re: WS-Fragment uploaded

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 29 Sep 2009 09:48:17 -0400 (EDT)
To: Doug Davis <dug@us.ibm.com>
cc: David Snelling <David.Snelling@UK.Fujitsu.com>, public-ws-resource-access@w3.org
Message-ID: <alpine.DEB.1.10.0909290945070.30603@wnl.j3.bet>
On Tue, 29 Sep 2009, Doug Davis wrote:

> Nope - both are updating am existing resource.  Slightly different
> instructions for how to do it, but its still updating an existing
> resource.
> But it this way...ignoring frag, if I have a resource of the form:
> <foo/>
> and I do a T.Put() with:
> <foo>
>  <bar/>
> </foo>
> did I just do a T.Create()?  No, I updated an existing resource.  The fact
> that in the process I inserted a new element has no impact the fact that
> I'm still doing an Update/Put. All that's different with frag is that I'm
> using a less verbose syntax to do it.

Without frag, you did send <foo><bar/</foo> not <bar/> with instruction to 
create a subnode of <foo/>

When you are doing a FragPut@mode=Insert on <foo/> of <bar> it's like 
doing a Frag.Create of <bar/> in <foo/>, and both are different from a Put 
with <foo><bar/></foo>

Baroula que barouleras, au tiéu toujou t'entourneras.

Received on Tuesday, 29 September 2009 13:58:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:52 UTC