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

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 UTC