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

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

Giorgi Grigalashvili created PDFBOX-5102:
--------------------------------------------

             Summary: 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


{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}
 



--
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