[
https://issues.apache.org/jira/browse/PDFBOX-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15578228#comment-15578228
]
Andreas Lehmkühler commented on PDFBOX-3506:
--------------------------------------------
According to the spec Tilmans approach is exactly what we are supposed to do
here:
{quote}
When a conforming reader opens a hybrid-reference file, objects with entries in
cross-reference streams are
not hidden. When the conforming reader searches for an object, if an entry is
not found in any given standard
cross-reference section, the search shall proceed to a cross-reference stream
specified by the XRefStm entry
before looking in the previous cross-reference section (the Prev entry in the
trailer).
{quote}
> Not able to read the custom metadata in trailer section
> -------------------------------------------------------
>
> Key: PDFBOX-3506
> URL: https://issues.apache.org/jira/browse/PDFBOX-3506
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.3, 2.1.0
> Environment: Windows 7, PDF version 1.5
> Reporter: Kent Lee
> Attachments: PDFBOX-3506.pdf, test.pdf
>
>
> When using below code does not able to retrieve custom metadata stored in
> trailer section of pdf
> PDDocumentInformation documentInformation = document.getDocumentInformation();
> Set<String> customMetadataKeys =
> documentInformation.getMetadataKeys();
> Pdfbox 1.8.12 does not have this issues
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]