2002/css-validator/org/w3c/css/css DocumentParser.java,1.11,1.12

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

Modified Files:
	DocumentParser.java 
Log Message:
restart test with new version of htmlparser

Index: DocumentParser.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/DocumentParser.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- DocumentParser.java	26 Mar 2012 12:11:25 -0000	1.11
+++ DocumentParser.java	16 Nov 2012 18:22:34 -0000	1.12
@@ -55,8 +55,8 @@
             csshandler.parseStyleSheet(ac, reader, htmlURL);
             style = csshandler.getStyleSheet();
         } else if (mediatype.match(MimeType.TEXT_HTML) == MimeType.MATCH_SPECIFIC_SUBTYPE) {
-            TagSoupStyleSheetHandler htmlhandler = new TagSoupStyleSheetHandler(htmlURL, ac);
-            //HTMLParserStyleSheetHandler htmlhandler = new HTMLParserStyleSheetHandler(htmlURL, ac);
+            //TagSoupStyleSheetHandler htmlhandler = new TagSoupStyleSheetHandler(htmlURL, ac);
+            HTMLParserStyleSheetHandler htmlhandler = new HTMLParserStyleSheetHandler(htmlURL, ac);
             htmlhandler.parse(reader);
             style = htmlhandler.getStyleSheet();
             if (style != null) {
@@ -93,8 +93,8 @@
                 style = parser.getStyleSheet();
             } else if (urlLower.endsWith(".html") || urlLower.endsWith(".htm") ||
                     urlLower.endsWith(".shtml") || urlLower.endsWith("/")) {
-                TagSoupStyleSheetHandler handler = new TagSoupStyleSheetHandler(htmlURL, ac);
-                //HTMLParserStyleSheetHandler handler = new HTMLParserStyleSheetHandler(htmlURL, ac);
+                //TagSoupStyleSheetHandler handler = new TagSoupStyleSheetHandler(htmlURL, ac);
+                HTMLParserStyleSheetHandler handler = new HTMLParserStyleSheetHandler(htmlURL, ac);
                 handler.parse(htmlURL);
                 style = handler.getStyleSheet();
                 if (style != null) {
@@ -146,10 +146,10 @@
                 }
 
                 if (contentType.match(MimeType.TEXT_HTML) == MimeType.MATCH_SPECIFIC_SUBTYPE) {
-//                    HTMLParserStyleSheetHandler handler;
-//                    handler = new HTMLParserStyleSheetHandler(htmlURL, ac);
-                    TagSoupStyleSheetHandler handler;
-                    handler = new TagSoupStyleSheetHandler(htmlURL, ac);
+                    HTMLParserStyleSheetHandler handler;
+                    handler = new HTMLParserStyleSheetHandler(htmlURL, ac);
+//                    TagSoupStyleSheetHandler handler;
+//                    handler = new TagSoupStyleSheetHandler(htmlURL, ac);
                     handler.parse(urlString, connection);
                     style = handler.getStyleSheet();
 

Received on Friday, 16 November 2012 18:22:37 UTC