Bill Janssen created PDFBOX-4197:
------------------------------------
Summary: PDStructureElement.getAttributes() ignores reference
objects
Key: PDFBOX-4197
URL: https://issues.apache.org/jira/browse/PDFBOX-4197
Project: PDFBox
Issue Type: Bug
Components: PDModel
Affects Versions: 2.0.9
Environment: N/A
Reporter: Bill Janssen
Attribute dictionaries attached to a structure element may be either direct or
references. getAttributes() handles the direct case but ignores object
references without error messages. This can also lead to invalid revision
numbers attached to the attribute dictionaries it does handle properly.
The fix would be to add another branch to the iteration loop in
PDStructureElement.getAttributes(), to handle object references.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]