2002/css-validator/org/w3c/css/css XMLStyleSheetHandler.java,1.22,1.23

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

Modified Files:
	XMLStyleSheetHandler.java 
Log Message:
ignore style rules inside HTML comments when parsing HTML/XHTML content

Index: XMLStyleSheetHandler.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/XMLStyleSheetHandler.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- XMLStyleSheetHandler.java	12 Dec 2006 05:04:14 -0000	1.22
+++ XMLStyleSheetHandler.java	12 Dec 2006 06:00:25 -0000	1.23
@@ -120,7 +120,7 @@
             Warnings warnings = new Warnings();
             warnings.addWarning(w);
             styleSheetParser.notifyWarnings(warnings);
-	    text.append(ch, start, length);
+	    //text.append(ch, start, length); // ignoring, per http://www.w3.org/Bugs/Public/show_bug.cgi?id=761
 	}
     }
 

Received on Tuesday, 12 December 2006 06:00:35 UTC