HTM-009
Updated:
EPUBCheck HTM-009 is an error message: “The DOCTYPE provided is obsolete or irregular and can be removed.” A document's DOCTYPE is obsolete or irregular and can simply be removed.
The official message
The DOCTYPE provided is obsolete or irregular and can be removed.
- Default severity
- Error. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.
- EPUBCheck version
- 5.4.0
Typical causes
- Old DOCTYPEs kept from earlier versions of the book.
How to fix it
- Remove the DOCTYPE, or replace it with
<!DOCTYPE html>in XHTML content documents.
Terms used here
Other HTM messages
HTM-010Namespace "…" is unusual for the prefix "epub".HTM-011Entity is undeclared.HTM-004Irregular DOCTYPE: found "…", expected "…".HTM-003External entities are not allowed in EPUB v3 documents. External entity declaration found: ….HTM-025Non-registered URI scheme type found in href.HTM-045Encountered empty href.
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.