W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

2002/css-validator/org/w3c/css/css text.properties,1.1,1.2

From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 30 Jul 2007 11:58:25 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IFTtJ-0004fU-N9@lionel-hutz.w3.org>

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

Modified Files:
	text.properties 
Log Message:
The text template file has been change so that is displays more output such as the valid CSS and the title using Velocity

Index: text.properties
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/text.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- text.properties	13 Mar 2002 19:55:01 -0000	1.1
+++ text.properties	30 Jul 2007 11:58:23 -0000	1.2
@@ -1,24 +1,132 @@
-important-style:  \ !important
-not-css1-style: /* BE CAREFUL ! This is not a CSS1 property ! */
-no-error-or-warning: No error or warning found\n
+$W3C_validator_results $file_title
 
-# How to write errors
+#if ( !$no_errors_report )
+    #if ($errors_count == 0)
+$congrats
 
-errors : \
-<!-- #error -->\n
+$doc_validates
+        #if ( !$file_title.trim().startsWith("file://localhost") )
 
-# How to write warnings
+$no_errors_interoperable_msg
 
-warnings: \
-\
-Warnings :\n\
-<!-- #warning -->\n
+<p>
+    <a href="http://jigsaw.w3.org/css-validator/">
+        <img style="border:0;width:88px;height:31px"
+            src="http://jigsaw.w3.org/css-validator/images/vcss"
+            alt="$valid_CSS" />
+    </a>
+</p>
+($no_errors_close_tags_msg)
+$no_errors_dl_local_msg
+$no_errors_create_link_msg
+    http://jigsaw.w3.org/css-validator/validator?uri=$file_title
+or  http://jigsaw.w3.org/css-validator/check/referer ($no_errors_forHTML_only_msg)
+($no_errors_bookmark_msg)
+        #end
+    #else
+        #if ( $hook_html_validator )
 
-document: \
-file : <!-- #file-title --> \n\
-<!-- #no-error-or-warning -->\
-<!-- #errors -->\
-<!-- #warnings -->\
+$hook_html_validator
+        #end
+        #set ( $sf = "" )
+        #set ( $open = false )
+
+$errors_sorry_msg ($errors_count)
+        #if ( $request )
+
+$request
+        #end
+
+#foreach ( $error_content in $errors_content )
+#set ( $err = $error_content.get("Error") )
+#set ( $error_msg = $error_content.get("ErrorMsg") )
+#set ( $context_name = $error_content.get("CtxName") )
+#set ( $context_msg = $error_content.get("CtxMsg") )
+#set ( $class_name = $error_content.get("ClassName") )
+#if ( $error_content.get("link_value_parse_error") )
+    #set ( $before_link = $error_content.get("link_before_parse_error") )
+    #set ( $link_value = $error_content.get("link_value_parse_error") )
+#else
+    #set ( $link_value = false )
+#end
+#if ( !$link_value && $error_content.get("span_value_parse_error") )
+    #set ( $span_value = $error_content.get("span_value_parse_error") )
+#else
+    #set ( $span_value = false )
+#end
+#if  ( $sf != $err.SourceFile )
+    #set ( $sf = $err.SourceFile )
+
+URI : $sf
+
+#set ( $open = true )
+#end
+Line : $err.Line $context_msg
+#if ( $link_value )
+#set ( $link_name = $error_content.get("link_name_parse_error") )
+       ($before_link : $link_name ($link_value))
+#end
+       $error_msg
+#if ( $span_value )
+#set ( $span_class = $error_content.get("span_class_parse_error") )
+       $span_value
+#end
+#end
+
+#end
+#end
+#if ($warnings_count > 0)
+
+$warnings ($warnings_count)
+#set ( $sf = "" )
+#set ( $open = false )
+#foreach ( $warning in $warnings_list )
+#if ( $sf != $warning.SourceFile )
+#set ( $sf = $warning.SourceFile )
+
+URI : $sf
+
+#set ( $open = true )
+#end
+#if ( $warning.Level <= $warning_level )
+Line : $warning.Line - #if ( $warning.Context ) $warning.Context - #end $warning.WarningMessage
+#end
+#end
 
+#end
+
+#if ( $rules_count > 0 )
+
+$valid_CSS_info
+    #if ($style_charset)
+
+@charset "$charset";
+    #end
 
+    #foreach ( $rules in $at_rules_list )
+#if ( $rules.AtRule != "" )
+
+$rules.AtRule
+#if ( !$rules.Empty )
+{
+            #end
+        #end
+        #foreach ( $rule in $rules.StyleRules )
 
+    $rule.Selectors
+    {
+#foreach ( $property in $rule.Properties )
+        $property.PropertyName : $property;
+#end
+    }
+        #end
+        #if ( $rules.AtRule != "" )
+#if ( !$rules.Empty )
+
+}
+            #end
+        #end
+    #end
+#else
+$CSS_not_found
+#end
\ No newline at end of file
Received on Monday, 30 July 2007 11:58:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:58 GMT