[ 
https://issues.apache.org/jira/browse/PDFBOX-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Leleu resolved PDFBOX-1260.
--------------------------------

    Resolution: Fixed
      Assignee: Eric Leleu

Hi,

As mentioned, the "BluesEyePDFA" is marked as a valid PDF/A-1b.

The "WeirdOrigFlattenedPDFA" file isn't valid due to Font issue as explain in 
my last comment.

3.1.3 : Invalid Font definition, The FontFile2 is missing for OZNUGM+ArialMT
3.1.3 : Invalid Font definition, The FontFile2 is missing for 
XZNKCS+Arial-BoldMT

"OZNUGM+ArialMT" and "XZNKCS+Arial-BoldMT" are TrueType fonts and the embedded 
font is set in the FontFile3 entry using the Type1C subtype. FontFile3 entry 
can be used for TrueType iff the subtype is set to OpenType.


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
>            Assignee: Eric Leleu
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to