2002/css-validator/org/w3c/css/css StyleSheetCom.java,1.20,1.21

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

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

Index: StyleSheetCom.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetCom.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- StyleSheetCom.java	6 Aug 2007 13:39:06 -0000	1.20
+++ StyleSheetCom.java	9 Aug 2007 09:29:02 -0000	1.21
@@ -159,7 +159,7 @@
 		    style.defaultmedium = argument;
 		} else if (argument.equals("css1") ||
                           argument.equals("css2") ||
-                          argument.equals("css2.1") ||
+                          argument.equals("css21") ||
                           argument.equals("css3") ||
 			   argument.equals("svg") ||
 			   argument.equals("svgbasic") ||
@@ -185,10 +185,10 @@
 		style.ac.setCssVersion(style.cssversion);
 	    if (style.profile != null) {
 		style.ac.setProfile(style.profile);
-		style.ac.setCssVersion("css2.1");
+		style.ac.setCssVersion("css21");
 	    }
 	    if (style.cssversion == null && style.ac.getCssVersion() == null) {
-		style.ac.setCssVersion("css2.1");
+		style.ac.setCssVersion("css21");
 	    }
 	} catch (Exception e) {
 	    /* System.out.println( "Usage: validator " +

Received on Thursday, 9 August 2007 09:29:09 UTC