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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.8, 2.0.0
    • 1.8.9, 2.0.0
    • Preflight
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: