Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 07-07-2016, 08:05 AM   #1
navyo
Junior Member
navyo began at the beginning.
 
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.
navyo is offline  
Old 07-07-2016, 01:40 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,148
Karma: 82980001
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.
eschwartz is offline  
 
Advertisement
Old 07-07-2016, 01:45 PM   #3
navyo
Junior Member
navyo began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: iPad
OK. Thanks.
navyo is offline  
Old 07-07-2016, 03:28 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 44,895
Karma: 31773514
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.
JSWolf is offline  
Old 07-07-2016, 05:13 PM   #5
Dr. Drib
Grand Sorcerer
Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.
 
Dr. Drib's Avatar
 
Posts: 37,518
Karma: 24599139
Join Date: Jan 2007
Location: San Borja (Lima), Peru
Device: Kinndle: Oasis 3G, Voyage WiFi;FireHD; Kobo: Aura One, Glo HD
The other one is now opened.

And this one is now closed.

OP: Please do not double-post.


Don
(Moderator)
Dr. Drib is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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 08:04 PM
Bug in epub metadata writer? Invalid attribute role="aut" Man Eating Duck Calibre 3 09-26-2012 10:55 AM
ePub validation error: 'element "span" not allowed here' nannygoats ePub 5 11-30-2011 09:47 AM
meta tag "ePub creator" ffarr Sigil 7 11-26-2010 01:20 AM
Suggestion: Don't set "color" tag in .epub css McAlsop Calibre 16 06-17-2010 10:13 AM


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


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