You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Guillaume Bailleul (JIRA)" <ji...@apache.org> on 2013/01/05 08:02:13 UTC

[jira] [Resolved] (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 ]

Guillaume Bailleul resolved PDFBOX-1477.
----------------------------------------

    Resolution: Fixed
      Assignee: Guillaume Bailleul

Patch applied in r1429210.
                
> 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
>            Assignee: 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