W3C home > Mailing lists > Public > xml-dist-app@w3.org > February 2002

Re: SOAP Encoding: Default values

From: <noah_mendelsohn@us.ibm.com>
Date: Mon, 18 Feb 2002 20:21:40 -0500
To: marc.hadley@sun.com
Cc: Martin Gudgin <marting@develop.com>, XML Protocol Discussion <xml-dist-app@w3.org>
Message-ID: <OFB229376D.65AE4B28-ON85256B64.00830941@lotus.com>
One characteristic I think we want to keep:  neither SOAP core nor SOAP 
encoding should require schema validation to reproduce a useful data model 
from an incoming message.   We should make clear that any defaulting 
resulting from assessment with a schema is, as Andrew suggests, at a level 
above that covered by the SOAP recommendation.

Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142

Marc Hadley <marc.hadley@sun.com>
Sent by: xml-dist-app-request@w3.org
02/18/2002 05:59 AM

        To:     Martin Gudgin <marting@develop.com>
        cc:     XML Protocol Discussion <xml-dist-app@w3.org>
        Subject:        Re: SOAP Encoding: Default values

I think its trying to say: An omitted accessor is equivalent to an
included accessor with an xsi:nil attribute. The interpretation is
application dependent.

Typical interpretation would be to substitue NULL or some application
dependent default value.


Martin Gudgin wrote:

> Section 3.6[1] of Part 2[2] states;
> 'An omitted accessor element implies either a default value or that no 
> is known. The specifics depend on the accessor, method, and its context. 
> example, an omitted accessor typically implies a Null value for 
> accessors (with the exact meaning of Null accessor-dependent). Likewise, 
> omitted Boolean accessor typically implies either a False value or that 
> value is known, and an omitted numeric accessor typically implies either
> that the value is zero or that no value is known.'
> I'm not convinced that this text is at all useful. It seems to say
> 'If the accessor isn't there, then any number of things might be 
> and doesn't say much about what those things might be.
> What is the paragraph *supposed* to be saying?
> Gudge
> [1] http://www.w3.org/2000/xp/Group/1/11/10/soap12-part2.xml#IDA5FQLB
> [2] http://www.w3.org/2000/xp/Group/1/11/10/soap12-part2.xml

Marc Hadley <marc.hadley@sun.com>
XML Technology Centre, Sun Microsystems.
Received on Monday, 18 February 2002 20:35:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:18 UTC