Yesterday, 06:33 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: none
|
EPUBCheck finds errors with footnotes
EPUBCheck from W3C is throwing a lot of errors on a converted .docx to epub 2 file:
Referring to a footnote: Code:
<a role="doc-noteref" Code:
ERROR(RSC-005): book.epub/index_split_051.html(58,494): Validierungsfehler: Attribut "role" ist an diesem Element nicht erlaubt. Erlaubt ist nur das Attribut "accesskey", "charset", "coords", "dir", "hreflang", "lang", "rel", "rev", "shape", "style", "tabindex", "target", "type" oder "xml:lang" Is this something that I should care about and correct or does it not matter? |
Yesterday, 08:20 PM | #2 |
Bibliophagist
Posts: 37,474
Karma: 149856306
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Perhaps that 'role' is an ePub3 element has something to do with the error. For your own use, simply removing the role="whatever"s will work.
Alternatively, have calibre generate ePub3 files. |
Yesterday, 11:02 PM | #3 |
creator of calibre
Posts: 44,099
Karma: 22669824
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Today, 05:04 AM | #4 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: none
|
I think @kovidgoyal 's reply hits it well, thank you!
From the link: Quote:
|
|
Today, 07:10 AM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: none
|
|
Today, 08:03 AM | #6 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: none
|
I brought this into the bug tracker. It does not sit right with me that the role attribute is not removed, but also not intentionally added. Unfortunately @kovidgoyal is very quick with shutting down conversations.
https://bugs.launchpad.net/calibre/+bug/2072645 |
Today, 08:36 AM | #7 | |
Well trained by Cats
Posts: 30,067
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
Today, 09:41 AM | #8 |
Addict
Posts: 396
Karma: 1851162
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
|
Over the past decade or so I've prepared about a dozen books for publication working with several authors. At some point on nearly every single one I had to study up on some "error" thrown by some checking software, and go into the code to fix it. It is a moving target. A file Amazon took a month ago may not pass tomorrow. And it rarely makes any sense.
If you want to publish, just running a conversion will rarely be enough. You have to be willing to get into the code, learn the new glitch-of-the-day, and keep smiling. Or snarling. But that's the way it is. |
Today, 10:17 AM | #9 | |
creator of calibre
Posts: 44,099
Karma: 22669824
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
The *only* valid reason for me to dumb down calibre's output is if that output causes issues with a significant fraction of real world reading software. epubcheck simply isn't a reason I will ever do that. As I said in the FAQ, if this is a problem for you, then calibre is not the software for you. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Errors from epubcheck | crutledge | Plugins | 4 | 02-15-2015 07:57 AM |
Smashwords finds errors in my ePub file | Johneltin | Sigil | 24 | 08-08-2013 05:27 PM |
EPubCheck errors -- any idea how to fix? | eggheadbooks1 | ePub | 20 | 07-28-2011 12:43 PM |
epubcheck errors regarding NCX - can you help me translate these? | Dusk | ePub | 27 | 06-14-2011 09:58 PM |
beginner needs help with epubcheck errors... | jeanina | ePub | 10 | 01-25-2011 08:49 PM |