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

parser.XmpUnexpectedElementException...Commercial validators verify as a valid PDF/A

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.8.0
    • Component/s: Preflight, XmpBox
    • Labels:
      None
    • Environment:
      Linux

      Description

      org.apache.padaf.xmpbox.parser.XmpUnexpectedElementException: Unexpected property definition in one of PDF/A Extension schemas description
      at org.apache.padaf.xmpbox.parser.XMPDocumentBuilder.parseSchemaDescription(XMPDocumentBuilder.java:732)
      at org.apache.padaf.xmpbox.parser.XMPDocumentBuilder.parseExtensionSchema(XMPDocumentBuilder.java:677)
      at org.apache.padaf.xmpbox.parser.PDFAExtentionSchemaPreprocessor.parseDescription(PDFAExtentionSchemaPreprocessor.java:74)
      at org.apache.padaf.xmpbox.parser.XMPDocumentBuilder.parse(XMPDocumentBuilder.java:164)
      at org.apache.padaf.xmpbox.parser.PDFAExtentionSchemaPreprocessor.process(PDFAExtentionSchemaPreprocessor.java:42)
      at org.apache.padaf.xmpbox.parser.XMPDocumentBuilder.parse(XMPDocumentBuilder.java:124)
      at org.apache.padaf.preflight.helpers.MetadataValidationHelper.innerValidate(MetadataValidationHelper.java:122)
      at org.apache.padaf.preflight.helpers.AbstractValidationHelper.validate(AbstractValidationHelper.java:91)
      at org.apache.padaf.preflight.AbstractValidator.runValidation(AbstractValidator.java:122)
      at org.apache.padaf.preflight.PdfA1bValidator.validate(PdfA1bValidator.java:97)
      at org.apache.padaf.preflight.Validator_A1b.validate(Validator_A1b.java:182)
      at org.apache.padaf.preflight.Validator_A1b.<init>(Validator_A1b.java:86)
      at org.apache.padaf.preflight.Validator_A1b.main(Validator_A1b.java:80)
      /home/fausser/WeirdOrigFlattenedPDFA.pdf is not valid, error(s) :
      3.1.3: Invalid Font definition, The FontFile2 is invalid
      3.1.3:Invalid Font definition, The FontFile2 is invalid
      2.4.3: Invalid Color space, DestOutputProfile is missing

        Attachments

        1. BullsEyePDFA.pdf
          70 kB
          William Fausser
        2. WeirdOrigFlattenedPDFA.pdf
          65 kB
          William Fausser

          Activity

            People

            • Assignee:
              leleueri Eric Leleu
              Reporter:
              bfausser William Fausser
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: