Hi Alex,
I've implemented a patch for this (including tests) as it was blocking
our developers. I can't attach the patch here so i'll raise an 'issue'
shortly
- adds 'isRequired' property to IMemberAnnotation (default is false
obviously)
- adds 'nillable' property to XmlElement annotation and set isRequired
to true if nillable is true
- change to SerializationCore.doSerialize to pass null objects through
to serializer if IMemberAnnotation(annotation).isRequired is true
- change to XmlElementSerializer to check for null object and if
nillable="true" then add the xsi:nil attribute and xsi namespace to
the node;