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:07:00 UTC
[jira] [Updated] (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 ]
Giorgi Grigalashvili updated PDFBOX-5102:
-----------------------------------------
Description:
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?
was:
{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}
> 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