W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2009

2002/css-validator/org/w3c/css/parser/analyzer CssParser.java,1.53,1.54

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 14 Feb 2009 00:12:47 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LY89H-0007R2-HL@lionel-hutz.w3.org>

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

Modified Files:
	CssParser.java 
Log Message:
generated

Index: CssParser.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.java,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- CssParser.java	13 Feb 2009 21:50:15 -0000	1.53
+++ CssParser.java	14 Feb 2009 00:12:45 -0000	1.54
@@ -518,7 +518,7 @@
                                                      "parser.charsetspecial"));}
                     }
                 }
-                addCharSet(n.image);
+                addCharSet(n.image.substring(1, n.image.length()-1));
     } catch (Exception e) {
         String skip = charsetToken +
             ((space1Token == null) ? "" : space1Token.image) +
@@ -685,7 +685,7 @@
     case STRING:
       v = jj_consume_token(STRING);
               is_url = false;
-              nsname = v.image.substring(1, n.image.length() -1);
+              nsname = v.image.substring(1, v.image.length()-1);
       break;
     case URL:
       v = jj_consume_token(URL);
Received on Saturday, 14 February 2009 00:12:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:08 GMT