I didn't test the file from your code, only the one from the example,
both with preflight and with
http://www.pdf-tools.com/pdf/validate-pdfa-online.aspx
If you want to be really sure, when you continue with development, check
your files with the 2.0 version of the preflight app command line:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/preflight-app/2.0.0-SNAPSHOT/
because some of the improvements in preflight haven't been made to 1.8.
Tilman
Am 21.01.2015 um 21:39 schrieb Tilman Hausherr:
Am 21.01.2015 um 12:31 schrieb Julien Béti:
serializer.serialize(xmp, baos, false);
change "false" to "true", it should work then.
Tilman