[ 
https://issues.apache.org/jira/browse/PDFBOX-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler resolved PDFBOX-4578.
----------------------------------------
    Resolution: Fixed

I've fixed the EOL-detection for the {{stream}} keyword. It returned the wrong 
error number 1.2.5 instead of 1.2.2. The EOL-detection for the {{endstream}} 
keyword still uses the wrong error number in some cases as it is hard to say 
which issue triggers the error, a missing keyword/EOL or a wrong stream length.
I'm going to fix that in the context of the ondemand parser effort as this 
issue is a problem when switching the preflight parser to ondemand

> Overhaul StreamValidationProcess
> --------------------------------
>
>                 Key: PDFBOX-4578
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4578
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Preflight
>    Affects Versions: 2.0.15, 3.0.0 PDFBox
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>             Fix For: 2.0.16, 3.0.0 PDFBox
>
>
> The method 
> {{org.apache.pdfbox.preflight.process.StreamValidationProcess.checkStreamLength(PreflightContext,
>  COSObject)}} needs to be overhauled/fixed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to