========================================================================================================================================================== File header .*%PDF-1..* (offset = .*) starts at non-zero offset or does not match the pattern %PDF-1.n, where 'n' is a single digit number between 0 and 7 ========================================================================================================================================================== .. contents:: :depth: 2 -------------- Classification -------------- .. list-table:: :align: center * - **Validator** - **Validator version** - **Error message type** * - veraPDF - 1.28.2 - .. list-table:: :align: center * - **File format** - **Version** - **Specification** - **Description** - **Location** * - application/pdf - 1.8 - - - :ref:`corpus ` * - application/pdf - 1.8 - - - :ref:`corpus ` -------- Analyses -------- ------------------ Possible solutions ------------------ .. contents:: :local: -------------- Output example -------------- :: /corpus/file-scraper/tests/data/application_pdf/invalid_A-3b_wrong_version.pdf
The file header shall begin at byte zero and shall consist of "%PDF-1.n" followed by a single EOL marker, where 'n' is a single digit number between 0 (30h) and 7 (37h) CosDocument headerOffset == 0 && /^%PDF-1\.[0-7]$/.test(header) root File header %PDF-1.8 (offset = 0) starts at non-zero offset or does not match the pattern %PDF-1.n, where 'n' is a single digit number between 0 and 7
00:00:01.037
1 0 0 00:00:01.242
MIME type (:unav) with version (:unav) is not supported. ------------------ Notes on the error ------------------ ------------------------------ Related errors by source files ------------------------------ :: JHOVE: PDF minor version number is greater than .* veraPDF: File header .*%PDF-1..* (offset = .*) starts at non-zero offset or does not match the pattern %PDF-1.n, where 'n' is a single digit number between 0 and 7 Notice: any operation suggested on this page should be carefully considered before use, as this article is in continuous development.