|Summary:||PDF/A-1b compliance is broken in 1.1RC1|
|Product:||Fop - Now in Jira||Reporter:||Oliver Moehrke <Oliver.Moehrke>|
|Bug Depends on:|
FO-test-file, fonts and configuration to reproduce the non-compliant PDF/A-1b output.
Updated FO test file.
Description Oliver Moehrke 2012-09-21 08:53:51 UTC
While the patch for Bug #51270 fixed a PDF/A-1b compliance issue some time ago, the actual v1.1RC1 breaks the PDF/A-1b compliance again. Adobe Preflight 9.2.0 finds two new issues, if I use FOP v1.1RC1 instead of the patched v1.0: - CIDSet in subset font is incomplete (5 matches on 1 page) - XMP property not predefined and no extension schema I created a ready-to-run test-FO-file with a suitable configuration in the attachment for v1.0, v1.0HF1 and v1.1RC1. I also added the resulting PDF-files and the (german) reports of Adobe Preflight 9.2.0.
Comment 1 Oliver Moehrke 2012-09-21 09:09:23 UTC
Created attachment 29402 [details] FO-test-file, fonts and configuration to reproduce the non-compliant PDF/A-1b output.
Comment 2 Mehdi Houshmand 2012-09-26 10:32:22 UTC
You haven't attached an FO, you've attached an XSL style-sheet without the corresponding XML file. I used PDFBox preflight and it came up with the following warnings: 7.1 : Error on MetaData, An error has occured when processing the underlying XMP source 1.4.9 : Trailer Syntax error, Outline Hierarchy doesn't have Count entry These warning don't seem to be the same as Acrobat Pro. I'll try running that PDF in Acrobat Pro, but in the meantime could you attach the FO you used please?
Comment 3 Oliver Moehrke 2012-09-26 12:50:39 UTC
The provided "foptest.fo" from attachment 29402 [details] is in fact a combination of an XSL and an XSL-FO part to benefit from the <xsl:attribute-set> tag of XSL. In Java, I use an identity transformer to produce the PDF output. On the commandline I use the following to produce the PDF/A-1b output: fop.bat -c conf\fop_conf.xml -xml foptest.fo -xsl foptest.fo -pdfa1b foptest.pdf The created output of FOP v1.1 RC1 produces the above stated two errors (see foptest_11rc1_report.pdf - I translated the error messages for you). To create a PDF/A-1b file that Adobe Preflight tests without errors from the same "foptest.fo" you need to apply the patch from #51270 to the original v1.0 FOP source tree (see foptest_10hf1_report.pdf - no errors in here). Other tools, like CABAReT Stage from Intarsys, warn about other issues (e.g. EAAAAI+DroidSans and EAAAAJ+DroidSans-Bold do that do not have a valid metadata entry). But these are only warnings.