2002/css-validator/org/w3c/css/selectors PseudoFactory.java,1.3,1.4

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

Modified Files:
	PseudoFactory.java 
Log Message:
Changing the "css21" string to "css2.1"

Index: PseudoFactory.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/selectors/PseudoFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- PseudoFactory.java	19 Apr 2006 11:28:06 -0000	1.3
+++ PseudoFactory.java	6 Aug 2007 15:07:07 -0000	1.4
@@ -75,7 +75,7 @@
      * @return the possible pseudo-classes for the profile
      */
     public static String[] getPseudoClass(String profile) {
-	if(profile == null || profile.equals("css2")|| profile.equals("css21")) {
+	if(profile == null || profile.equals("css2")|| profile.equals("css2.1")) {
 	    return PSEUDOCLASS_CONSTANTSCSS2;
 	}
 	if(profile.equals("css1")) {
@@ -99,7 +99,7 @@
      * @return the possible pseudo-elements for the profile
      */
     public static String[] getPseudoElement(String profile) {
-	if(profile == null || profile.equals("css2") || profile.equals("css21")
+	if(profile == null || profile.equals("css2") || profile.equals("css2.1")
 	    || profile.equals("tv")) {
 	    return PSEUDOELEMENT_CONSTANTSCSS2;
 	}
@@ -118,7 +118,7 @@
      * @return the possible pseudo-functions for the profile
      */
     public static String[] getPseudoFunction(String profile) {
-	if(profile == null || profile.equals("css2") || profile.equals("css21") ||
+	if(profile == null || profile.equals("css2") || profile.equals("css2.1") ||
 		profile.equals("mobile") || profile.equals("tv")) {
 	    return PSEUDOFUNCTION_CONSTANTSCSS2;
 	}

Received on Monday, 6 August 2007 15:07:13 UTC