2002/css-validator/org/w3c/css/css StyleSheetCom.java,1.10,1.11

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

Modified Files:
	StyleSheetCom.java 
Log Message:
tyop fiedx


Index: StyleSheetCom.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetCom.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- StyleSheetCom.java	29 Aug 2005 12:00:42 -0000	1.10
+++ StyleSheetCom.java	29 Aug 2005 12:03:00 -0000	1.11
@@ -4,49 +4,7 @@
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
-/*
- * $Log$
- * Revision 1.10  2005/08/29 12:00:42  ylafon
- * Use the MimeType class to avoid issues with case and parameters
- *
- * Revision 1.9  2005/08/23 16:22:54  ylafon
- * Patch by Jean-Guilhem Rouel
- *
- * Better handling of media and properties files
- * Major reorganization of those properties files
- *
- * Revision 1.8  2005/08/08 13:18:04  ylafon
- * All those changed made by Jean-Guilhem Rouel:
- *
- * Huge patch, imports fixed (automatic)
- * Bug fixed: 372, 920, 778, 287, 696, 764, 233
- * Partial bug fix for 289
- *
- * Issue with "inherit" in CSS2.
- * The validator now checks the number of values (extraneous values were previously ignored)
- *
- * Revision 1.7  2004/01/10 06:22:24  bjoern
- * Fix for http://www.w3.org/Bugs/Public/show_bug.cgi?id=292
- *
- * Revision 1.6  2003/07/11 13:48:59  sijtsche
- * compile error in useless use of HttpServletResponse fixed
- *
- * Revision 1.5  2003/07/02 14:39:03  plehegar
- * Removed HttpServletResponse import
- *
- * Revision 1.4  2002/08/19 07:33:36  sijtsche
- * TV profile added
- *
- * Revision 1.3  2002/07/22 13:20:38  sijtsche
- * versions CSS3, SVG, SVG basic and SVG tiny added for validation
- *
- * Revision 1.2  2002/04/08 21:16:38  plehegar
- * New
- *
- * Revision 1.1  1998/01/07 13:32:20  plehegar
- * Initial revision
- *
- */
+
 package org.w3c.css.css;
 
 import html.tags.HtmlParser;
@@ -70,6 +28,8 @@
 import org.w3c.css.util.HTTPURL;
 import org.w3c.css.util.Util;
 
+import org.w3c.www.mime.MimeType;
+
 /**
  * @version $Revision$import javax.servlet.http.HttpServletResponse;
  */
@@ -298,11 +258,11 @@
 			MimeType mt = null;
 			try {
 			    mt = new MimeType(urlC.getContentType());
-			} catch (Exception ex);
+			} catch (Exception ex) {};
 			if (MimeType.TEXT_HTML.match(mt) == MimeType.MATCH_SPECIFIC_SUBTYPE) {
 			    style.htmlRequest();
 			} else if ((MimeType.TEXT_XML.match(mt) == MimeType.MATCH_SPECIFIC_SUBTYPE) ||
-				   (MimeType.APPLICATION_XHTML_XML..match(mt) == MimeType.MATCH_SPECIFIC_SUBTYPE)) {
+				   (MimeType.APPLICATION_XHTML_XML.match(mt) == MimeType.MATCH_SPECIFIC_SUBTYPE)) {
 			    style.xmlRequest();
 			} else if (MimeType.TEXT_CSS.match(mt) == MimeType.MATCH_SPECIFIC_SUBTYPE) {
 			    style.cssRequest(selector, style.defaultmedium);

Received on Monday, 29 August 2005 12:03:08 UTC