-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only 1 claimed conformance level is checked for PDFs with multiple conformance levels #1414
Comments
Yes, this is correct: in case of two conformance declarations of PDF/A and PDF/UA the auto-detect mode picks up PDF/A profile. We'll check if this can be changed so that both PDF/A and PDF/UA are checked in this case. |
@petervwyatt What would be the expectation if the document claims conformance against incompatible substandards, such as for example PDF/A-1a and PDF/UA-2? If the substandards are compatible, we can parse the document only once and then apply two different validation profiles. However, if the substandards are based on different base PDF specifications, this would require two different parsing logics (predefined CMaps are different, standard structure types are different and so on). |
@bdoubrov I'd assume you would test for both/all, since, for example, trivial PDFs (e.g. just a red box) could easily (and unnecessarily) meet multiple PDF/A conformance levels. That's not an error, just highly highly unusual... |
@petervwyatt I don't think PDF/A (or any other substandard) would allow identification with multiple parts. Duplicated XMP properties would conflict. But I see your point: having both PDF/A-1b and PDF/UA-1 might well be acceptable, even if the first is based on PDF 1.4 and the second on PDF 1.7. |
Here is the report from the prototype implementation of this feature: Is this what is expected? |
Hi @bdoubrov, looks good to me! 👍 Only minor suggestion might be to visually separate each individual validation section with a |
The feature is implemented in the latest dev builds of CLI and Desktop installer. The For example:
|
For PDF files that claim 2 (or more) conformance levels to different standards (e.g. PDF/A-4 and PDF/UA-2), veraPDF appears to only validate against one when PDF-Flavour "Auto-detect" is selected. This caught me out as I assumed it checked all conformance levels...
Ideally could veraPDF in "Auto-detect" mode be made to check all claimed conformance levels?
Otherwise could an explicit line added to the report output noting the other conformance level(s) detected but were not checked.
The text was updated successfully, but these errors were encountered: