2002/css-validator/org/w3c/css/css CssValidator.java,1.6,1.7 validator.vm,1.2,1.3

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

Modified Files:
	CssValidator.java validator.vm 
Log Message:
Changing back "css2.1" to "css21" so that requested format is valid.
Sorry about that.

Index: validator.vm
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/validator.vm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- validator.vm	6 Aug 2007 13:54:40 -0000	1.2
+++ validator.vm	7 Aug 2007 09:48:44 -0000	1.3
@@ -15,7 +15,7 @@
         <option value="none">$no_special_profile</option>
         <option value="css1">$CSS1</option>
         <option value="css2">$CSS2</option>
-        <option selected="selected" value="css2.1">$CSS2_1</option>
+        <option selected="selected" value="css21">$CSS2_1</option>
         <option value="css3">$CSS3</option>
         <option value="svg">$SVG</option>
         <option value="svgbasic">$SVG_basic</option>

Index: CssValidator.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/CssValidator.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CssValidator.java	6 Aug 2007 13:39:06 -0000	1.6
+++ CssValidator.java	7 Aug 2007 09:48:44 -0000	1.7
@@ -57,7 +57,7 @@
 	 */
     public CssValidator() {	
 	params = new Hashtable();
-	params.put("profile", "css2.1");
+	params.put("profile", "css21");
 	params.put("medium", "all");
 	params.put("output", "text");
 	params.put("lang", "en");
@@ -115,16 +115,16 @@
 	// CSS version to use
 	String profile = (String) style.params.get("profile");
 	if (profile != null && !"none".equals(profile)) {
-	    if ("css1".equals(profile) || "css2".equals(profile) || "css2.1".equals(profile)
+	    if ("css1".equals(profile) || "css2".equals(profile) || "css21".equals(profile)
 	    || "css3".equals(profile) || "svg".equals(profile)
 	    || "svgbasic".equals(profile) || "svgtiny".equals(profile)) {
 		style.ac.setCssVersion(profile);
 	    } else {
 		style.ac.setProfile(profile);
-		style.ac.setCssVersion("css2.1");
+		style.ac.setCssVersion("css21");
 	    }
 	} else {
-	    style.ac.setCssVersion("css2.1");
+	    style.ac.setCssVersion("css21");
 	}
 	
 	// medium to use

Received on Tuesday, 7 August 2007 09:49:03 UTC