|
|
#1 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 679
Karma: 1085478
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-600, Acer 1825PT, Galaxy Tab, PRS-T1, HTC One X, TF700T
|
Epub Check Errors (loads!)
This time I thought I'd try them on one of my epubs and see how I did. I used the epub validator tool on threepress.org and sat back and waited for the result. I was expecting maybe one or two errors as the code looked pretty ok to me, I did not expect what I got! 223 lines of errors! I've had a look and can't find anything wrong. Most of the errors appear to be the same problem, heres an extact form the errors: 1.ERROR: Complete Collaborative Works of H. P. Lovecraft.epub/OEBPS/Text/aeons_ch01.xhtml(27): text not allowed here 2.ERROR: Complete Collaborative Works of H. P. Lovecraft.epub/OEBPS/Text/aeons_ch01.xhtml(27): unfinished element 3.ERROR: Complete Collaborative Works of H. P. Lovecraft.epub/OEBPS/Text/alonzo_ed.xhtml(20): element "b" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context 4.ERROR: Complete Collaborative Works of H. P. Lovecraft.epub/OEBPS/Text/alonzo_ed.xhtml(20): text not allowed here 5.ERROR: Complete Collaborative Works of H. P. Lovecraft.epub/OEBPS/Text/alonzo_ed.xhtml(20): element "sup" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context 6.ERROR: Complete Collaborative Works of H. P. Lovecraft.epub/OEBPS/Text/alonzo_ed.xhtml(22): text not allowed here 7.ERROR: Complete Collaborative Works of H. P. Lovecraft.epub/OEBPS/Text/battle_text.xhtml(50): text not allowed here I've attached a text file with all the errors in (beware, it's long!) and the file I ran it on. If anyone can point out where I've gone wrong on any of the errors I'd be most greatful.
__________________
Get 5GB of online storage for free from SugarSync. Click here for an additional 500MB to give you 5.5GB for free. Always have your stuff when you need it with @Dropbox. 2GB account is free! Click here Currently working on updating some of my Lovecraft work after receiving some corrections |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,181
Karma: 539735
Join Date: Sep 2009
Device: PRS-505
|
The contents of blockquote should be block elements NOT text.
http://xhtml.com/en/xhtml/reference/blockquote/
__________________
if ePub is Homo neanderthalensis, then Mobipocket is a bunch of baboons flashing their bottoms at each other |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 679
Karma: 1085478
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-600, Acer 1825PT, Galaxy Tab, PRS-T1, HTC One X, TF700T
|
Ahhh, I get it. I'll need to look at those blockquote elements and set the contents as block elements or replace them with paragraphs with larger margins.
Thanks.
__________________
Get 5GB of online storage for free from SugarSync. Click here for an additional 500MB to give you 5.5GB for free. Always have your stuff when you need it with @Dropbox. 2GB account is free! Click here Currently working on updating some of my Lovecraft work after receiving some corrections |
|
|
|
|
|
#4 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,150
Karma: 2505637
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
|
Just use paragraphs inside the blockquote:
Code:
<p>Blah, blah, blah wrote:</p> <blockquote> <p>Dear Sir,</p> <p>Blah, blah, blah.</p> <p>Sincerely,</p> <div class="signature">Myself</div> </blockquote> <p class="noindent">and went to bed.</p> )
|
|
|
|
|
|
#5 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 679
Karma: 1085478
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-600, Acer 1825PT, Galaxy Tab, PRS-T1, HTC One X, TF700T
|
Thanks Guys.
That's the problem with self learning, it's easy to miss something if what you doing appears to work, you only find out when it's too late. I'm going to have to look at all my books I've posted here as I suspect they all contain this problem.
__________________
Get 5GB of online storage for free from SugarSync. Click here for an additional 500MB to give you 5.5GB for free. Always have your stuff when you need it with @Dropbox. 2GB account is free! Click here Currently working on updating some of my Lovecraft work after receiving some corrections |
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,181
Karma: 539735
Join Date: Sep 2009
Device: PRS-505
|
Don't worry, abuse of the blockquote tag is pretty common among lots of people who should know better. There are some mobi books I've converted that needed loads of work to strip out the nested blockquotes because the person who coded them couldn't be bothered to write proper css.
__________________
if ePub is Homo neanderthalensis, then Mobipocket is a bunch of baboons flashing their bottoms at each other |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you check a book for errors? | Davimee | Astak EZReader | 12 | 10-05-2010 01:39 PM |
| HTML Loads To Sigil w/ Errors | FlooseMan Dave | Sigil | 1 | 08-21-2010 09:15 PM |
| errors after epub check | ericp20 | Sigil | 2 | 06-13-2010 10:40 AM |
| PRS-505 Loads and Loads and Loads | profdreamer | Sony Reader | 8 | 05-01-2009 05:25 AM |
| Loads of errors in a Penguin epub | iozy | Sony Reader | 2 | 04-29-2009 04:22 AM |