View Single Post
Old 03-26-2025, 11:42 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,482
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jejaffe View Post
Been converting ODT>EPUB for years and it worked fine until a few weeks ago. The EPUBChecker is reporting two groups (incidents) of error

- - - incident #1

error RSC-005
message: error while parsing file :///www.w3.org/2000/svg
The error appears in two files. Here is one

File index_split_515.xhtml
Line 10, col 98
Line 10 is shown in its entirety below.
Col 98 starts with "img alt ..."

<h3 class="p-p42" id="calibre_pb_524"><span id="anchor608" class="s-t"></span><div class="g-fr1"><img alt=" " src="Pictures/100000000000045E0000032C7492DD5B.png" class="calibre6"/>
Looking at the code, you have a <div> inside the <h3> tag. Even if you have a </div></h3> after the class="calibre6"/>, you can't place a div inside a h?, p, etc.

In an otherwise empty file, I added:

Code:
<h3 class="p-p42" id="calibre_pb_524"><span id="anchor608" class="s-t"></span><div class="g-fr1"><img alt=" " src="Pictures/100000000000045E0000032C7492DD5B.png" class="calibre6"/></div></h3>
then ran epubcheck 5.2.0 and it spat out:

Code:
Col: 98: ERROR(RSC-005): Error while parsing file: element "div" not allowed here; expected the element end-tag, text or element "a", "abbr", "acronym", "applet", "b", "bdo", "big", "br", "cite", "code", "del", "dfn", "em", "i", "iframe", "img", "ins", "kbd", "map", "noscript", "ns:svg", "object", "q", "samp", "script", "small", "span", "strong", "sub", "sup", "tt" or "var" (with xmlns:ns="http://www.w3.org/2000/svg")
DNSB is offline   Reply With Quote