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

issue 6712: updated proposal

From: Doug Davis <dug@us.ibm.com>
Date: Thu, 4 Jun 2009 19:23:28 -0400
To: public-ws-resource-access@w3.org
Message-ID: <OF8E7BE1D8.59A17811-ON852575CB.007F654F-852575CB.00807FAC@us.ibm.com>
Upon thinking about 6712, I don't think the flag to indicate that Body is 
the representation, or an instruction, needs to be anything more than a 
boolean.  Clearly if its the data itself then the service will know what 
to do - just store it.  If its an instruction then the QName of the Body 
element will convey the instruction's definition.  So, my new proposal is 
the same as the old one but with the "Dialect" attribute changed to 

Add a 'isRepresentation' attribute that explicitly tells the service
whether or not the child of the Create element is the literal 
of the resource or an instruction.

<wst:Create isRepresentation="xs:boolean"? ...>
  xs:any *

This OPTIONAL attribute, when present and set to 'true', indicates 
that the child of this element is the initial representation of the 
new resource. When present and set to 'false' this attribute indicates 
that the child of this element is an instruction for how to create the 
new resource. The default value for this attribute is 'true'.

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.
Received on Thursday, 4 June 2009 23:24:07 UTC

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