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:14:01 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=17284848#comment-17284848 ] 

Tilman Hausherr edited comment on PDFBOX-5102 at 2/15/21, 5:13 PM:
-------------------------------------------------------------------

Yes, that's the way it is. Use [VeraPDF|https://verapdf.org/] instead, that one checks other PDF/A flavors. It is available both as command line and as library.


was (Author: tilman):
Yes, that's the way it is. Use VeraPDF instead, that one checks other PDF/A flavors. It is available both as command line and as library.

> 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