[ 
https://issues.apache.org/jira/browse/PDFBOX-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14190957#comment-14190957
 ] 

John Hewson commented on PDFBOX-2446:
-------------------------------------

We've reached the point where so much of Preflights functionality is now in 
core pdfbox and the API has diverged so much, in really fundamental ways, that 
preflight is really a legacy application held together by fairly brittle hacks.

I guess this happened because preflight was originally developed independently 
so instead of adding the needed functionality to pdfbox, back when it was quite 
limited, preflight instead subclasses built-in classes and does its own thing. 
he differences and level of duplication are now so high that it would probably 
be best to rewrite preflight from scratch. Many of the checks it does could 
probably be reduced to key/value checks against object paths represented as 
regular expressions. It could be a more viable GSoC project as the student(s) 
could refer to the existing source.

> Create Validator for PDF/A-2b
> -----------------------------
>
>                 Key: PDFBOX-2446
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2446
>             Project: PDFBox
>          Issue Type: New Feature
>            Reporter: Ralf Hauser
>         Attachments: PDF-A2b_testCasesKOSTgplV3.zip
>
>
> It would be great to have org.apache.pdfbox.preflight.Format.PDF_A2B



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to