Re: [xml-dev] Why does XML Schema allow elements with complex type to be nillable?

From
Tomos Hillman <>
To
xml-dev <>, Rick Jelliffe <>
Date
2019-07-12T13:39:58Z
ID
<f17e7ee8-76b9-4a4e-bfd9-9158be7ae304@Spark>
Thread
Re: [xml-dev] Why does XML Schema allow elements with complex type to be nillable?
On 12 Jul 2019, 11:24 +0100, Rick Jelliffe <[email protected]>, wrote:
I don't think you should use nillible for the case of someone who has no middle name. That is simple optionality.

nillible is for a more esoteric purpose: where whether that person has a middle name or not has not been disclosed. This may because you don't know, the client didn't ask, or you dont want to tell. 

I think there's also the use case where a middle name was present (erroneously?) and has been removed, perhaps leaving a modification time stamp attribute.

Pretty horrible way to do it, IMO, but there you go

Thanks,
Tom