[ https://issues.apache.org/jira/browse/PDFBOX-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231966#comment-13231966 ]
Eric Leleu commented on PDFBOX-1260: ------------------------------------ Hi, "BluesEyePDFA.pdf" is a vlid PDF/A. (Test done with the "trunk" version included PDFBOX-1236 / PDFBOX-1245 / PDFBOX-1251). The "WeirdOrigFlattenedPDFA.pdf" seems to be an invalid PDF/A due to the font problems. - The error about the ColorSpace is fixed in the "trunk" version. - The Xmp Error is effectively the same issue as the PDFBOX-1103. In this PDF, a TrueType font uses the FontFile3 in the FontDescription dictionary (it should be the FontFile2) And the specified subtype for this FontFile is Type1C. According to the PDF Référence, " FontFile3 / Type1C (PDF 1.2) Type 1–equivalent font program represented in the Compact Font Format (CFF), as described in Adobe Technical Note #5176, The Compact Font Format Specification. This entry can appear in the font descriptor for a Type1 or MMType1 font dictionary" So the Font problem seems to be well detected. BR, Eric > parser.XmpUnexpectedElementException...Commercial validators verify as a > valid PDF/A > ------------------------------------------------------------------------------------ > > Key: PDFBOX-1260 > URL: https://issues.apache.org/jira/browse/PDFBOX-1260 > Project: PDFBox > Issue Type: Bug > Components: Preflight, XmpBox > Affects Versions: 1.7.0 > Environment: Linux > Reporter: William Fausser > Attachments: BullsEyePDFA.pdf, WeirdOrigFlattenedPDFA.pdf > > > 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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira