Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2610 Expand Isartor test for Bavaria test suite and other tests
  3. PDFBOX-2619

XMP dates contain time zone, while document info dates do not, and this isn't detected by preflight

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.8, 2.0.0
    • Fix Version/s: 1.8.9, 2.0.0
    • Component/s: Preflight
    • Labels:
      None

      Description

      Another one from the Bavaria test suite:

      /CreationDate(D:20090317081112) 
      /ModDate(D:20090317081112)
      <xmp:CreateDate>2009-03-17T08:11:12Z</xmp:CreateDate>
      <xmp:ModifyDate>2009-03-17T08:11:12Z</xmp:ModifyDate>
      

      The info dates do not have a timezone, but the xmp dates do (Z = "Zulu"). This information (whether there was a timezone information in the string) is "lost" in our conversion methods

      Amusingly, PDF Tools says the file is valid.

        Attachments

        1. empty_word.pdf
          50 kB
          Tilman Hausherr

          Issue Links

            Activity

              People

              • Assignee:
                msahyoun Maruan Sahyoun
                Reporter:
                tilman Tilman Hausherr
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: