You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Eric Leleu (JIRA)" <ji...@apache.org> on 2013/01/02 22:06:12 UTC
[jira] [Updated] (PDFBOX-1477) PDF/A file is declared invalid on
windows and valid with linux
[ https://issues.apache.org/jira/browse/PDFBOX-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Leleu updated PDFBOX-1477:
-------------------------------
Attachment: PDFB1477.patch
Hi,
This patch (PDFBOX1477.patch) fixes the problem on Windows. (Windows 7 Entreprise & Java 1.6)
With the "win.patch", some test cases failed on Linux.
BR,
Eric
> PDF/A file is declared invalid on windows and valid with linux
> --------------------------------------------------------------
>
> Key: PDFBOX-1477
> URL: https://issues.apache.org/jira/browse/PDFBOX-1477
> Project: PDFBox
> Issue Type: Bug
> Components: Preflight
> Environment: Windows 7
> Reporter: Guillaume Bailleul
> Fix For: 1.8.0
>
> Attachments: OPM_pdfa.pdf, PDFB1477.patch, win.patch
>
>
> The testing the attached file on windows, it is considered as an invalid PDF/A with that error :
> The fileOPM_pdfa.pdf is not valid, error(s) :
> 1.1 : Body Syntax error, Second line must contains at least 4 bytes greater than 127
> The same file is valid in a linux environment.
> I think the problem comes from a defined charset in PreflightParser. The attached patch fixes the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira