[ 
https://issues.apache.org/jira/browse/PDFBOX-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-3072.
-------------------------------------
       Resolution: Fixed
         Assignee: Tilman Hausherr
    Fix Version/s: 2.0.0

Thanks!

> Allow missing page type
> -----------------------
>
>                 Key: PDFBOX-3072
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3072
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Andrea Vacondio
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: relaxed_page_type.diff
>
>
> I came across a PDF document with missing type in the page dictionary. 
> According to the spec that's required and PDFBox has a check and throws an 
> IllegalState if the page is requested to the PDPageTree. Acrobat and other 
> libs handle the same doc so I think the constraint could be relaxed a little, 
> consider valid if type is Page or missing, and consider invalid if it's 
> something else, what do you think?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to