2002/css-validator/org/w3c/css/selectors AttributeSelector.java,1.2,1.3 PseudoClassSelector.java,1.2,1.3 PseudoFactory.java,1.2,1.3

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

Modified Files:
	AttributeSelector.java PseudoClassSelector.java 
	PseudoFactory.java 
Log Message:
Jean-Gui strikes back!
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2560 -> @media case insensitive
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3037 -> grammar correction
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2920
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2800
http://www.w3.org/Bugs/Public/show_bug.cgi?id=233
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2919
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2446
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3099

output parameter bug fixed:
        accepted values :
            * text/html and html
            * application/xhtml+xml and xhtml
            * application/soap+xml and soap12
            * everything else: text/plain

fixed a bug with SOAP output



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

Index: PseudoClassSelector.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/selectors/PseudoClassSelector.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- PseudoClassSelector.java	14 Sep 2005 15:15:32 -0000	1.2
+++ PseudoClassSelector.java	19 Apr 2006 11:28:06 -0000	1.3
@@ -9,7 +9,7 @@
  * Created: Sep 1, 2005 3:58:43 PM<br />
  */
 public class PseudoClassSelector implements Selector {
-
+    
     String name;
 
     /**

Index: AttributeSelector.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/selectors/AttributeSelector.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- AttributeSelector.java	14 Sep 2005 15:15:32 -0000	1.2
+++ AttributeSelector.java	19 Apr 2006 11:28:06 -0000	1.3
@@ -24,7 +24,7 @@
      * Creates a new attribute selector given its name
      * @param name the name of this attribute
      */
-    public AttributeSelector(String name) {
+    public AttributeSelector(String name) {        
 	this.name = name;
     }
 

Received on Wednesday, 19 April 2006 11:28:21 UTC