Summary: | PDF/A-1b compliance is broken in 1.1RC1 | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Oliver Moehrke <Oliver.Moehrke> |
Component: | Assignee: | fop-dev | |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 54038 | ||
Attachments: |
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
Created attachment 29402 [details]
FO-test-file, fonts and configuration to reproduce the non-compliant PDF/A-1b output.
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? 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.
Created attachment 29424 [details]
Updated FO test file.
I removed the XSL-part from "foptest.fo" so that this file can now be used with the -fo option of fop.bat.
|