Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-26-2025, 11:15 PM   #1
jejaffe
Junior Member
jejaffe began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2025
Device: none
?? Post vanished? / again: Calibre ODT>EPUB

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"/>

This code is all from the conversion. I didn't hand tweak it.

- - - incident #2

A similar error appears at over 900 locations
Error RSC-005
Message: Error while parsing file "version" or "xml:lang"

location is Line 2, col 60
From index_split_000.xhtml

<html xmlns="http://www.w3.org/1999/xhtml" class="calibre">

but that line (and the hundreds of others) is only 59 characters long.
The code above is all from the conversion. I didn't hand tweak it.

- - -

jejaffe is offline   Reply With Quote
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: 44,451
Karma: 167726581
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
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ODT--->EPUB/MOBI Kefir Conversion 7 12-11-2019 05:27 PM
Calibre converting portrait odt to landscape epub MarjaE Conversion 4 11-20-2017 09:35 AM
The problem of ODT in ePub Linwood Calibre 0 08-24-2010 09:08 AM
From ODT to EPUB with love roger64 Calibre 23 03-23-2010 05:32 AM
.odt 2 .epub renareto Calibre 4 02-11-2010 03:26 PM


All times are GMT -4. The time now is 03:11 PM.


MobileRead.com is a privately owned, operated and funded community.