[xep-support] Problems producing PDF/A

From: François Yergeau <francois@xcential.com>
Date: Mon May 06 2013 - 12:39:13 PDT

Hi,

I'm trying to produce PDF/A conforming documents using XEP. I started
with the following minimal test document:

<?xml version="1.0" encoding="UTF-8"?>
<?xep-pdf-pdf-a pdf-a-1a?>
<?xep-pdf-linearize true?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xml:lang="en-US">
     <fo:layout-master-set>
         <fo:simple-page-master master-name="page" page-width="8.5in"
page-height="11in>
             <fo:region-body region-name="xsl-region-body"/>
         </fo:simple-page-master>
     </fo:layout-master-set>
     <fo:page-sequence master-reference="page">
         <fo:flow flow-name="xsl-region-body">
             <fo:block font-family="Times">Lorem ipsum</fo:block>
         </fo:flow>
     </fo:page-sequence>
</fo:root>

I run XEP (4.21, with accessibility turned on) on this and then check
PDF/A conformance using 3-Heights PDF Validator and Acrobat Preflight.
After solving some issues related to font embedding and color profiles,
I'm left with some errors that don't seem to be under my control. PDF
Validator reports the following:

0, 0, 0x0341851C, "The ID in the 1st page and last trailer of a
linearized file are different.", 1
0, 0, 0x03418523, "The separator before the object number must be an
EOL.", 1
0, 13, 0x0A094006, "Deprecated content of XMP packet header attribute
'begin': ''.", 1
1, 20, 0x0041060B, "The key Metadata is recommended.", 1
1, 0, 0x83410612, "The document does not conform to the requested
standard.", 1

Acrobat Preflight seems to report about the same thing, but will not let
me copy-paste it here. The bottom line is that my PDF is not PDF/A
conforming and I don't quite see what I can do to get it to conform.
Would anyone with a clue care to comment?

To get that far I had to add a PI to my source FO:

<?xep-pdf-icc-profile url(sRGB_IEC61966-2-1_black_scaled.icc)?>

I obtained this color profile from the ICC website (www.color.org) but I
have no idea whether it is a good, let alone optimal, choice. My target
documents are grey-level, almost entirely text. Anyone knows this stuff?

Regards,

-- 
François Yergeau
Xcential Group LLC
!DSPAM:87,518806f29859766616075!
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Mon May 6 12:39:33 2013

This archive was generated by hypermail 2.1.8 : Mon May 06 2013 - 12:39:38 PDT