07-07-2016, 07:05 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: iPad
|
ePub validation fails "role" tag
Using the IDPF Validator, my ePub failed with one error in content1.xhtml
Error while parsing file 'attribute "role" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang" Here is the code: <span role="heading" class="calibre1"> What should I do? Thanks in advance. |
07-07-2016, 12:40 PM | #2 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
https://manual.calibre-ebook.com/faq...e-is-not-valid
So, nothing really. Specs are not very meaningful, and validators can help point out problem issues but often (generally?) don't and produce noise instead. If you need help passing an EPUB through EpubCheck, ask in the EPUB subforum. It has nothing to do with calibre, and the calibre gurus are not the same people as the EpubCheck gurus. |
Advert | |
|
07-07-2016, 12:45 PM | #3 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: iPad
|
OK. Thanks.
|
07-07-2016, 02:28 PM | #4 |
Resident Curmudgeon
Posts: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The wrong thread was closed. This one should have been closed. It belongs in ePub as it is an ePub validation issue, not a conversion issue.
|
07-07-2016, 04:13 PM | #5 |
Grand Sorcerer
Posts: 44,734
Karma: 55645321
Join Date: Jan 2007
Location: Peru
Device: Kindle: Oasis 3, Voyage WiFi; Kobo: Libra 2, Aura One
|
The other one is now opened.
And this one is now closed. OP: Please do not double-post. Don (Moderator) |
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The element type "p" must be terminated by the matching end-tag "</p>". | uieluck | ePub | 10 | 02-12-2013 07:04 PM |
Bug in epub metadata writer? Invalid attribute role="aut" | Man Eating Duck | Calibre | 3 | 09-26-2012 09:55 AM |
ePub validation error: 'element "span" not allowed here' | nannygoats | ePub | 5 | 11-30-2011 08:47 AM |
meta tag "ePub creator" | ffarr | Sigil | 7 | 11-26-2010 12:20 AM |
Suggestion: Don't set "color" tag in .epub css | McAlsop | Calibre | 16 | 06-17-2010 09:13 AM |