I've also found out why the file produced with the trunk wasn't OK, this is because my pom.xml had used Apache FOP for some reason.

Tilman

Am 04.02.2022 um 04:37 schrieb Tilman Hausherr:
Am 04.02.2022 um 01:48 schrieb Tommy Wu:
Sorry I am bit confused. Do you mean you have a version that is working and
can pass the validation? If so, would you please provide the link to the
source file?

I used the ordinary 2.0.25 version that you can download at https://pdfbox.apache.org/download.html

However it doesn't pass the "validation" at the site you mentioned ( https://www.pdfen.com/pdf-a-validator ) that I have never heard about. It passes the validation with VeraPDF ( https://verapdf.org/software/ ) and PDF-Tools ( https://www.pdf-online.com/osa/validate.aspx ).

Tilman




Tilman Hausherr <thaush...@t-online.de> 於 2022年2月3日週四 下午1:29寫道:

I must correct myself. The file created by 2.0 is fine on both services
that I mentioned. The problem is only in the trunk, and only in my local
version.

I never heard about "PDFen". The two other services I mentioned are well
known in the industry.

(For me:

2.0 xmp:
<rdf:li xml:lang="x-default">target/test-output/PDFA.pdf</rdf:li>

tilman trunk xmp:
<rdf:li lang="x-default">target/test-output/PDFA.pdf</rdf:li> )

Tilman

Am 03.02.2022 um 11:15 schrieb Tommy Wu:
So how should we address this?

Tilman Hausherr<thaush...@t-online.de>  於 2022年2月2日週三 下午11:42寫道:

OK, now we have a problem. I tried
https://www.pdf-online.com/osa/validate.aspx

      Validating file "PDFA.pdf" for conformance level pdfa-1b

      dc:title/*[0] :: Missing language qualifier.

      The document does not conform to the requested standard.

      The document's meta data is either missing or inconsistent or
corrupt.
      The document does not conform to the PDF/A-1b standard.

      Done.

and veraPDF:

*Rule*  *Status*
Specification: ISO 19005-1:2005, Clause: 6.7.11, Test number: 1
<

https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFA-Part-1-rules#rule-6711-1

The PDF/A version and conformance level of a file shall be specified
using the PDF/A Identification extension schema. **Failed**
1 occurrences   Show


Specification: ISO 19005-1:2005, Clause: 6.7.9, Test number: 1
<

https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFA-Part-1-rules#rule-679-1

The metadata stream shall conform to XMP Specification and well formed
PDFAExtension Schema for all extensions         **Failed**
1 occurrences


Tilman

Am 02.02.2022 um 22:37 schrieb Tommy Wu:
I was using your CreatePDFA java code to create a PDF/A document but
the
validator web site was saying it was not a true PDF/A


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to