.. _e9c8a1c0-c828-4ad3-9a37-a7b5288a6769: ============================================================================== Unrecognized or missing DOCTYPE declaration; validation continuing as HTML 3.2 ============================================================================== .. contents:: :depth: 2 -------------- Classification -------------- .. list-table:: :align: center * - **Validator** - **Validator version** - **Error message type** * - JHOVE - 1.32.1 - .. list-table:: :align: center * - **File format** - **Version** - **Specification** - **Description** - **Location** * - text/html - (:unav) - - - :ref:`corpus ` * - text/html - (:unav) - - - :ref:`corpus ` * - application/warc - (:unav) - - - :ref:`corpus ` * - application/warc - (:unav) - - - :ref:`corpus ` -------- Analyses -------- ------------------ Possible solutions ------------------ .. contents:: :local: No suggestion determined. All solutions are listed for browsing :ref:`in here `. -------------- Output example -------------- :: Validator returned error. 2025-10-29T17:26:02+02:00 HTML-hul 2025-10-28T08:43:04+02:00 91 HTML Well-Formed, but not valid Unrecognized or missing DOCTYPE declaration; validation continuing as HTML 3.2 This HTML version is currently not supported, falling back to HTML 3.2 text/html HTMLMetadata Title Otsikko MIME type (:unav) with version (:unav) is not supported. Found encoding declaration (:unav) from the file /corpus/file-scraper/tests/data/text_html/invalid_4.01_nodoctype.html, but UTF-8 was expected. ------------------ Notes on the error ------------------ ------------------------------ Related errors by source files ------------------------------ :: JHOVE: Document must have implicit or explicit HEAD element JHOVE: Unrecognized or missing DOCTYPE declaration; validation continuing as HTML 3.2 Validator.nu: error: Bad element name .*: Code point “U+003A” is not allowed Validator.nu: error: Element .* is missing a required instance of child element .*. Validator.nu: error: End tag for .* seen, but there were unclosed elements. Validator.nu: error: Non-space characters found without seeing a doctype first. Expected “”. Validator.nu: error: Start tag .* seen but an element of the same type was already open. Validator.nu: error: Stray start tag .*. Validator.nu: error: Unclosed element .*. Validator.nu: Start tag seen without seeing a doctype first. Expected ..!DOCTYPE html Notice: any operation suggested on this page should be carefully considered before use, as this article is in continuous development. Data is available at https://github.com/Digital-Preservation-Finland/knowledge-base.