Metadata xml validation for date objects that are None