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

2002/css-validator/org/w3c/css/css ucn.properties,1.12,1.13

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

Modified Files:
	ucn.properties 
Log Message:
*** empty log message ***

Index: ucn.properties
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/ucn.properties,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- ucn.properties	26 Feb 2009 09:21:31 -0000	1.12
+++ ucn.properties	24 Aug 2009 17:05:54 -0000	1.13
@@ -33,8 +33,8 @@
         #end
         #if  ( $sf != $err.SourceFile )
             #set ( $sf = $err.SourceFileEscaped )
-        #end
                 <uri>$sf</uri>
+        #end
                 <error>
                     <line>$err.Line</line>
                     #if ( $context_msg ) <context name="$context_name">$context_msg</context> #end
@@ -63,19 +63,29 @@
         <warnings xml:lang="$lang">
             <warningcount>$warnings_count</warningcount>
 #if ( $warnings_count > 0 )
-
-            <warninglist>
     #set ( $sf = "" )
+    #set ( $open = false )
     #foreach ( $warning in $warnings_list )
+        #if ( $sf != $warning.SourceFile )    
+            #if ( $open )
+            </warninglist>
+            #end
+            #set ( $sf = $warning.SourceFileEscaped )
+            <warninglist>
+            #set ( $open = true )
                 <uri>$file_title</uri>
+        #end
+        #if ( $warning.Level <= $warning_level )
                 <warning>
                     <line>$warning.Line</line>
                     <code_context>#if ( $warning.Context ) $warning.ContextEscaped #end</code_context>
                     <message level="$warning.Level">$warning.WarningMessageEscaped</message>
                 </warning>
+        #end
     #end
-
+    #if ( $open )
             </warninglist>
+    #end
 #end
     
         </warnings>
Received on Monday, 24 August 2009 17:06:06 UTC

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