[
https://issues.apache.org/jira/browse/PDFBOX-2408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14163312#comment-14163312
]
Andreas Lehmkühler commented on PDFBOX-2408:
--------------------------------------------
I had a look at the pdf in question. The object offsets within the xref table
don't point exactly to the object, there are some trailing whitespaces. That's
what preflight is complaining about. So the question is, are we allowed to skip
those whitespaces?
> false negative? 1.2.1 : Body Syntax error, Single space expected ...
> ---------------------------------------------------------------------
>
> Key: PDFBOX-2408
> URL: https://issues.apache.org/jira/browse/PDFBOX-2408
> Project: PDFBox
> Issue Type: Bug
> Components: Preflight
> Affects Versions: 2.0.0
> Environment: deb7, java7
> Reporter: Ralf Hauser
> Attachments: KOST_mm_image2pdfa.pdf.pdftron-log.xml, Problems
> (08.10.2014)_003.pdf, mm_image2pdfa.pdf, mm_image_validation_report.xml
>
>
> "mm_image2pdfa.pdf" is not valid, error(s) : Tue Oct 07 10:00:30 CEST 2014
> - 1: 1.2.1 : Body Syntax error, Single space expected [offset=235859;
> key=235859; line=; object=COSObject{14, 0}]
> - 2: 1.2.1 : Body Syntax error, Single space expected [offset=235637;
> key=235637; line=; object=COSObject{13, 0}]
> - 3: 1.2.1 : Body Syntax error, Single space expected [offset=15; key=15;
> line=; object=COSObject{1, 0}]
> - 4: 1.2.1 : Body Syntax error, Single space expected [offset=232167;
> key=232167; line=; object=COSObject{5, 0}]
> - 5: 1.2.1 : Body Syntax error, Single space expected [offset=32399;
> key=32399; line=; object=COSObject{6, 0}]
> - 6: 1.2.1 : Body Syntax error, Single space expected [offset=2688; key=2688;
> line=; object=COSObject{2, 0}]
> - 7: 1.2.1 : Body Syntax error, Single space expected [offset=32169;
> key=32169; line=; object=COSObject{4, 0}]
> - 8: 1.2.1 : Body Syntax error, Single space expected [offset=232040;
> key=232040; line=; object=COSObject{3, 0}]
> - 9: 1.2.1 : Body Syntax error, Single space expected [offset=231334;
> key=231334; line=; object=COSObject{10, 0}]
> - 10: 1.2.1 : Body Syntax error, Single space expected [offset=231143;
> key=231143; line=; object=COSObject{9, 0}]
> - 11: 1.2.1 : Body Syntax error, Single space expected [offset=32617;
> key=32617; line=; object=COSObject{7, 0}]
> - 12: 1.2.1 : Body Syntax error, Single space expected [offset=32708;
> key=32708; line=; object=COSObject{8, 0}]
> - 13: 1.2.1 : Body Syntax error, Single space expected [offset=231640;
> key=231640; line=; object=COSObject{11, 0}]
> - 14: 1.2.1 : Body Syntax error, Single space expected [offset=232223;
> key=232223; line=; object=COSObject{12, 0}]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)