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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2011, 12:04 AM   #1
nannygoats
Junior Member
nannygoats began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2011
Location: Sacramento, CA
Device: Nook
ePub validation error: 'element "span" not allowed here'

Hello!

I'm trying to get a book published through Smashwords. I uploaded my MS Word .doc file and they spit back out an .epub file that I then ran through threepress.org's ePub validator, which produced the following 2 errors:

ERROR: sticky-readers-how-to-attract-a-loyal-blog-audience-by-writing-more-better(1).epub/tmp_0ef15818eaef2a2b1275c26c15e54ab4_U5NhAs.ch.fix ed.fc.tidied.stylehacked.xfixed_split_010.html(138 ): element "span" not allowed here; expected the element end-tag or element "address", "blockquote", "del", "div", "dl", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol", "p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")

ERROR: sticky-readers-how-to-attract-a-loyal-blog-audience-by-writing-more-better(1).epub/tmp_0ef15818eaef2a2b1275c26c15e54ab4_U5NhAs.ch.fix ed.fc.tidied.stylehacked.xfixed_split_010.html(139 ): text not allowed here; expected the element end-tag or element "address", "blockquote", "del", "div", "dl", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol", "p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")

So my question is, how do I locate lines 138 and 139 and in which file, so I can see the HTML they are talking about? I'm assuming they are referring to the xfixed_split_010.html file that I don't have access to. Or do I?

Thanks,
Margaret
nannygoats is offline   Reply With Quote
Old 11-30-2011, 12:29 AM   #2
shaina
Member
shaina began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2011
Device: iphone
try opening your epub with some epub editor like sigil or there many more there u may be able to see these htlm split chapters.
shaina is offline   Reply With Quote
 
Enthusiast
Old 11-30-2011, 12:59 AM   #3
nannygoats
Junior Member
nannygoats began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2011
Location: Sacramento, CA
Device: Nook
Hi Shaina,

Thank you so much for your response! Just before installing the Sigil software, I learned that an ePub file is simply a zip file. I was able to rename the .epub to a .zip extension, opened it and voila! Those split filenames were there and I saw where the problem was. I will definitely keep Sigil on my radar for the future though. Thanks again!

- Margaret
nannygoats is offline   Reply With Quote
Old 11-30-2011, 02:46 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,860
Karma: 2623257
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Please be aware that you have to re-zip with care. The zip has some special characteristics.
Toxaris is offline   Reply With Quote
Old 11-30-2011, 06:51 AM   #5
shaina
Member
shaina began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2011
Device: iphone
most welcome nannygoats and goodluck with ur book.
shaina is offline   Reply With Quote
Old 11-30-2011, 08:47 AM   #6
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: 36,129
Karma: 17161828
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
The problem you have is with the errors. You can't download the ePub from Smashwords, fix the errors and upload it back. You have to make any fixes in the Word document, upload that and hope it validate after converting.
JSWolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
element "img" not allowed in this context graniton Calibre 5 05-14-2012 11:39 PM
epubcheck: attribute "page-map" not allowed here error message Doitsu ePub 5 10-27-2011 08:51 PM
"Content is not allowed in prolog." - Enhanced Epub Error Help? AmpedUpDigital ePub 2 05-03-2011 11:38 AM
"Unfinished Element" Error spatel6549 Sigil 3 03-04-2011 04:31 PM
element "span" not allowed in this context jihwan Calibre 4 07-17-2010 09:25 PM


All times are GMT -4. The time now is 10:48 PM.


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