You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andrea Vacondio (JIRA)" <ji...@apache.org> on 2015/10/30 15:38:27 UTC

[jira] [Created] (PDFBOX-3072) Allow missing page type

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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org