- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 26 Apr 2006 12:44:17 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/servlet In directory hutz:/tmp/cvs-serv763/org/w3c/css/servlet Modified Files: CssValidator.java Log Message: cmdline version revamped now using org.w3c.css.css.CssValidator http://www.w3.org/Bugs/Public/show_bug.cgi?id=2920 recorrected (now it only applies for CSS2.1) text output is now real text, and not HTML served as text Index: CssValidator.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/servlet/CssValidator.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- CssValidator.java 19 Apr 2006 11:28:06 -0000 1.22 +++ CssValidator.java 26 Apr 2006 12:44:15 -0000 1.23 @@ -269,6 +269,7 @@ // CSS version if (profile != null && !"none".equals(profile)) { if ("css1".equals(profile) || "css2".equals(profile) + || "css21".equals(profile) || "css3".equals(profile) || "svg".equals(profile) || "svgbasic".equals(profile) || "svgtiny".equals(profile)) { ac.setCssVersion(profile); @@ -329,7 +330,7 @@ try { uri = HTTPURL.getURL(uri).toString(); // needed to be sure // that it is a valid - // url + // url HTMLStyleSheetParser URLparser = new HTMLStyleSheetParser(ac, uri); @@ -581,6 +582,8 @@ output = "html"; } else if (soap12.equals(output)) { output = "soap12"; + } else if(textplain.equals(output)) { + output = "text"; } styleSheet.findConflicts(ac);
Received on Wednesday, 26 April 2006 12:44:26 UTC