[
https://issues.apache.org/jira/browse/PDFBOX-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399283#comment-13399283
]
William Fausser commented on PDFBOX-1312:
-----------------------------------------
Hi Eric,
I've been compiling trying to get the patch installed and my
brain is starting to hurt...... :)
I can't seem to get past this type of error:
/home/fausser/pdfbox-1.7.0/preflight/src/main/java/org/apache/pdfbox/preflight/xobject/AbstractXObjValidator.java:[149,13]
validate() in org.apache.pdfbox.preflight.xobject.AbstractXObjValidator cannot
implement validate() in org.apache.pdfbox.preflight.xobject.XObjectValidator;
attempting to use incompatible return type
found : void
required:
java.util.List<org.apache.pdfbox.preflight.ValidationResult.ValidationError>
Any ideas on the above error?
BR,
Bill
> Refactor the PdfA parser
> ------------------------
>
> Key: PDFBOX-1312
> URL: https://issues.apache.org/jira/browse/PDFBOX-1312
> Project: PDFBox
> Issue Type: Improvement
> Components: Preflight
> Affects Versions: 1.7.0
> Reporter: Eric Leleu
> Assignee: Eric Leleu
> Fix For: 1.8.0
>
> Attachments: patch-PDFBOX-1312.txt.gz
>
>
> To fix the PDFBox-1274 issue, the validation of PDF/A needs a refactoring.
> Currently, each XRef entry is checked independently.
> Most of the time, this is enough because the required information to validate
> the object are present in the object.
> For the issue PDFBox-1274, the object validation should access to the page
> that uses the object.
> After the refactoring the valdiation unit will be the PDPage.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira