xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Agneta Walterscheidt (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FOP-2662) PDF with creator does not conform to PDF/A-1b although PDF/A-1b is requested
Date Mon, 07 Nov 2016 08:59:59 GMT
Agneta Walterscheidt created FOP-2662:

             Summary: PDF with creator does not conform to PDF/A-1b although PDF/A-1b is requested
                 Key: FOP-2662
                 URL: https://issues.apache.org/jira/browse/FOP-2662
             Project: FOP
          Issue Type: Bug
          Components: renderer/pdf
    Affects Versions: 2.1
         Environment: all
            Reporter: Agneta Walterscheidt
            Priority: Minor

A PDF file that is created with FOP as PDF/A-1b does not conform to PDF/A-1b when a creator
is set in the FOUserAgent. This is due to the fact that the XMPSchemaAdapter's allow a "compact"
format which means that array elements (sequence and bag) will only be written as such (i.e.
within <rdf:Seq> and <rdf:li> tags) when then array contains more than one element.
The default is compact=true and this is not changed by FOP's IFRenderer.
This is wrong at least for the creator in PDF/A-1: the creator must be given as one and only
element of a sequence - see for instance https://www.pdfa.org/wp-content/until2016_uploads/2011/08/tn0003_metadata_in_pdfa-1_2008-03-182.pdf:

If the Author entry (of PDF data type text string) is present in the document information
dictionary, the document’s Metadata must contain an equivalent entry dc:creator of XMP data
type seq ProperName where dc refers to the Dublin Core schema (the prefix is actually arbitrary).
While dc:creator is defined as a seq type in XMP, in PDF/A-1 this sequence must contain exactly
one entry."

This message was sent by Atlassian JIRA

View raw message