[
https://issues.apache.org/jira/browse/PDFBOX-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-1380.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Assignee: Andreas Lehmkühler
I improved the calcualtion of the Limits values in revision 1454877 based on
Dominics proposal. I lend another idea of Dominic (see PDFBOX-1384) and added a
parent reference to PDNameTreeNode to simplify the calculation of the Limits.
Furthermore I added the NameTreeNode and the NumberTreeNode test cases to our
test suite and updated the NameTreeNode according the pdf specs.
Thanks for the contribution!
> [PATCH] PDNameTreeNode
> ----------------------
>
> Key: PDFBOX-1380
> URL: https://issues.apache.org/jira/browse/PDFBOX-1380
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.7.1
> Reporter: Dominic Tubach
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Labels: patch
> Fix For: 1.8.0
>
> Attachments: PDNameTreeNode.patch
>
>
> Limits in method setKids are not removed if parameter kids is null or empty
> and no names are not set.
> IndexOutOfBoundsException in method setNames if pararmeter names is empty.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira