View Single Post
Old 08-27-2026, 06:09 AM   #254
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,908
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I've found more errors.

The book is a KF8 converted to ePub using KindleUnpack. That's where this error came from.

Here is the relevant code in the OPF file.
Code:
  <guide>
    <referen/>
    <reference type="start" title="Start" href="Text/cover.xhtml"/>
  </guide>
epubveri shows no error. epubcheck shows:
Code:
content.opf Line:47 Col:15 ERROR(RSC-005): Error while parsing file: element "referen" not allowed anywhere; expected element "reference"
If I change <referen/> to <abcdefg/> epubcheck shows:
Code:
content.opf Line:47 Col:15 ERROR(RSC-005): Error while parsing file: element "referen" not allowed anywhere; expected element "reference"
Now, I changed the ePub from 2.0 to 3.0 and now I find epubveri and epubcheck do not match the line/column for the next error.

Here is the OPF:
Code:
<?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" unique-identifier="uid">
  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
    <dc:title>The Long Game</dc:title>
    <dc:creator>Leckie, Ann</dc:creator>
    <dc:language>en</dc:language>
    <dc:identifier id="uid">1544457272</dc:identifier>
    <dc:identifier>urn:uuid:f9d24f3b-ddf4-4a1e-bdf2-f96c3bfe591c</dc:identifier>
    <dc:publisher>Amazon Original Stories</dc:publisher>
    <dc:source>eBook ISBN: 9781662515675</dc:source>
    <dc:date>2023-06-27</dc:date>
    <dc:rights>All rights reserved.</dc:rights>
  </metadata>
  <manifest>
    <item id="inserted" media-type="application/xhtml+xml" href="Text/cover.xhtml"/>
    <item id="x_titlepage" media-type="application/xhtml+xml" href="Text/titlepage.xhtml"/>
    <item id="x_copyright" media-type="application/xhtml+xml" href="Text/copyright.xhtml"/>
    <item id="x_startreading" media-type="application/xhtml+xml" href="Text/chapter01.xhtml"/>
    <item id="x_ch02" media-type="application/xhtml+xml" href="Text/chapter02.xhtml"/>
    <item id="x_ch03" media-type="application/xhtml+xml" href="Text/chapter03.xhtml"/>
    <item id="x_ch04" media-type="application/xhtml+xml" href="Text/chapter04.xhtml"/>
    <item id="x_ch05" media-type="application/xhtml+xml" href="Text/chapter05.xhtml"/>
    <item id="x_ch06" media-type="application/xhtml+xml" href="Text/chapter06.xhtml"/>
    <item id="x_ch07" media-type="application/xhtml+xml" href="Text/chapter07.xhtml"/>
    <item id="x_ata" media-type="application/xhtml+xml" href="Text/abouttheauthor.xhtml"/>
    <item id="ncx" media-type="application/x-dtbncx+xml" href="toc.ncx"/>
    <item id="item12" media-type="text/css" href="Styles/style0001.css"/>
    <item id="item16" media-type="image/jpeg" href="Images/author.jpg"/>
    <item id="x_cover-image" media-type="image/jpeg" href="Images/cover.jpg"/>
    <item id="item15" media-type="image/jpeg" href="Images/image00034.jpeg"/>
    <item id="item14" media-type="image/jpeg" href="Images/titlepage.jpg"/>
  </manifest>
  <spine toc="ncx">
    <itemref idref="inserted"/>
    <itemref idref="x_titlepage"/>
    <itemref idref="x_copyright"/>
    <itemref idref="x_startreading"/>
    <itemref idref="x_ch02"/>
    <itemref idref="x_ch03"/>
    <itemref idref="x_ch04"/>
    <itemref idref="x_ch05"/>
    <itemref idref="x_ch06"/>
    <itemref idref="x_ch07"/>
    <itemref idref="x_ata"/>
  </spine>
  <guide>
    <reference type="start" title="Start" href="Text/cover.xhtml"/>
  </guide>
</package>
epubveri shows:
Code:
OEBPS/content.opf	2	1	ERROR RSC-005: EPUB 3 requires a navigation document (a manifest item with properties="nav")
epubcheck shows:
Code:
content.opf Line:15 Col:13 ERROR(RSC-005): Error while parsing file: Exactly one manifest item must declare the "nav" property (number of "nav" items: 0).

Last edited by JSWolf; 08-27-2026 at 06:20 AM.
JSWolf is offline   Reply With Quote