[
https://issues.apache.org/jira/browse/PDFBOX-3596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15712622#comment-15712622
]
Tilman Hausherr commented on PDFBOX-3596:
-----------------------------------------
Agreed. To those who opened issues on this: until this is fixed, you'll need a
workaround by converting the weird string that contains "COSName".
> FDFDocument.loadXFDF not working
> --------------------------------
>
> Key: PDFBOX-3596
> URL: https://issues.apache.org/jira/browse/PDFBOX-3596
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.3
> Reporter: Matt Wise
> Fix For: 2.0.5
>
>
> I have attached sample files that I used for testing in the external issue
> URL.
> I am trying to read in the values of each of the fields to create a font
> subset, however when I try to read the value of the fields, a blank line is
> returned. On closer inspection, the value stored in the field is a COSName
> object. When I set the value manually using field.setValue the value stored
> is a COSString object and it works correctly.
> Also, when trying to save the xfdf, the values are omitted.
> Expected:
> Imported XFDF values are stored as COSString objects
> saveXFDF correctly outputs values.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]