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

PDF/A file is declared invalid on windows and valid with linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.0
    • Preflight
    • None
    • Windows 7

    Description

      The testing the attached file on windows, it is considered as an invalid PDF/A with that error :

      The fileOPM_pdfa.pdf is not valid, error(s) :
      1.1 : Body Syntax error, Second line must contains at least 4 bytes greater than 127

      The same file is valid in a linux environment.

      I think the problem comes from a defined charset in PreflightParser. The attached patch fixes the problem.

      Attachments

        1. win.patch
          1 kB
          Guillaume Bailleul
        2. PDFB1477.patch
          3 kB
          Eric Leleu
        3. OPM_pdfa.pdf
          22 kB
          Guillaume Bailleul

        Activity

          People

            gbm.bailleul Guillaume Bailleul
            gbm.bailleul Guillaume Bailleul
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: