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

2002/css-validator/org/w3c/css/css StyleSheetParser.java,1.12,1.13

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 21 Feb 2008 01:41:19 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JS0R5-0008MV-8U@lionel-hutz.w3.org>

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

Modified Files:
	StyleSheetParser.java 
Log Message:
fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=5495



Index: StyleSheetParser.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetParser.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- StyleSheetParser.java	13 Sep 2007 09:51:20 -0000	1.12
+++ StyleSheetParser.java	21 Feb 2008 01:41:17 -0000	1.13
@@ -182,7 +182,7 @@
 	}
 	if (kind != null) {
 	    kind = kind.trim().toLowerCase();
-	    if (!kind.equals("stylesheet")) {
+	    if (!kind.equals("stylesheet") && !kind.equals("alternate stylesheet")) {
 		return;
 	    }
 	}
Received on Thursday, 21 February 2008 01:41:36 GMT

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