Test xml serialization of nullable array items. Covers #19012.
If not specified assume that array items are nullable. Fixes #19012.