Apparently, you cannot include both packages #PDFX and #hyperxmp - as they do not like each other... Compiled #PDF doesn't look as expected... #texlive #pdfa #latex

https://www.ctan.org/pkg/pdfx
https://www.ctan.org/pkg/hyperxmp

CTAN: Package pdfx