07-22-2011, 12:46 PM | #1 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
Epub validation error (toc)
Hi y'all. First posting here. Feeling a bit shy. *sticks toe in the water gingerly* When I run my near-perfect (no, really!) epub through the validator in Sigil, I get this error message:
Quote:
CSS code: Code:
.crescent{ width:30%; text-align:center; margin-left:auto; margin-right:auto; } Code:
<div class="crescent"> <strong><img alt="crescent.gif" class="image" src="../Images/crescent_fmt.gif" width="100%" /></strong> </div> |
|
07-22-2011, 02:33 PM | #2 | |
Well trained by Cats
Posts: 29,803
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:
It may be a name difference if you also get a message about a missing image. Also. Case sensitive file nemes trip you up: gif and GIF are not the same in all file systems, so the rules are case sensitive checked. |
|
Advert | |
|
07-22-2011, 02:40 PM | #3 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
Hmm...could it be the _fmt?
Quote:
I don't know why the _fmt is on there or what it means or when it slipped in. Gah! |
|
07-22-2011, 03:27 PM | #4 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
OMG, I figured it out! That's exactly what it was. The added numbers to the file name "crescent.gif" were added by sigil (or something) and then they weren't being called out in the xhtml files properly. I just tested one file, added the number, and voila! it worked.
Woot! Thanks ducks! |
07-22-2011, 09:04 PM | #5 | |
Well trained by Cats
Posts: 29,803
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:
Worse, if different sub-folder has HTML files have the same name, Sigil will over-write when it flattens into the Text folder If the images are the same: REGEX Search and replace crescent\d+.gif with crescent.gif Then delete the extra (files from the bookbrowser., leaving only crescent.gif Change first, delete second. I use the same image on all chapter headings regularly |
|
Advert | |
|
Tags |
validator error |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub validation Error | fiona86 | ePub | 3 | 06-25-2011 12:57 AM |
epub validation error | drwinn | Workshop | 17 | 03-22-2011 05:10 PM |
epub validation error | sassanik | Sigil | 19 | 12-08-2010 05:46 AM |
ePub validation error | sk19.gupta | Introduce Yourself | 6 | 10-19-2010 10:53 PM |
ePub Validation Error | mrbillb | ePub | 6 | 09-28-2010 02:14 PM |