TIKA-1678, I was trying to generate a test PDF that had a dc:title in the XMP with XMPBox from PDFBox's trunk. I modified the code from CreatePDFA by adding this:
The generated PDF doesn't appear to have a compliant dc:title entry in the XMP.
What PDFBox does:
It should be:
Error message from the PDF-Tools validator:
'dc:li' is not allowed in arrays. The elements must be rdf:li or rdf:_N, where N is a positive number.
There is only one RDF resource allowed in XMP.