01-27-2011, 09:08 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2011
Location: Hereford, UK
Device: None
|
Validation
I'm new to conversion and am trying to convert my books into Epub. Am using Calibre to do the job, thought I was doing fine as the result seemed legible to me, ran a Validation check using the facility in Sigil, and found a host of problems. May of them read "attribute 'clear' is not declared for element 'br'", some read "hspace" instead of "Clear", one reads "value 'Picture 2' is invalid NCName" and one "The <language> element is missing.". I have absolutely no idea what any of that means. Can anyone tell me if it's fixable, or should I give up and pay someone like Lulu to do it?
|
01-27-2011, 10:38 AM | #2 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to post in the epub forum to find out how to create valid epub files. calibre will only produce valid output if you give it valid input
|
01-27-2011, 10:38 AM | #3 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Those are all fixable, but if you don't understand html it's not trivial to fix them.
In many cases Sigil will let you double click on the error in question and it will take you to the source of the error so you can fix it. The 'clear' example is most likely a line in your css that says 'clear' - you can simply delete the line and it will get rid of the error, but it may change your formatting in some areas of the book, you'd need to review it. Similar for hspace. You might have more luck on the Sigil or epub forum for individual errors - Calibre won't be able to fix these automatically generally speaking, though you could try to do an epub to epub conversion to see if it could eliminate some of them. |
01-27-2011, 11:10 AM | #4 | |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I simply replace that with a <br /> to make FC happy clear="all" is valid HTML4.01 , but I have no idea about a valid EPUB? |
|
01-28-2011, 02:17 AM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2011
Location: Hereford, UK
Device: None
|
I'm getting there, which would have been impossible without all the help from this forum. VERY many thanks indeed.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Validation issues | Alda | Sigil | 18 | 01-30-2011 01:42 PM |
Error during validation | macdafydd | ePub | 19 | 12-01-2010 06:07 PM |
Validation tools | LGN | Sigil | 9 | 11-20-2010 01:40 AM |
Validation error | rrosenwald | Calibre | 10 | 10-01-2010 11:12 AM |
Validation Errors | luthar28 | ePub | 13 | 08-10-2010 12:24 PM |