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

2002/css-validator/org/w3c/css/parser/analyzer CssParser.jj,1.58,1.59

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 16 Feb 2009 17:59:15 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LZ7kR-0000ky-Af@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer
In directory hutz:/tmp/cvs-serv2894/org/w3c/css/parser/analyzer

Modified Files:
	CssParser.jj 
Log Message:
rules with NS removed when the css version does not support NS

Index: CssParser.jj
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- CssParser.jj	16 Feb 2009 17:53:39 -0000	1.58
+++ CssParser.jj	16 Feb 2009 17:59:13 -0000	1.59
@@ -1588,8 +1588,7 @@
 								"namespace",
 							    ac.getCssVersion(),
 								ac)));
-	    //	    addError(new ParseException("namespace"), sb.toString());
-		//		ignoreStatement();
+		removeThisRule();
 	    } else if (n!=null) {
 		prefix = convertIdent(n.image);
 		if (!ac.isNamespaceDefined(getURL(), prefix)) {
Received on Monday, 16 February 2009 17:59:24 GMT

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