Andreas Lehmkühler commented on PDFBOX-3506:

According to the spec Tilmans approach is exactly what we are supposed to do 

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 

> 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

To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to