[ https://issues.apache.org/jira/browse/PDFBOX-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14562677#comment-14562677 ]
Johanneke Lamberink commented on PDFBOX-2758: --------------------------------------------- I have one more request regarding this issue: In the parsing in FDFDictionary, when an annotation fails parsing, there is no catch for the IOException. This means that if there is 1 invalid annotation in your XFDF file, the entire parsing just fails. I would propose to catch this IOException and simply log that the annotation had an error while parsing. > 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 > Fix For: 2.0.0 > > Attachments: pdfbox-2758-cosname.patch, pdfbox-2758-fdf.patch, > pdfbox-2758-fdfDictionary.patch, pdfbox-2758-pd.patch, > pdfbox-2758-test.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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org