You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error arises in the process of creating a CrossReferenceTable from the PDF stream, specifically related to the handling of end-of-line characters. The error message is as follows:
Error Message:
ParsingError: Cannot create CrossReferenceTable from PDF stream at position 28. Wrong end of line (must be \r\n or \n)
at CrossReferenceTable.fromPDF (peculiar.pdf.core.es.js:329:1)
at PDFDocumentUpdate.fromPDF (peculiar.pdf.core.es.js:8951:1)
at PDFDocumentUpdate.fromPDF (peculiar.pdf.core.es.js:8974:1)
at PDFDocumentUpdate.fromPDF (peculiar.pdf.core.es.js:8974:1)
at PDFDocument.fromPDF (peculiar.pdf.core.es.js:9516:1)
at PDFDocument.fromPDF (peculiar.pdf.core.es.js:9438:1)
at PDFDocument.load (peculiar.pdf.doc.es.js:6455:1)
at Module.<anonymous> (verify.ts:502:1)
at Generator.next (<anonymous>)
at tslib.es6.js:121:1
Steps to Reproduce:
The issue is observed when attempting to read auto-generated PDF documents, such as in the provided example: Audit for Hello (1).pdf.
The error occurs during the parsing phase.
The text was updated successfully, but these errors were encountered:
The issue with the provided PDF document is that there's a space character (0x20) among the end-of-line symbols, while the only allowed characters are \n and \r.
I plan to modify the end-of-line check rule to accommodate reading various characters.
The error arises in the process of creating a
CrossReferenceTable
from the PDF stream, specifically related to the handling of end-of-line characters. The error message is as follows:Error Message:
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: