[
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: [email protected]
For additional commands, e-mail: [email protected]