|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2013
Device: none
|
Where is line -1 ??
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 : |
|
|
|
|
|
#2 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 29994
Join Date: Nov 2011
Location: Manila, Philippines
Device: iPad
|
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 ":". |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 298951
Join Date: Nov 2009
Location: Romania
Device: iPod touch 2G (16 GB)
|
Check it with Sigil. It usually tells you which line(s) have issues and where it needs tweaking.
|
|
|
|
|
|
#4 |
|
Book Twiddler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 982
Karma: 1118807
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
-1 may suggest it is up above the <body> statement.
|
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,114
Karma: 958803
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
I expect it is an unwanted linebreak, probably in the XML declaration.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
|
#6 |
|
Enthusiast
![]() Posts: 46
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. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 | Mobi | 0 | 10-20-2012 05:50 AM |
| How do I get these to line up? | soparch | Mobi | 6 | 04-08-2011 10:35 AM |
| One line more, one line less | Histerius | Mobi | 2 | 03-10-2011 04:29 AM |
| I'm in line | Tangabird | Introduce Yourself | 4 | 11-12-2009 08:13 AM |