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

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

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

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

Modified Files:
	CssParser.jj 
Log Message:
typo, plus filtered quotes for charset name


Index: CssParser.jj
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- CssParser.jj	13 Feb 2009 21:50:15 -0000	1.53
+++ CssParser.jj	14 Feb 2009 00:12:32 -0000	1.54
@@ -672,7 +672,7 @@
 						     "parser.charsetspecial"));
 		    }
 		}
-		addCharSet(n.image);                    
+		addCharSet(n.image.substring(1, n.image.length()-1));
 	    }
     } catch (Exception e) {
 	String skip = charsetToken +
@@ -734,7 +734,7 @@
 	  ( <S> )* )?
       ( v=<STRING> { 
 	      is_url = false;
-	      nsname = v.image.substring(1, n.image.length() -1);
+	      nsname = v.image.substring(1, v.image.length()-1);
 	  } 
 	  | v=<URL> {
 	      is_url = true;
Received on Saturday, 14 February 2009 00:12:52 GMT

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