02-03-2013, 04:00 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2013
Device: none
|
Where is line -1 ??
I get the following "WARNINGS" when doing ePubCheck ? I have no idea what this is and can't find any google references on how to fix ??
Will this pass the publishers filters or do I need to figure out how to make these Warnings go away ? Type File Line Position Message WARNING -1 -1 Token ',' not allowed here, expecting : WARNING -1 -1 Token ',' not allowed here, expecting : WARNING -1 -1 Token ',' not allowed here, expecting : WARNING -1 -1 Token ',' not allowed here, expecting : WARNING -1 -1 Token ',' not allowed here, expecting : WARNING -1 -1 The character 'NEWLINE' is not allowed in 'STRING' expressions WARNING -1 -1 Token ',' not allowed here, expecting : WARNING -1 -1 Token ',' not allowed here, expecting : WARNING -1 -1 Token ',' not allowed here, expecting : WARNING -1 -1 Token ',' not allowed here, expecting : |
02-05-2013, 04:24 AM | #2 |
Connoisseur
Posts: 51
Karma: 29994
Join Date: Nov 2011
Location: Manila, Philippines
Device: iPad 2 & Nexus 7
|
Assuming that your publisher follows standards of using epubcheck/flightcrew then they will see the errors.
WARNING -1 -1 Token ',' not allowed here, expecting : This is just a guess since you did not post your CSS or HTML but it seems there is a misdeclaration of using a comma "," instead of a colon ":". |
Advert | |
|
02-05-2013, 11:18 AM | #3 |
Evangelist
Posts: 450
Karma: 343115
Join Date: Nov 2009
Location: Romania
Device: PW2 2014
|
Check it with Sigil. It usually tells you which line(s) have issues and where it needs tweaking.
|
02-05-2013, 01:30 PM | #4 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
-1 may suggest it is up above the <body> statement.
|
02-05-2013, 02:12 PM | #5 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I expect it is an unwanted linebreak, probably in the XML declaration.
|
Advert | |
|
02-05-2013, 02:47 PM | #6 |
Connoisseur
Posts: 53
Karma: 10
Join Date: Jul 2012
Location: Seattle, USA
Device: Nook
|
Also notice "The character 'NEWLINE' is not allowed in 'STRING' expressions" which indicates that maybe a closing quote or double-quote is missing somewhere. The -1 can also mean that it's right at the beginning of the file and the scanner (wrongly) hasn't started counting lines/chars yet, or you have so many lines/chars that the scanner overflowed while counting :-)
Can you tell us more about the .epub archive? Where it came from, how big it is etc? It may help to remove files to narrow down which one causes these warnings. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Command line - HOW? | bookfanmd | Calibre | 19 | 01-12-2013 09:17 AM |
Line breaks on Kindle, no line breaks on 4 PC | Siavahda | Kindle Formats | 0 | 10-20-2012 05:50 AM |
How do I get these to line up? | soparch | Kindle Formats | 6 | 04-08-2011 10:35 AM |
One line more, one line less | Histerius | Kindle Formats | 2 | 03-10-2011 04:29 AM |
I'm in line | Tangabird | Introduce Yourself | 4 | 11-12-2009 08:13 AM |