2002/css-validator/org/w3c/css/css ucn.properties,1.4,1.5

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

Modified Files:
	ucn.properties 
Log Message:
Changing the ucn output so there are more information about the errors

Index: ucn.properties
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/ucn.properties,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ucn.properties	2 Aug 2007 09:18:07 -0000	1.4
+++ ucn.properties	6 Aug 2007 13:52:00 -0000	1.5
@@ -20,6 +20,17 @@
         #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 ( $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 )
 
@@ -30,7 +41,26 @@
                     <line>$err.Line</line>
                     <context name="$context_name">#if ( $context_msg ) $context_msg #end</context>
                     <errortype>$class_name</errortype>
-                    <message>$error_msg</message>
+        #if ( $span_value )
+            #set ( $span_class = $error_content.get("span_class_parse_error") )
+
+                    <errorsubtype>
+                        $span_class
+                    </errorsubtype>
+                    <skippedstring>
+                        $span_value
+                    </skippedstring>
+        #end
+
+                    <message>
+        #if ( $link_value )
+            #set ( $link_name = $error_content.get("link_name_parse_error") )
+
+                        $before_link :  $link_name ($link_value)
+        #end
+
+                        $error_msg
+                    </message>
                 </error>
     #end
 

Received on Monday, 6 August 2007 13:52:04 UTC