cvc-datatype-valid.1.2.1: '' is not a valid value for 'date'
The WSDL of a webservice in our PI system describes the field "birthdate" as optional, data type is "xs:date". Validation is active on PI.
When I now send the following XML, I get the error message "cvc-datatype-valid.1.2.1: '' is not a valid value for 'date'":
Other formats don't work either:
Only if I remove the element completely it is processed correctly. I tried to add a XSL script to remove empty tags but the validation is run before, so there is no chance for me to fix it.
Anything I can do about this?
Thanks for help.