02-01-2017, 10:19 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2017
Device: none
|
Errors and Warnings when Converting to EPUB
Hello,
I am having difficulty converting a book into EPUB. The book was written in MS Word and saved as htm. When I convert to EPUB and run the file through the EPUB validator at http://validator.idpf.org I get errors messages such as the following: Error while parsing file 'attribute "vlink" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang"'. And: Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename. The file is split into 4 sections. The errors are all identified as being in the same location in each section. In other words, in section _split_000.htm the error is at Location 254 and Position 65. Then in section _split_001.htm the error is in the same Location and Position. I need this file to be free of errors before I send it off for publication. I am not in any way an expert in conversion and could use a little help. Thanks |
02-01-2017, 10:26 PM | #2 |
creator of calibre
Posts: 44,017
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dont save as html, convert the docx directly
|
Advert | |
|
02-02-2017, 06:31 PM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2017
Device: none
|
Thanks for the advice. I converted from the docx and it is better but I'm still getting two error messages for the toc.ncx: Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
Any idea how to fix this? |
02-02-2017, 06:58 PM | #4 |
Resident Curmudgeon
Posts: 74,620
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Use the eBook editor for remove the duplicate entry in the NCX ToC.
|
02-02-2017, 06:59 PM | #5 | |
Well trained by Cats
Posts: 29,973
Karma: 56143930
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The buttons on the right, will offer options. Basically, you are pointing at where the TOC should goto |
|
Advert | |
|
02-02-2017, 07:10 PM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2017
Device: none
|
Sorry if I seem completely incompetent, but what is TOC tool? Is this part of Calibre? Or a different application?
|
02-02-2017, 08:51 PM | #7 | |
null operator (he/him)
Posts: 20,677
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Or use Preference->Toolbars and add the TOC Tool to toolbars. BR |
|
02-02-2017, 09:04 PM | #8 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2017
Device: none
|
Thanks for your help. Everything was red with nothing green but I played a hunch and checked the location for "Start" and saw that it was pointing to the cover. When I changed it and ran it through the validator, it came back with no errors. Such a relief!!!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle eBooks will have PUBLIC Warnings for spelling/formatting errors! | Hitch | News | 201 | 09-06-2016 05:11 PM |
EPUB validates! But what about warnings? | crankypants | ePub | 2 | 12-06-2015 10:25 AM |
Is it wise to ignore epubcheck warnings and/or errors? | Lancelot13 | ePub | 4 | 06-07-2013 11:44 AM |
Kindle Previewer errors and warnings | crutledge | Kindle Formats | 4 | 04-30-2013 07:27 PM |