PDFBox
  1. PDFBox
  2. PDFBOX-1281

FDFDictionary parses fields in XFDF incorrectly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0, 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: PDModel
    • Labels:
      None

      Description

      FDFDictionary finds "fields" tag and then parses all of it's descendants which tag name is "field". But that is wrong, because only direct children of "fields" tag should be handled by FDFDictionary. All the other fields are handled recursively by FDFField constructor.

        Activity

        Hide
        Andreas Lehmkühler added a comment -

        I added the patch in revision 1326383 as proposed.

        Thanks for the contribution!

        Show
        Andreas Lehmkühler added a comment - I added the patch in revision 1326383 as proposed. Thanks for the contribution!
        Hide
        Ilya Sazonov added a comment -

        Patch to make FDFDictionary parse fields tag correctly

        Show
        Ilya Sazonov added a comment - Patch to make FDFDictionary parse fields tag correctly

          People

          • Assignee:
            Andreas Lehmkühler
            Reporter:
            Ilya Sazonov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development