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

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 UTC