You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Wim VN <wi...@gmail.com> on 2010/11/19 12:21:51 UTC

Re: PDF/A validation

8 0 obj
<</Type/Metadata/Subtype/XML/Length 2847>>stream
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:format>application/pdf</dc:format></rdf:Description>
<rdf:Description rdf:about=""
xmlns:pdf="http://ns.adobe.com/pdf/1.3/"><pdf:Producer>iText 5.0.5 (c) 1T3XT
BVBA</pdf:Producer></rdf:Description>
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/"><xmp:CreateDate>2010-11-19T11:59:33+01:00</xmp:CreateDate><xmp:ModifyDate>2010-11-19T11:59:33+01:00</xmp:ModifyDate></rdf:Description>
<rdf:Description rdf:about=""
xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/"><pdfaid:conformance>B</pdfaid:conformance><pdfaid:part>1</pdfaid:part></rdf:Description>
</rdf:RDF></x:xmpmeta>
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
<?xpacket end="w"?>
endstream
endobj

------

The above snippet is part of a pdf/a created by use of iText. They obviously
follow those recommendations closely. Indeed, the validator service I've
mentioned returns with a report stating the testfile is PDF/A-1b compliant.

Adding this to Apache FOP - either by default or configurable - would be
welcome. I can imagine it's not high on the demand list though. Maybe I
should start a petition ;-)

Wim


Jeremias Maerki-2 wrote:
> 
> Thank you for the link, Wim! That is very useful.
> 
> I'll look into these issues. Below I'll list my comments to the
> individual findings...
> 
> I have not found anything in the XMP, PDF 1.4 or PDF/A-1 specs that
> indicates that the XMP packet may not be read-only. Of course, using
> writable XMP packet opens up additional flexibility. PDF allows
> incremental changes to a document thus providing the ability to override
> the metadata. A writable packet increases PDF file size by 2-4KB just
> for the possibility that a non-PDF-specific tool wants to update the XMP
> packet. I know of no such commonly used tool.
> 
> Same as above (a writable packet implies the padding). I have not found
> any recommendation in XMP, PDF 1.4 or PDF/A-1 about this. As mentioned
> above, the recommended padding is 2-4KB which is rather large especially
> for smaller files. Maybe this could be made configurable if someone
> really wants the padding.
> 
> ...
> 
> 
-- 
View this message in context: http://old.nabble.com/PDF-A-validation-tp30066770p30256667.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org