Oh wow, thanks Alex, this is fantastic, just what I needed!
I can see that it only works for attributes and elements though. Is
there a way to get it to work for array as well? I tried to change it
myself so it would call signalMissingField in XmlArraySerializer but I
can't see a way of distinguishing between empty and non existant
arrays in deserializeObject.