nooyoo11 / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
1 stars 0 forks source link

Warning for line -1 and position -1 #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PROBLEM:
Trying to validate an epub file I get this warning.
My warning in full is:-

Type    File    Line    Position    Message
WARNING     -1  -1  Token '}' not allowed here, expecting :

I cant find any '}' anyway in my epub file so unsure how to proceed.  Also I 
cant locate '-1' line

I am running Mountain lion on a Mac.

Any help really appreciated.

Original issue reported on code.google.com by ama...@blackdahlia.co.uk on 31 Jan 2013 at 12:38

GoogleCodeExporter commented 9 years ago
Hi Amanda, 
can you attach a sample that exposes the problem? Thanks!

Original comment by markus.g...@gmail.com on 31 Jan 2013 at 3:15

GoogleCodeExporter commented 9 years ago
Apologies,  I didn't realise quite what your site was and realise that I was 
referring to an error I got while trying to validate my epub file on the idpf 
site which uses epubcheck.  I got this error message:-
Type    File    Line    Position    Message
WARNING     -1  -1  Token '}' not allowed here, expecting :

I realise you may not be able to help with this, but if you could point me in 
the right direction i'd be delighted.

Original comment by ama...@blackdahlia.co.uk on 31 Jan 2013 at 4:49

GoogleCodeExporter commented 9 years ago
Hi Amanda,
sorry, I was unclear. I was wondering if there is any chance you could send me 
the EPUB file (or an excerpt of it) that triggers this error. Without a file, 
it is impossible for me to help, and impossible to fix the issue in EPUBCheck.

(I can tell you however, that it is related to CSS, just in case that helps.)

Original comment by markus.g...@gmail.com on 31 Jan 2013 at 4:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi!

I too have this problem. Books that 4 months ago got through epubcheck without 
a problem now get this error.

Original comment by tomasbri...@gmail.com on 13 Feb 2013 at 10:28

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
WARNING         -1  -1  Token '=' not allowed here, expecting :
I am Also Facing This problem. i am not find the location.

Original comment by computer...@gmail.com on 18 Feb 2013 at 7:11

Attachments:

GoogleCodeExporter commented 9 years ago
This is seems to be the same issue as reported in the mailing list:
https://groups.google.com/d/topic/epubcheck/jKZXoAPgVsY/discussion

The issue was related to the online validator only, and has been fixed now.

Please re-open if the issue persists.

Original comment by rdeltour@gmail.com on 8 Mar 2013 at 10:37

GoogleCodeExporter commented 9 years ago
This is NOT fixed! In the online validator (idpf EPUB validator) I'm getting 
the error Token '=' not allowed here on line 211. Here is the code:
210  /*]]>*/
211  </style>
212 </head>
213
214<body>

Original comment by cmwil...@whenwomenwerewarriors.com on 27 Jan 2014 at 1:50