This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 787 - Parse Error - [empty string]
Summary: Parse Error - [empty string]
Status: RESOLVED NEEDSINFO
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.0 (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://www2.arnes.si/~sopjsimo/gimp/r...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-06 18:05 UTC by Jernej Simončič
Modified: 2012-09-21 14:06 UTC (History)
4 users (show)

See Also:


Attachments

Description Jernej Simončič 2004-06-06 18:05:21 UTC
The CSS validator returns the following error when parsing <http://www2.arnes.
si/~sopjsimo/gimp/red.css> (doesn't matter if the file is loaded from the URL,  
disk, or entered in the textarea):

,---------
| Errors:
| URI : file://localhost/TextArea
|
|  * Line: 0 
|
|    Parse Error - [empty string]
'---------
Comment 1 Stuart Longland 2004-06-22 08:29:55 UTC
It seems there's problems with the parser from where I sit...

http://jigsaw.w3.org/css-validator/validator?uri=http://stuartl.longlandclan.hopto.org/

    * Line: 0 Context : .pagetitle

      Invalid number : font-sizexx-large is not a font-size value : xx-large
    * Line: 0 Context : .sitetitle

      Invalid number : font-sizex-large is not a font-size value : x-large
    * Line: 0 Context : .navbar

      Invalid number : borderParse Error - [empty string]
    * Line: 0 Context : .navlink

      Invalid number : color#666 is not a color value : #666
    * Line: 0 Context : .navlink

      Invalid number : backgroundToo many values or values are not recognized : #ccc
    * Line: 0 Context : .navlink:hover

      Invalid number : color#ccc is not a color value : #ccc
    * Line: 0 Context : .navlink:hover

      Invalid number : backgroundToo many values or values are not recognized : #333
    * Line: 0 Context : .navitem

      Invalid number : color#666 is not a color value : #666
    * Line: 0 Context : .navitem:hover

      Invalid number : color#ccc is not a color value : #ccc
    * Line: 0 Context : .footer

      Invalid number : font-sizesmall is not a font-size value : small

Now... the "Line 0" looks suspect, to me it looks like its referencing an
undefined variable -- or it's not incrementing the variable properly.

Also, font-size: xx-large is valid CSS... Most of the other errors appear bogus
too.  Can someone please check this?
Comment 2 Yves Lafon 2005-08-26 15:17:10 UTC
Fixed, see http://qa-dev.w3.org:8001/css-validator/
Comment 3 matlock.jen 2011-02-07 02:50:34 UTC
I am getting "Parse Error footer" for my error line when I validate via the webpage; however, when I use the file upload or direct input it is perfect.
Comment 4 Giovanna Petrachi 2011-11-16 11:50:00 UTC
(In reply to comment #2)
> Fixed, see http://qa-dev.w3.org:8001/css-validator/

Today we have the same problem although the fix.
We're  getting 2 errors:
at line 3815 "Parse Error [empty string]" 

at line 0 Parse Error Lexical error at line 1, column 1. Encountered: "" (0), after : "" 
when we validate via the webpage.

However, when we use direct input it is perfect.

The uri is http://www.provincia.le.it/web/provincia

Thanks