You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2021/02/15 17:27:00 UTC

[jira] [Closed] (PDFBOX-5102) PDF/A validation only works on PDF/A-1 versions

     [ https://issues.apache.org/jira/browse/PDFBOX-5102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr closed PDFBOX-5102.
-----------------------------------
    Resolution: Not A Bug

Closing this one; it is unlikely that we expand this
- it's never been a topic
- it's a lot of work
- PDFBox is focused on processing PDFs, even very bad ones, this is something a conflict with the intention on detecting perfect PDFs
- The definition-based approach that VeraPDF has is better than ours, they can easily expand.

> PDF/A validation only works on PDF/A-1 versions
> -----------------------------------------------
>
>                 Key: PDFBOX-5102
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5102
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.22
>            Reporter: Giorgi Grigalashvili
>            Priority: Major
>
> Trying to generate PDF/A-3b document and while verifying using preflight got the following metadata error. 
> {code:java}
> protected void checkPartNumber(List<ValidationError> ve, int value)
> {
>     if (value != 1)
>     {
>         ve.add(new ValidationError(ERROR_METADATA_INVALID_PDFA_VERSION_ID, "part must be 1"));
>     }
> }
>  {code}
> Why are we only accepting PDF/A-1x?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org