You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2008/09/15 21:04:35 UTC

Enum, optional, default?

Given an enumerated type.

Given an element of that enumerated type with minOccurs='0' and
nullable unspecified (and not, presumably, relevant).

What is the semantics of a message that omits the element? Which value
of the enumeration is indicated?

Re: Enum, optional, default?

Posted by Daniel Kulp <dk...@apache.org>.
On Monday 15 September 2008 3:04:35 pm Benson Margulies wrote:
> Given an enumerated type.
>
> Given an element of that enumerated type with minOccurs='0' and
> nullable unspecified (and not, presumably, relevant).
>
> What is the semantics of a message that omits the element? Which value
> of the enumeration is indicated?

It should just be null.   

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog