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 6297 - ServletException: Timed out crash when encountering string where percentage expected
Summary: ServletException: Timed out crash when encountering string where percentage e...
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: HTML4.01 (show other bugs)
Version: CSS Validator
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-10 14:46 UTC by Olivier Thereaux
Modified: 2009-01-21 20:53 UTC (History)
0 users

See Also:


Attachments
This CSS passes validation (invalid) without crash (19 bytes, text/css)
2008-12-10 14:46 UTC, Olivier Thereaux
Details
this HTML file causes the validator to crash (249 bytes, text/html)
2008-12-10 14:47 UTC, Olivier Thereaux
Details

Description Olivier Thereaux 2008-12-10 14:46:56 UTC
Created attachment 610 [details]
This CSS passes validation (invalid) without crash

See Thread
http://lists.w3.org/Archives/Public/www-validator-css/2008Dec/thread.html#msg2

The CSS validator throws Servlet has thrown exception:javax.servlet.ServletException: Timed out 
when parsing an HTML file with inline style containing malformed percentage value, such as 
<p style="font-size:NaN%;">

Validating a standalone CSS stylesheet with that construct does not cause the crash
Comment 1 Olivier Thereaux 2008-12-10 14:47:21 UTC
Created attachment 611 [details]
this HTML file causes the validator to crash
Comment 2 Olivier Thereaux 2009-01-21 20:53:48 UTC
The development version of the validator seems to handle this better - as in, without crashing.

http://qa-dev.w3.org:8001/css-validator/validator?uri=http%3A%2F%2Fwww.w3.org%2FBugs%2FPublic%2Fattachment.cgi%3Fid%3D611&profile=css21&usermedium=all&warning=1&lang=en