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 4349 - lexical error exception
Summary: lexical error exception
Status: RESOLVED DUPLICATE of bug 4335
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: PC Linux
: 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: 2007-02-24 09:31 UTC by Paul Arzul
Modified: 2007-02-26 00:01 UTC (History)
0 users

See Also:


Attachments

Description Paul Arzul 2007-02-24 09:31:02 UTC
cannot validate multiple files from command line as validation stops on first exception. should continue and try next file. the file first.css:

p
{
 text-align: left;
<tr></tr>
}

produces the exception:

Exception in thread "main" org.w3c.css.parser.analyzer.TokenMgrError:
Lexical error at line 4, column 6.  Encountered: "/" (47), after : "<"
       at org.w3c.css.parser.analyzer.CssParserTokenManager.getNextToken(CssParserTokenManager.java:4032)
       at org.w3c.css.parser.analyzer.CssParser.getToken(CssParser.java:3759)
       at org.w3c.css.parser.analyzer.CssParser.skipStatement(CssParser.java:3194)
       at org.w3c.css.parser.analyzer.CssParser.ruleSet(CssParser.java:1720)
       at org.w3c.css.parser.analyzer.CssParser.afterImportDeclaration(CssParser.java:489)
       at org.w3c.css.parser.analyzer.CssParser.parserUnit(CssParser.java:411)
       at org.w3c.css.parser.CssFouffa.parseStyle(CssFouffa.java:386)
       at org.w3c.css.css.StyleSheetParser.parseURL(StyleSheetParser.java:226)
       at org.w3c.css.css.HTMLStyleSheetParser.<init>(HTMLStyleSheetParser.java:53)
       at org.w3c.css.css.CssValidator.main(CssValidator.java:146)

which terminates a multi-file command line call:

java -classpath jigsaw.jar:css-validator.jar
org.w3c.css.css.CssValidator file:///tmp/first.css file:///tmp/second.css

(second.css is not validated.)
Comment 1 Olivier Thereaux 2007-02-26 00:01:55 UTC

*** This bug has been marked as a duplicate of bug 4335 ***