Guillaume Bailleul created PDFBOX-1477:
------------------------------------------

             Summary: 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


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

Reply via email to