View Single Post
Old 06-20-2025, 11:53 AM   #15
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,741
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
Is this the latest epubcheck?

According to the latest official docs on mapping the epub:type referrer is now called backlink.

So perhaps they have not updated epubcheck to meet their own latest standards.
I created a new epub3 file with the following contents:

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>title</title>
</head>

<body>
  <section epub:type="endnotes" role="doc-endnotes">
    <ol>
      <li id="en1" epub:type="endnote"><p><a href="Section0001.xhtml#en1" epub:type="backlink" role="doc-backlink">[1]</a> TEXT_OF_ENDNOTE_HERE</p></li>
    </ol>
  </section>
</body>
</html>


(I added a circular dummy backlink.)

EPUBCheck 2.5.1 didn't complain about it.
Here's the partial .json output:

Spoiler:
Code:
  "checker" : {
    "path" : "C:\\Users\\user\\AppData\\Local\\sigil-ebook\\sigil\\plugins\\EpubCheck\\temp.epub",
    "filename" : "temp.epub",
    "checkerVersion" : "5.2.1",
    "checkDate" : "06-20-2025 17:47:20",
    "elapsedTime" : 41944,
    "nFatal" : 0,
    "nError" : 0,
    "nWarning" : 0,
    "nUsage" : 0
  },


Most likely, philja is using an older version or there's another syntax issue in his code.
Doitsu is offline   Reply With Quote