W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2008

2002/css-validator/org/w3c/css/parser/analyzer CssParser.jj,1.28,1.29

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 13 Mar 2008 16:07:04 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JZpxQ-0000sI-RX@lionel-hutz.w3.org>

Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer
In directory hutz:/tmp/cvs-serv3324

Modified Files:
	CssParser.jj 
Log Message:
now using generator.dontmixhtml for mixed html in css.


Index: CssParser.jj
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- CssParser.jj	13 Mar 2008 14:24:39 -0000	1.28
+++ CssParser.jj	13 Mar 2008 16:07:02 -0000	1.29
@@ -592,13 +592,13 @@
     try {
 	// used as an error recovery for HTML tags in CSS pages
         ( ( n=<HTMLSTARTTAG> | n=<HTMLENDTAG> ) {
-	    addError ( new ParseException(ac.getMsg().getString("Parse error - Unrecognized")), n.image); } )*
+	    addError ( new ParseException(ac.getMsg().getString("generator.dontmixhtml")), n.image); } )*
 	( charset() )?
 	    ( <S> | ignoreStatement() )*
 	    ( importDeclaration() ( ignoreStatement() ( <S> )* )* )*
 	    afterImportDeclaration()
 	 } catch (TokenMgrError err) {
-	addError (new ParseException(ac.getMsg().getString("Parse error - Unrecognized")), err.getMessage());
+	addError (new ParseException(ac.getMsg().getString("generator.unrecognize")), err.getMessage());
     }
     <EOF>
 }
@@ -660,7 +660,7 @@
 	    }
 	    else {
 		ParseException e = 
-		    new ParseException(ac.getMsg().getString("Parse error - Unrecognized"));
+		    new ParseException(ac.getMsg().getString("generator.unrecognize"));
 		addError(e, ret);
 	    }
 	}
Received on Thursday, 13 March 2008 16:07:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:00 GMT