2002/css-validator/org/w3c/css/values ATSCColor.java,1.3,1.4 CssAngle.java,1.4,1.5 CssColorCSS1.java,1.6,1.7 CssColorCSS2.java,1.7,1.8 CssColorConstants.java,1.3,1.4 CssDate.java,1.2,1.3 CssExpression.java,1.2,1.3 CssFrequency.java,1.3,1.4 CssFunction.java,1.3,1.4 CssIdent.java,1.3,1.4 CssLength.java,1.3,1.4 CssNumber.java,1.4,1.5 CssOperator.java,1.2,1.3 CssPercentage.java,1.3,1.4 CssResolution.java,1.2,1.3 CssString.java,1.3,1.4 CssTime.java,1.3,1.4 CssURL.java,1.3,1.4 CssValue.java,1.3,1.4

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

Modified Files:
	ATSCColor.java CssAngle.java CssColorCSS1.java 
	CssColorCSS2.java CssColorConstants.java CssDate.java 
	CssExpression.java CssFrequency.java CssFunction.java 
	CssIdent.java CssLength.java CssNumber.java CssOperator.java 
	CssPercentage.java CssResolution.java CssString.java 
	CssTime.java CssURL.java CssValue.java 
Log Message:
Changes from Jean-Guilhem Rouel
Bug fixed: 1174 845 160 766
See
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1174
http://www.w3.org/Bugs/Public/show_bug.cgi?id=845
http://www.w3.org/Bugs/Public/show_bug.cgi?id=160
http://www.w3.org/Bugs/Public/show_bug.cgi?id=766

The handling of selectors has been redone almost entirely.

Also, changelog in files has been removed.



Index: CssResolution.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssResolution.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssResolution.java	8 Aug 2005 13:19:47 -0000	1.2
+++ CssResolution.java	8 Sep 2005 12:24:10 -0000	1.3
@@ -5,31 +5,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.2  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.1  2003/01/03 15:17:13  sijtsche
- * new value for media feature resolution
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.3  1997/08/29 13:10:52  plehegar
- * Updated
- *
- * Revision 1.1  1997/07/11 13:57:58  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;

Index: CssColorCSS2.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssColorCSS2.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- CssColorCSS2.java	1 Sep 2005 11:51:21 -0000	1.7
+++ CssColorCSS2.java	8 Sep 2005 12:24:10 -0000	1.8
@@ -4,56 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.7  2005/09/01 11:51:21  ylafon
- * From Jean-Guilhem Rouel:
- * CSS 2.1 first implementation
- *
- * Revision 1.6  2005/08/29 12:36:47  ylafon
- * refined error message for RGB value checks
- *
- * Revision 1.5  2005/08/26 14:09:50  ylafon
- * All changes made by Jean-Guilhem Rouel:
- *
- * Fix for bugs: 1269, 979, 791, 777, 776, 767, 765, 763, 576, 363
- *
- * Errors in font, the handling of 'transparent', CSS Parser reinits...
- *
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=1269
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=979
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=791
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=777
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=776
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=767
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=765
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=763
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=576
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=363
- *
- * Revision 1.4  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.3  2004/03/30 13:04:30  ylafon
- * Fixed integer and percentage mixed values
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.2  1997/08/20 11:38:07  plehegar
- * Freeze
- *
- * Revision 1.1  1997/07/10 23:42:32  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import java.util.Hashtable;

Index: CssColorCSS1.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssColorCSS1.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CssColorCSS1.java	29 Aug 2005 12:36:47 -0000	1.6
+++ CssColorCSS1.java	8 Sep 2005 12:24:10 -0000	1.7
@@ -4,52 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.6  2005/08/29 12:36:47  ylafon
- * refined error message for RGB value checks
- *
- * Revision 1.5  2005/08/26 14:09:50  ylafon
- * All changes made by Jean-Guilhem Rouel:
- *
- * Fix for bugs: 1269, 979, 791, 777, 776, 767, 765, 763, 576, 363
- *
- * Errors in font, the handling of 'transparent', CSS Parser reinits...
- *
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=1269
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=979
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=791
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=777
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=776
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=767
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=765
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=763
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=576
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=363
- *
- * Revision 1.4  2005/08/08 13:19:46  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.3  2004/03/30 13:04:30  ylafon
- * Fixed integer and percentage mixed values
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.2  1997/08/20 11:38:07  plehegar
- * Freeze
- *
- * Revision 1.1  1997/07/10 23:42:32  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import java.util.Hashtable;

Index: CssURL.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssURL.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssURL.java	8 Aug 2005 13:19:47 -0000	1.3
+++ CssURL.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,28 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.4  1997/08/26 14:27:07  plehegar
- * Updated
- *
- * Revision 1.1  1997/07/11 15:30:09  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import java.net.MalformedURLException;

Index: CssOperator.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssOperator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssOperator.java	8 Apr 2002 21:19:46 -0000	1.2
+++ CssOperator.java	8 Sep 2005 12:24:10 -0000	1.3
@@ -4,24 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 1.4  1997/07/30 13:19:35  plehegar
- * Updated package
- *
- * Revision 1.3  1997/07/23 14:16:48  plehegar
- * Updated
- *
- * Revision 1.2  1997/07/17 16:41:46  plehegar
- * Updated CSSOPERATOR
- *
- * Revision 1.1  1997/07/17 16:29:16  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 /**

Index: CssValue.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssValue.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssValue.java	8 Aug 2005 13:19:47 -0000	1.3
+++ CssValue.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,37 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.2  1997/08/20 11:39:49  plehegar
- * Freeze
- *
- * Revision 2.1  1997/08/08 15:53:07  plehegar
- * Nothing
- *
- * Revision 1.3  1997/07/30 13:19:37  plehegar
- * Updated package
- *
- * Revision 1.2  1997/07/24 00:23:40  plehegar
- * Added equals()
- *
- * Revision 1.1  1997/07/18 20:28:51  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;

Index: CssString.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssString.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssString.java	8 Aug 2005 13:19:47 -0000	1.3
+++ CssString.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,37 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.1  1997/08/08 15:53:06  plehegar
- * Nothing
- *
- * Revision 1.4  1997/07/30 13:19:36  plehegar
- * Updated package
- *
- * Revision 1.3  1997/07/21 22:23:15  plehegar
- * Updated toString()
- *
- * Revision 1.2  1997/07/16 13:58:12  plehegar
- * Minor updates
- *
- * Revision 1.1  1997/07/11 15:30:04  plehegar
- * Initial revision
- *
- */
 
 package org.w3c.css.values;
 

Index: CssColorConstants.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssColorConstants.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssColorConstants.java	1 Sep 2005 11:51:21 -0000	1.3
+++ CssColorConstants.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,25 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/09/01 11:51:21  ylafon
- * From Jean-Guilhem Rouel:
- * CSS 2.1 first implementation
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 1.3  1997/07/30 13:19:32  plehegar
- * Updated package
- *
- * Revision 1.2  1997/07/22 17:48:26  plehegar
- * Bug fix marron
- *
- * Revision 1.1  1997/07/21 22:07:31  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 /**

Index: CssIdent.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssIdent.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssIdent.java	8 Aug 2005 13:19:47 -0000	1.3
+++ CssIdent.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,43 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.2  1997/08/20 11:38:36  plehegar
- * Freeze
- *
- * Revision 2.1  1997/08/08 15:53:04  plehegar
- * Nothing
- *
- * Revision 1.5  1997/07/30 13:19:33  plehegar
- * Updated package
- *
- * Revision 1.4  1997/07/24 00:20:45  plehegar
- * Added equals()
- *
- * Revision 1.3  1997/07/22 12:36:08  plehegar
- * Updated hashCode() Added toLowerCase()
- *
- * Revision 1.2  1997/07/16 15:12:32  plehegar
- * Added hashCode()
- *
- * Revision 1.1  1997/07/16 13:58:34  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;

Index: ATSCColor.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/ATSCColor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ATSCColor.java	8 Aug 2005 13:19:46 -0000	1.3
+++ ATSCColor.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,28 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:46  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.2  1997/08/20 11:38:07  plehegar
- * Freeze
- *
- * Revision 1.1  1997/07/10 23:42:32  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import java.util.Hashtable;

Index: CssFunction.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssFunction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssFunction.java	8 Aug 2005 13:19:47 -0000	1.3
+++ CssFunction.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,34 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.1  1997/08/08 15:53:05  plehegar
- * Nothing
- *
- * Revision 1.3  1997/07/30 13:19:34  plehegar
- * Updated package
- *
- * Revision 1.2  1997/07/23 21:01:29  plehegar
- * Added getLength()
- *
- * Revision 1.1  1997/07/16 13:58:16  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;

Index: CssTime.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssTime.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssTime.java	8 Aug 2005 13:19:47 -0000	1.3
+++ CssTime.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,31 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 1.3  1997/08/29 13:11:08  plehegar
- * Updated
- *
- * Revision 1.2  1997/08/22 17:21:26  plehegar
- * Updated
- *
- * Revision 1.1  1997/08/21 08:29:35  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;

Index: CssNumber.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssNumber.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CssNumber.java	26 Aug 2005 14:09:50 -0000	1.4
+++ CssNumber.java	8 Sep 2005 12:24:10 -0000	1.5
@@ -4,57 +4,10 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.4  2005/08/26 14:09:50  ylafon
- * All changes made by Jean-Guilhem Rouel:
- *
- * Fix for bugs: 1269, 979, 791, 777, 776, 767, 765, 763, 576, 363
- *
- * Errors in font, the handling of 'transparent', CSS Parser reinits...
- *
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=1269
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=979
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=791
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=777
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=776
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=767
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=765
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=763
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=576
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=363
- *
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.1  1997/08/08 15:53:05  plehegar
- * Nothing
- *
- * Revision 1.3  1997/07/30 13:19:34  plehegar
- * Updated package
- *
- * Revision 1.2  1997/07/23 21:01:29  plehegar
- * Added getLength()
- *
- * Revision 1.1  1997/07/16 13:58:16  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;
 import org.w3c.css.util.InvalidParamException;
-import org.w3c.css.util.Util;
 
 /**
  * A CSS float number.
@@ -76,12 +29,12 @@
     /**
      * Create a new CssNumber
      */
-    public CssNumber(ApplContext ac, float value) {
+    public CssNumber(ApplContext ac, float value) {	
 	this.ac = ac;
 	this.value = new Float(value);
     }    
     
-    public CssNumber(float value) {
+    public CssNumber(float value) {	
 	this.value = new Float(value);
     }
 
@@ -91,7 +44,7 @@
      * @param s     the string representation of the frequency.
      * @param frame For errors and warnings reports.
      */  
-    public void set(String s, ApplContext ac) {
+    public void set(String s, ApplContext ac) {		
 	try {
 	    new Integer(s);	    
 	    isInt = true;
@@ -109,6 +62,9 @@
      * Returns the value
      */  
     public Object get() {
+	if(isInt) {
+	    return new Integer(value.intValue());
+	}
 	return value;
     }
 
@@ -213,8 +169,11 @@
     /**
      * Returns a string representation of the object.
      */
-    public String toString() {  
-	return Util.displayFloat(value);
+    public String toString() {
+	if(isInt) {
+	    return value.intValue() + "";
+	}
+	return value.toString();
     }
     
     /**

Index: CssDate.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssDate.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssDate.java	8 Aug 2005 13:19:47 -0000	1.2
+++ CssDate.java	8 Sep 2005 12:24:10 -0000	1.3
@@ -4,34 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.2  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.1  2003/07/30 06:53:44  sijtsche
- * date format dd/mm/yyyy
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 1.3  1997/08/29 13:11:08  plehegar
- * Updated
- *
- * Revision 1.2  1997/08/22 17:21:26  plehegar
- * Updated
- *
- * Revision 1.1  1997/08/21 08:29:35  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;

Index: CssFrequency.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssFrequency.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssFrequency.java	8 Aug 2005 13:19:47 -0000	1.3
+++ CssFrequency.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,34 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 1.3  1997/08/22 18:06:05  plehegar
- * Updated
- *
- * Revision 1.2  1997/08/22 17:21:41  plehegar
- * Updated
- *
- * Revision 1.1  1997/08/21 14:32:57  plehegar
- * Initial revision
- *
- * Revision 1.1  1997/08/21 08:29:35  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;

Index: CssPercentage.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssPercentage.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssPercentage.java	8 Aug 2005 13:19:47 -0000	1.3
+++ CssPercentage.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -4,37 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.2  1997/08/20 11:39:18  plehegar
- * Added equals
- *
- * Revision 2.1  1997/08/08 15:53:06  plehegar
- * Nothing
- *
- * Revision 1.3  1997/07/30 13:19:35  plehegar
- * Updated package
- *
- * Revision 1.2  1997/07/16 15:31:28  plehegar
- * Added documentation
- *
- * Revision 1.1  1997/07/11 13:59:47  plehegar
- * Initial revision
- *
- */
 
 package org.w3c.css.values;
 

Index: CssAngle.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssAngle.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CssAngle.java	26 Aug 2005 14:09:50 -0000	1.4
+++ CssAngle.java	8 Sep 2005 12:24:10 -0000	1.5
@@ -4,46 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.4  2005/08/26 14:09:50  ylafon
- * All changes made by Jean-Guilhem Rouel:
- *
- * Fix for bugs: 1269, 979, 791, 777, 776, 767, 765, 763, 576, 363
- *
- * Errors in font, the handling of 'transparent', CSS Parser reinits...
- *
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=1269
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=979
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=791
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=777
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=776
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=767
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=765
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=763
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=576
- * http://www.w3.org/Bugs/Public/show_bug.cgi?id=363
- *
- * Revision 1.3  2005/08/08 13:19:46  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 1.1  1997/08/29 13:10:38  plehegar
- * Initial revision
- *
- * Revision 1.1  1997/08/21 08:29:35  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;

Index: CssExpression.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssExpression.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssExpression.java	8 Apr 2002 21:19:46 -0000	1.2
+++ CssExpression.java	8 Sep 2005 12:24:10 -0000	1.3
@@ -4,27 +4,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.2  1997/08/20 11:38:22  plehegar
- * Freeze
- *
- * Revision 2.1  1997/08/08 15:53:03  plehegar
- * Nothing
- *
- * Revision 1.8  1997/07/30 13:19:33  plehegar
- * Updated package
- *
- * Revision 1.7  1997/07/18 20:25:36  plehegar
- * Suppress a bug in getNMextValue and setOperator()
- *
- * Revision 1.6  1997/07/17 21:28:49  plehegar
- * new CssExpression, old was very bad
- *
- */
 package org.w3c.css.values;
 
 import java.util.Vector;

Index: CssLength.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssLength.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssLength.java	8 Aug 2005 13:19:47 -0000	1.3
+++ CssLength.java	8 Sep 2005 12:24:10 -0000	1.4
@@ -5,28 +5,6 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.3  2005/08/08 13:19:47  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.2  2002/04/08 21:19:46  plehegar
- * New
- *
- * Revision 2.3  1997/08/29 13:10:52  plehegar
- * Updated
- *
- * Revision 1.1  1997/07/11 13:57:58  plehegar
- * Initial revision
- *
- */
 package org.w3c.css.values;
 
 import org.w3c.css.util.ApplContext;

Received on Thursday, 8 September 2005 12:24:40 UTC