Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-03-2013, 04:00 PM   #1
Ref60
Junior Member
Ref60 began at the beginning.
 
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 :
Ref60 is offline   Reply With Quote
Old 02-05-2013, 04:24 AM   #2
Aerys
Connoisseur
Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.
 
Aerys's Avatar
 
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 ":".
Aerys is offline   Reply With Quote
Old 02-05-2013, 11:18 AM   #3
DSpider
Evangelist
DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.
 
DSpider's Avatar
 
Posts: 414
Karma: 326969
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.
DSpider is offline   Reply With Quote
Old 02-05-2013, 01:30 PM   #4
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
-1 may suggest it is up above the <body> statement.
mrmikel is offline   Reply With Quote
Old 02-05-2013, 02:12 PM   #5
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,031
Karma: 4002933
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I expect it is an unwanted linebreak, probably in the XML declaration.
Toxaris is offline   Reply With Quote
Old 02-05-2013, 02:47 PM   #6
_savage
Connoisseur
_savage began at the beginning.
 
Posts: 50
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.
_savage is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 09:18 PM.


MobileRead.com is a privately owned, operated and funded community.