W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2007

2002/css-validator/org/w3c/css/parser/analyzer CssParser.java,1.23,1.24

From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 13 Aug 2007 12:38:22 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IKZC8-0003o3-95@lionel-hutz.w3.org>

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

Modified Files:
	CssParser.java 
Log Message:
Changing the last (2nd) parameter for pseudo-element error message, so CSS 2.1 is displayed instead of css21 or even %s

Index: CssParser.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- CssParser.java	13 Jul 2007 13:32:20 -0000	1.23
+++ CssParser.java	13 Aug 2007 12:38:19 -0000	1.24
@@ -2617,7 +2617,7 @@
 					{
 						if (true)
 							throw new InvalidParamException("pseudo-element",
-									":" + convertIdent(n.image).toLowerCase(), ac.getCssVersion(), ac);
+									convertIdent(n.image).toLowerCase(), ac.getMsg().getString(ac.getCssVersion()), ac);
 					}
 				}
 			} catch (InvalidParamException e) {
Received on Monday, 13 August 2007 12:38:54 GMT

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