Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3661

Problem With Malformed xref

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4
    • 2.0.5, 3.0.0 PDFBox
    • Parsing
    • None
    • Windows 10 JVM 8

    Description

      Some files generated with unknown software. Generated malformed xref table, this instead of being well-formed with the correct EOL is in one line.

      Other readers correctly read the file, and sign it.

      PDFBox instead give Exception for malformed xref.

      I tried created a patch that allows you to read the above mentioned file. Because the original file is private I proceeded to recreate one the patch works with both.

      Attachments

        1. from_trunk.patch
          1 kB
          Marco Monacelli
        2. simple_malformed_doc_signed.pdf
          165 kB
          Marco Monacelli
        3. simple_malformed_doc.pdf
          145 kB
          Marco Monacelli

        Issue Links

          Activity

            People

              lehmi Andreas Lehmkühler
              marcom1981@gmail.com Marco Monacelli
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: