|07-07-2016, 07:05 AM||#1|
Join Date: Jun 2016
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|
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
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.
|07-07-2016, 02:28 PM||#4|
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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|
Join Date: Jan 2007
Location: San Borja (Lima), Peru
Device: Kindle PW2(WiFi) / FireHD; Kobo-Glo; Ipad Air; Voyage; Boox C67-ML
The other one is now opened.
And this one is now closed.
OP: Please do not double-post.
|Thread Tools||Search this Thread|
|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|