W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2009

2002/css-validator/org/w3c/css/css ucn.properties,1.15,1.16

From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 24 Aug 2009 17:28:05 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MfdKv-0000La-GQ@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv1320

Modified Files:
	ucn.properties 
Log Message:
fixing errors


Index: ucn.properties
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/ucn.properties,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ucn.properties	24 Aug 2009 17:14:38 -0000	1.15
+++ ucn.properties	24 Aug 2009 17:28:03 -0000	1.16
@@ -11,10 +11,23 @@
         <errors xml:lang="$lang">
             <errorcount>$errors_count</errorcount>
 #if ( $errors_count > 0 )
-
-            <errorlist>
     #set ( $sf = "" )
+    #set ( $open = false )
     #foreach ( $error_content in $errors_content )
+       #if ( $sf != $err.SourceFile ) 
+            #if ( $open )
+            </errorlist>
+            #end
+            #set ( $sf = $err.SourceFileEscaped )
+            <errorlist>
+            #set ( $open = true )
+            #if ( $fake_input )
+                <uri>$file_title</uri>
+            #else            
+                <uri>$sf</uri>
+            #end
+        #end
+
         #set ( $err = $error_content.get("Error") )
         #set ( $error_msg = $error_content.get("ErrorMsg") )
         #set ( $context_name = $error_content.get("CtxName") )
@@ -31,10 +44,7 @@
         #else
             #set ( $span_value = false )
         #end
-        #if  ( $sf != $err.SourceFile )
-            #set ( $sf = $err.SourceFileEscaped )
-                <uri>$sf</uri>
-        #end
+
                 <error>
                     <line>$err.Line</line>
                     #if ( $context_msg ) <context name="$context_name">$context_msg</context> #end
@@ -53,8 +63,9 @@
                     </message>
                 </error>
     #end
-
+    #if ( $open )
             </errorlist>
+    #end
 #end
 
         </errors>
Received on Monday, 24 August 2009 17:28:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC