[ 
https://issues.apache.org/jira/browse/PDFBOX-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287110#comment-14287110
 ] 

Maruan Sahyoun commented on PDFBOX-2610:
----------------------------------------

in  the PDF/A-1,2,3 spec end of line (EOL) is defined as a one or two character 
sequence CR or LF or CR LF so to answer your question CR LF is ONE line ending. 

A small addition with regards to streams:

There is a small but important difference for EOL before the endstream keyword. 
In the PDF spec it is stated that there SHOULD be an EOL before the endstream  
keyword. in the PDF/A specs it is stated that there SHALL be an EOL before the 
endstream keyword. The restriction that after the stream keyword ONLY CR LF or 
LF (and not CR alone) are permitted didn’t change although it’s more precise 
now I think.

> Expand Isartor test for Bavaria test suite and other tests
> ----------------------------------------------------------
>
>                 Key: PDFBOX-2610
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2610
>             Project: PDFBox
>          Issue Type: Task
>          Components: Preflight
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>              Labels: photoshop
>
> 1) Expand the isartor test code so that it can also check conforming 
> documents, i.e. documents that should not bring any errors. Support JBIG2.
> 2) Test the files from the Bavaria suite with preflight. I'll create 
> sub-issues on that one. I counted 16 where something doesn't work as intented.
> 3) Include the Bavaria tests in the build. Only if we agree on this one. If 
> not, I'll just keep it for myself as an additional regression test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to