veraPDF / veraPDF-library

Industry supported, open source PDF/A validation library
http://verapdf.org/software
GNU General Public License v3.0
268 stars 48 forks source link

Add support for WTPDF reuse and accessibility conformance levels #1416

Open DuffJohnson opened 5 months ago

DuffJohnson commented 5 months ago

WTPDF is a free specification published by the PDF Association in February, 2024. Thanks to the ISO working group's close collaboration with the PDF Association's PDF/UA TWG and PDF Reuse TWG, the PDF/UA-2 mirrors this document's file format requirements. WTPDF, however, is not only available at no cost - and thus will find far greater dissemination - it also considers many reuse applications additional to accessibility.

As WTPDF-Accessibility is identical to PDF/UA-2, all that's necessary is to check for the respective PDF Declarations in the document XMP.

Ideally...

bdoubrov commented 5 months ago

@DuffJohnson the link to WTPDF doesn't seem to be valid. Did you mean this one: https://pdfa.org/wtpdf/ ?

The declarations for conformance levels "WTPDF-Reuse" and "WTPDF-Accessibility" are defined in 6.1.2 and 6.1.3 accordingly. They should appear in the document level XMP Metadata.

The reporting of declarations is already available via veraPDF feature extraction, feature "Metadata". This would include all XMP metadata into the report. We can add a separate feature that would report all conformance declarations, including both the Reuse declaration mechanism and ISO substandard declarations.

DuffJohnson commented 5 months ago

Oops, yes! Sorry for the typo.

That would be great!

bdoubrov commented 4 months ago

@DuffJohnson what about the "validated" declarations? veraPDF can potentially add such declaration if the document passes WTPDF reuse or accessibility. The only question is whether machine tests coverage (as implemented by veraPDF) gives sufficient authority for this claim.

DuffJohnson commented 4 months ago

From my perspective any "Validated" declaration pertaining to accessibility should require that the file has passed "human" checks in addition to machine tests.

bdoubrov commented 3 months ago

Prototype of WTPDF support is already available in the latest dev version 1.25.290 available at https://software.verapdf.org/develop/1.25/verapdf-greenfield-1.25.290-installer.zip