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 4981 - Question Mark in CSS rules throw exception:javax.servlet.ServletException: Timed out
Summary: Question Mark in CSS rules throw exception:javax.servlet.ServletException: Ti...
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: PC Windows XP
: P1 blocker
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://www.vangoghgallery.com
Whiteboard:
Keywords:
: 5559 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-23 18:53 UTC by George Zheng
Modified: 2008-03-11 14:58 UTC (History)
4 users (show)

See Also:


Attachments
stylesheet with a question mark in rule (16 bytes, text/css)
2008-02-29 16:38 UTC, Olivier Thereaux
Details

Description George Zheng 2007-08-23 18:53:26 UTC
Got ServletException when submit http://www.vangoghgallery.com
Comment 1 David Foster 2007-12-13 21:27:51 UTC
This bug also appears if you try to validate the URL:
http://www.prism.gatech.edu/~gth681y/
Comment 2 Rohit Bhute 2007-12-31 11:03:23 UTC
Same error reported for site http://rvbhute.org 
Comment 3 Steve 2008-02-01 12:32:34 UTC
We beleive that we found at least one direct cause of this using the "height: expression" technique to solve IE bugs min-height issue. Removing this solved the validation problem
Comment 4 Olivier Thereaux 2008-02-29 16:38:52 UTC
Created attachment 522 [details]
stylesheet with a question mark in rule
Comment 5 Olivier Thereaux 2008-02-29 16:43:02 UTC
I reduced the bug to the presence of a question mark in CSS rules, which the CSS grammar does not allow for (only in quoted strings, URIs and other values but not in rules) but unfortunately IE encourages with its proprietary expression syntax.

The question mark seems to confuse the tokenizer...

(test case added here and in the validator's test suite)
Comment 6 Olivier Thereaux 2008-02-29 17:10:42 UTC
Writeup on the issue in the CSS validator list:
http://lists.w3.org/Archives/Public/www-validator-css/2008Feb/0033.html
Comment 7 Yves Lafon 2008-03-11 13:58:06 UTC
fixed on qa-dev:
The issue was in skipStatement, used very often to populate
a CssError, but it was possible for it to fail with a TokenMgrError,
now caught, and single char is read until the tokenizer can find
something. (Note that this workaround might evolve in something else)
Comment 8 Olivier Thereaux 2008-03-11 14:58:05 UTC
*** Bug 5559 has been marked as a duplicate of this bug. ***