W3C home > Mailing lists > Public > public-ws-addressing@w3.org > February 2006

Why we shouldn't make [destination] optional

From: David Hull <dmh@tibco.com>
Date: Thu, 09 Feb 2006 14:44:39 -0500
To: "public-ws-addressing@w3.org" <public-ws-addressing@w3.org>
Message-id: <43EB9BA7.1040607@tibco.com>
As much as I would like to make as many properties optional as possible,
I don't think that this will work for [destination].

If [destination] is optional, then we have to define behavior for when
it is missing.  Unless I've missed something, that behavior will be
exactly what we're currently defining for anonymous [destination].  But
since anonymous is available anyway, there will be no real difference
between leaving out [destination] and using anonymous.  If leaving out
destination means the same as giving anonymous for [destination], then
anonymous is effectively the default value, and we might as well just
say that.

In other words yes, the two approaches (default to anonymous and make
optional) are equivalent, but given the structure already in place,
defaulting is clearer.

I'm pretty sure someone made essentially this argument on the telecon. 
If so, +1.

If leaving out [destination] does /not/ have the same effect as making
[destination] anonymous, we need to be clear on the difference and the
reasons behind it.

If we want to consider making [destination] optional anyway, it would be
option 3 on the list of choices for CR 20 [1].

[1]
http://lists.w3.org/Archives/Public/public-ws-addressing/2006Feb/0058.html
Received on Thursday, 9 February 2006 19:44:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:35:11 GMT