2002/css-validator/org/w3c/css/parser/analyzer CssParser.java,1.15,1.16

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

Modified Files:
	CssParser.java 
Log Message:
Patch by Jean-Guilhem Rouel

Better handling of media and properties files
Major reorganization of those properties files



Index: CssParser.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- CssParser.java	8 Aug 2005 13:18:11 -0000	1.15
+++ CssParser.java	23 Aug 2005 16:22:54 -0000	1.16
@@ -15,8 +15,8 @@
 import org.w3c.css.parser.CssError;
 import org.w3c.css.parser.CssParseException;
 import org.w3c.css.parser.CssSelectors;
-import org.w3c.css.properties.CssProperty;
-import org.w3c.css.svgproperties.AtRuleColorProfile;
+import org.w3c.css.properties.css1.CssProperty;
+import org.w3c.css.properties.svg.AtRuleColorProfile;
 import org.w3c.css.util.ApplContext;
 import org.w3c.css.util.InvalidParamException;
 import org.w3c.css.util.Util;
@@ -2671,7 +2671,7 @@
                                                   values, important);
                 // Did the property recognize all values in the expression ?
 
-                if (!values.end() && ac.getMedium() == null) {
+                if (!values.end() && ac.getMedium() == null) {                     
                         addError(new InvalidParamException("unrecognize", "", ac),
                              values);
                 } else {
@@ -2768,7 +2768,7 @@
         ;
       }      
       term(values);
-    }
+    }    
     {if (true) return values;}
     throw new Error("Missing return statement in function");
   }

Received on Tuesday, 23 August 2005 16:25:39 UTC