Hi there,
as it seems, Calibre is not capable of producing an epub file that will be accepted as bug free by any validator. Here is an example:
I used an .odt file as source, generated by Word 2019.
Maybe this is of some help do the developers.
Best,
Nexo