Ralf Hauser created PDFBOX-2564:
-----------------------------------
Summary: be more precise with "Stream not read" error
Key: PDFBOX-2564
URL: https://issues.apache.org/jira/browse/PDFBOX-2564
Project: PDFBox
Issue Type: Sub-task
Components: Preflight
Affects Versions: 2.1.0
Reporter: Ralf Hauser
Priority: Minor
Currently, the error says:
"2 : Unknown error, Stream was not read - on page 1"
So while the validation doesn't really need to bother with the "EOL encountered
in white run", the pdf/A apparently contains further attributes such "/length"
that can no longer be confirmed or denied.
So,
1) the error should explain that.
2) If there is even not only a total length, but a specific length expected for
the COSStream, error should mention that among others
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)