Andrea Vacondio created PDFBOX-3072:
---------------------------------------

             Summary: 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
            Priority: Minor


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