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, 07: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, 12:40 PM   #2
eschwartz
Irrational Optimist
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: 18,975
Karma: 82611913
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 online now  
Old 07-07-2016, 12: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, 02: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: 43,967
Karma: 29671756
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, 04: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: 36,536
Karma: 23693139
Join Date: Jan 2007
Location: San Borja (Lima), Peru
Device: Kindle PW2(WiFi) / FireHD; Kobo: Glo & Glo HD; Ipad Air; Voyage
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 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


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


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