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. |
Advert | |
|
Yesterday, 11:02 PM | #3 |
creator of calibre
Posts: 44,096
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
|
|
Advert | |
|
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 |
|
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 |