View Single Post
Old 07-17-2026, 04:33 PM   #96
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,853
Karma: 24222221
Join Date: Dec 2010
Device: Kindle PW2
@KevinH

Out of curiosity, I tested an epub3 book with some elements that were at one point deprecated in XHTML.

Spoiler:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
  <title>Obsolete elements</title>
</head>

<body>
  <h1>Obsolete elements</h1>

  <p>This paragraph uses the <big>big</big> tag, which was deprecated in HTML5, but was still valid in XHTML 1.1.</p>

  <center><p>This paragraph uses <font color="red" size="+1">colored, resized font</font> text, along with <s>strikethrough (s)</s>, <strike>strikethrough (strike)</strike>, and <u>underlined</u> text.</p></center>
</body>
</html>


epubveri flagged: big, center, font and strike.

However, EPUBCheck only flagged big and center.

EPUBCheck output:

Spoiler:
Code:
Validating using EPUB version 3.3 rules.
ERROR(RSC-005): OEBPS/Text/Section0001.xhtml(12,35): Error while parsing file: element "big" not allowed here; expected the element end-tag, text, element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "data", "datalist", "del", "dfn", "em", "embed", "epub:switch", "i", "iframe", "img", "input", "ins", "kbd", "label", "link", "map", "mark", "meta", "meter", "ns1:math", "ns2:svg", "object", "output", "picture", "progress", "q", "ruby", "s", "samp", "script", "select", "slot", "small", "span", "strong", "sub", "sup", "template", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg") or an element from another namespace
ERROR(RSC-005): OEBPS/Text/Section0001.xhtml(14,11): Error while parsing file: element "center" not allowed here; expected the element end-tag, text, element "a", "abbr", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "blockquote", "br", "button", "canvas", "cite", "code", "data", "datalist", "del", "details", "dfn", "dialog", "div", "dl", "em", "embed", "epub:switch", "epub:trigger", "fieldset", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "i", "iframe", "img", "input", "ins", "kbd", "label", "link", "main", "map", "mark", "menu", "meta", "meter", "nav", "ns1:math", "ns2:svg", "object", "ol", "output", "p", "picture", "pre", "progress", "q", "ruby", "s", "samp", "script", "search", "section", "select", "slot", "small", "span", "strong", "sub", "sup", "table", "template", "textarea", "time", "u", "ul", "var", "video" or "wbr" (with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg") or an element from another namespace


Would you agree that this is an actual EPUBCheck bug?

Last edited by Doitsu; 07-17-2026 at 04:35 PM.
Doitsu is offline   Reply With Quote