[
https://issues.apache.org/jira/browse/PDFBOX-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-2675.
-------------------------------------
Resolution: Fixed
> PDOutlineNode.getParent uses /P item as fallback for /Parent
> ------------------------------------------------------------
>
> Key: PDFBOX-2675
> URL: https://issues.apache.org/jira/browse/PDFBOX-2675
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.8, 1.8.9, 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.0
>
>
> On behalf of [~avacondio]:
> {quote}I was writing unit test for the PDOutlineNode.getParent which gets the
> parent node looking for a PARENT or a P key in the outline item dictionary.
> Now according to table 153 of the specs only PARENT should be there so I
> was wandering if someone knows better why the P is there and if it should
> be covered by the unit. {quote}
> Indeed, the /P is not in the spec. This has been there since 2008, and we
> don't have the prior history. Probably somebody copied code from elsewhere.
> I'll remove it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]