2002/css-validator/org/w3c/css/css ucn.properties,1.37,1.38

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

Modified Files:
	ucn.properties 
Log Message:
fixed: display warnings according to level threshold
+ cleaned

Index: ucn.properties
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/ucn.properties,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- ucn.properties	28 May 2010 18:17:39 -0000	1.37
+++ ucn.properties	28 May 2010 19:04:50 -0000	1.38
@@ -5,11 +5,6 @@
 <status value="passed"/>
 #end
 
-<message type="info">
-<title>DEBUG</title>
-<description>$false_input<br/></description>
-</message>
-
 #if ($errors_count == 0)
 <message type="info">
 	<title></title>
@@ -39,31 +34,22 @@
 #end
 
 #foreach ($error_content in $errors_content)
-#set ( $err = $error_content.get("Error") )
-#set ( $error_msg = $error_content.get("ErrorMsg") )
-#set ( $context_msg = $error_content.get("CtxMsg") )
-#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 ( $error_content.get("span_value_parse_error") )
-#set ( $span_value = $error_content.get("span_value_parse_error") )
-#else
-#set ( $span_value = false )
-#end
+#set ($err = $error_content.get("Error"))
+#if ($error_content.get("link_value_parse_error"))
+#set ($link_value = $error_content.get("link_value_parse_error"))
+#else #set ($link_value = false ) #end
+#if ($error_content.get("span_value_parse_error"))
+#set ($span_value = $error_content.get("span_value_parse_error"))
+#else #set ($span_value = false) #end
 
 <message type="error" #if ($err.SourceFileEscaped != $file_title)ref="$err.SourceFileEscaped"#end>
-	<context #if ($err.Line && $err.line > -1)line="$err.Line"#end>$!context_msg</context>
+	<context #if ($err.Line && $err.line > -1)line="$err.Line"#end>$!error_content.get("CtxMsg")</context>
 	<title>
 #if ( $link_value )
-#set ( $link_name = $error_content.get("link_name_parse_error") )
-		$before_link :  $link_name ($link_value)
+		$error_content.get("link_before_parse_error") :  $error_content.get("link_name_parse_error") ($link_value)
 #end
-		$error_msg
+		$error_content.get("ErrorMsg")
 #if ( $span_value )
-#set ( $span_class = $error_content.get("span_class_parse_error") )
 		$span_value
 #end
 	</title>
@@ -71,11 +57,12 @@
 #end
 
 #foreach ($warning in $warnings_list)
-
-<message type="warning" level="$!warning.Level" #if ($warning.SourceFileEscaped != $file_title)ref="$warning.SourceFileEscaped"#end>
+#if ($warning.Level <= $warning_level)
+<message type="warning" level="$warning.Level" #if ($warning.SourceFileEscaped != $file_title)ref="$warning.SourceFileEscaped"#end>
 	<context line="$!warning.Line" >$!warning.Context.Escaped</context>
 	<title>$warning.WarningMessageEscaped</title>
 </message>
 #end
+#end
 
 </observationresponse>
\ No newline at end of file

Received on Friday, 28 May 2010 19:04:53 UTC