[
https://issues.apache.org/jira/browse/PDFBOX-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509089#comment-14509089
]
Johanneke Lamberink commented on PDFBOX-2758:
---------------------------------------------
or catch the IOException in FDFDictionary(Element), and then log the exception.
This way you can parse a file with incomplete annotations, and still get the
annotations that are complete.
> Support additional annotation types when importing XFDF files
> -------------------------------------------------------------
>
> Key: PDFBOX-2758
> URL: https://issues.apache.org/jira/browse/PDFBOX-2758
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 1.8.9, 2.0.0
> Reporter: Maruan Sahyoun
> Assignee: Maruan Sahyoun
> Attachments: pdfbox-2758-cosname.patch, pdfbox-2758-fdf.patch,
> pdfbox-2758-pd.patch, pdfbox-2758-test.patch, pdfbox-2758.patch,
> pdfbox-2758.patch, pdfbox-2758.patch, xfdf-test-document-annotations.xml,
> xfdf-test-document.pdf
>
>
> When importing an XFDF file an IOException is generated if the annotation
> type is not {{text}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]