- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 28 May 2010 17:47:59 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv21238/org/w3c/css/css
Modified Files:
ucn.properties
Log Message:
fixed: if err.Line == -1 do not specify it as it not valid according to the new unicorn schema
Index: ucn.properties
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/ucn.properties,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- ucn.properties 28 May 2010 14:00:47 -0000 1.32
+++ ucn.properties 28 May 2010 17:47:57 -0000 1.33
@@ -5,7 +5,6 @@
<status value="passed"/>
#end
-
#if ($errors_count == 0)
<message type="info">
<title></title>
@@ -34,10 +33,7 @@
</message>
#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") )
@@ -58,9 +54,8 @@
#elseif ($err.SourceFile)
#set ($uri = $err.SourceFileEscaped)
#end
-
<message type="error" #if ($uri)ref="$uri"#end>
- <context line="$!err.Line">$!context_msg</context>
+ <context #if ($err.Line && $err.line > -1)line="$err.Line"#end>$!context_msg</context>
<title>
#if ( $link_value )
#set ( $link_name = $error_content.get("link_name_parse_error") )
@@ -74,7 +69,6 @@
$class_name
</title>
</message>
-
#end
#foreach ($warning in $warnings_list)
Received on Friday, 28 May 2010 17:48:01 UTC